Searched defs:sg_fd (Results 1 – 1 of 1) sorted by relevance
151 typedef struct sg_fd { /* holds the state of a file descriptor */ struct152 struct list_head sfd_siblings; /* protected by device's sfd_lock */153 struct sg_device *parentdp; /* owning device */154 wait_queue_head_t read_wait; /* queue read until command done */155 rwlock_t rq_list_lock; /* protect access to list in req_arr */156 int timeout; /* defaults to SG_DEFAULT_TIMEOUT */157 int timeout_user; /* defaults to SG_DEFAULT_TIMEOUT_USER */158 Sg_scatter_hold reserve; /* buffer held for this file descriptor */159 unsigned save_scat_len; /* original length of trunc. scat. element */160 Sg_request *headrp; /* head of request slist, NULL->empty */[all …]