Searched defs:sg_device (Results 1 – 1 of 1) sorted by relevance
157 typedef struct sg_device { /* holds the state of each scsi generic device */ struct158 struct scsi_device *device;159 wait_queue_head_t open_wait; /* queue open() when O_EXCL present */160 struct mutex open_rel_lock; /* held when in open() or release() */161 int sg_tablesize; /* adapter's max scatter-gather table size */162 u32 index; /* device index number */163 struct list_head sfds;164 rwlock_t sfd_lock; /* protect access to sfd list */165 atomic_t detaching; /* 0->device usable, 1->device detaching */166 bool exclude; /* 1->open(O_EXCL) succeeded and is active */[all …]