Home
last modified time | relevance | path

Searched defs:sg_device (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/scsi/ !
Dsg.c162 typedef struct sg_device { /* holds the state of each scsi generic device */ struct
163 struct scsi_device *device;
164 wait_queue_head_t open_wait; /* queue open() when O_EXCL present */
165 struct mutex open_rel_lock; /* held when in open() or release() */
166 int sg_tablesize; /* adapter's max scatter-gather table size */
167 u32 index; /* device index number */
168 struct list_head sfds;
169 rwlock_t sfd_lock; /* protect access to sfd list */
170 atomic_t detaching; /* 0->device usable, 1->device detaching */
171 bool exclude; /* 1->open(O_EXCL) succeeded and is active */
[all …]