cprover
Loading...
Searching...
No Matches
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)
#define MINOR(dev)
#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)
Value:
((dev) >> MINORBITS)
#define MINORBITS
Definition kdev_t.h:4

Definition at line 8 of file kdev_t.h.

◆ MINOR

#define MINOR ( dev)
Value:
((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.