Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/scsi/
Dsg.c135 typedef struct sg_fd { /* holds the state of a file descriptor */ struct
136 struct list_head sfd_siblings; /* protected by device's sfd_lock */
137 struct sg_device *parentdp; /* owning device */
138 wait_queue_head_t read_wait; /* queue read until command done */
139 rwlock_t rq_list_lock; /* protect access to list in req_arr */
140 struct mutex f_mutex; /* protect against changes in this fd */
141 int timeout; /* defaults to SG_DEFAULT_TIMEOUT */
142 int timeout_user; /* defaults to SG_DEFAULT_TIMEOUT_USER */
143 Sg_scatter_hold reserve; /* buffer held for this file descriptor */
144 struct list_head rq_list; /* head of request list */
[all …]