Changeset View
Changeset View
Standalone View
Standalone View
sys/geom/geom_disk.h
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Lines | struct disk { | ||||
uint16_t d_rotation_rate; | uint16_t d_rotation_rate; | ||||
char d_attachment[DISK_IDENT_SIZE]; | char d_attachment[DISK_IDENT_SIZE]; | ||||
/* Fields private to the driver */ | /* Fields private to the driver */ | ||||
void *d_drv1; | void *d_drv1; | ||||
/* Fields private to geom_disk, to be moved on next version bump */ | /* Fields private to geom_disk, to be moved on next version bump */ | ||||
LIST_HEAD(,disk_alias) d_aliases; | LIST_HEAD(,disk_alias) d_aliases; | ||||
void *d_event; | struct g_event *d_event; | ||||
}; | }; | ||||
#define DISKFLAG_RESERVED 0x0001 /* Was NEEDSGIANT */ | #define DISKFLAG_RESERVED 0x0001 /* Was NEEDSGIANT */ | ||||
#define DISKFLAG_OPEN 0x0002 | #define DISKFLAG_OPEN 0x0002 | ||||
#define DISKFLAG_CANDELETE 0x0004 | #define DISKFLAG_CANDELETE 0x0004 | ||||
#define DISKFLAG_CANFLUSHCACHE 0x0008 | #define DISKFLAG_CANFLUSHCACHE 0x0008 | ||||
#define DISKFLAG_UNMAPPED_BIO 0x0010 | #define DISKFLAG_UNMAPPED_BIO 0x0010 | ||||
#define DISKFLAG_DIRECT_COMPLETION 0x0020 | #define DISKFLAG_DIRECT_COMPLETION 0x0020 | ||||
Show All 24 Lines |