Searched defs:sg_fd (Results 1 – 1 of 1) sorted by relevance
142 struct sg_device *parentdp; /* owning device */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 */149 struct list_head rq_list; /* head of request list */153 char cmd_q; /* 1 -> allow command queuing, 0 -> don't */156 char mmap_called; /* 0 -> mmap() never called on this fd */157 char res_in_use; /* 1 -> 'reserve' array in use */158 struct kref f_ref;[all …]