Searched defs:sg_device (Results 1 – 1 of 1) sorted by relevance
173 typedef struct sg_device { /* holds the state of each scsi generic device */ struct174 struct scsi_device *device;175 wait_queue_head_t open_wait; /* queue open() when O_EXCL present */176 struct mutex open_rel_lock; /* held when in open() or release() */177 int sg_tablesize; /* adapter's max scatter-gather table size */178 u32 index; /* device index number */179 struct list_head sfds;180 rwlock_t sfd_lock; /* protect access to sfd list */181 atomic_t detaching; /* 0->device usable, 1->device detaching */182 bool exclude; /* 1->open(O_EXCL) succeeded and is active */[all …]