Searched defs:sg_fd (Results 1 – 2 of 2) sorted by relevance
140 typedef struct sg_fd { /* holds the state of a file descriptor */ struct141 struct list_head sfd_siblings; /* protected by device's sfd_lock */142 struct sg_device *parentdp; /* owning device */143 wait_queue_head_t read_wait; /* queue read until command done */144 rwlock_t rq_list_lock; /* protect access to list in req_arr */145 struct mutex f_mutex; /* protect against changes in this fd */146 int timeout; /* defaults to SG_DEFAULT_TIMEOUT */147 int timeout_user; /* defaults to SG_DEFAULT_TIMEOUT_USER */148 Sg_scatter_hold reserve; /* buffer held for this file descriptor */149 struct list_head rq_list; /* head of request list */[all …]
135 typedef struct sg_fd { /* holds the state of a file descriptor */ struct136 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 …]