cprover
kdev_t.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  inode
 
struct  file
 
struct  data
 

Macros

#define MINORBITS   8
 
#define MAJOR(dev)   ((dev) >> MINORBITS)
 
#define MINOR(dev)   ((dev) % 256)
 
#define NODEV   0
 

Typedefs

typedef unsigned short kdev_t
 
typedef unsigned int mode_t
 
typedef unsigned int loff_t
 

Macro Definition Documentation

◆ MAJOR

#define MAJOR (   dev)    ((dev) >> MINORBITS)

Definition at line 8 of file kdev_t.h.

◆ MINOR

#define MINOR (   dev)    ((dev) % 256)

Definition at line 9 of file kdev_t.h.

◆ MINORBITS

#define MINORBITS   8

Definition at line 4 of file kdev_t.h.

◆ NODEV

#define NODEV   0

Definition at line 10 of file kdev_t.h.

Typedef Documentation

◆ kdev_t

typedef unsigned short kdev_t

Definition at line 6 of file kdev_t.h.

◆ loff_t

typedef unsigned int loff_t

Definition at line 13 of file kdev_t.h.

◆ mode_t

typedef unsigned int mode_t

Definition at line 12 of file kdev_t.h.