Lines Matching defs:dlm_lkb
227 struct dlm_lkb { struct
228 struct dlm_rsb *lkb_resource; /* the rsb */
229 struct kref lkb_ref;
230 int lkb_nodeid; /* copied from rsb */
231 int lkb_ownpid; /* pid of lock owner */
232 uint32_t lkb_id; /* our lock ID */
233 uint32_t lkb_remid; /* lock ID on remote partner */
234 uint32_t lkb_exflags; /* external flags from caller */
235 uint32_t lkb_sbflags; /* lksb flags */
236 uint32_t lkb_flags; /* internal flags */
237 uint32_t lkb_lvbseq; /* lvb sequence number */
239 int8_t lkb_status; /* granted, waiting, convert */
240 int8_t lkb_rqmode; /* requested lock mode */
241 int8_t lkb_grmode; /* granted lock mode */
242 int8_t lkb_highbast; /* highest mode bast sent for */
244 int8_t lkb_wait_type; /* type of reply waiting for */
245 int8_t lkb_wait_count;
246 int lkb_wait_nodeid; /* for debugging */
248 struct list_head lkb_statequeue; /* rsb g/c/w list */
249 struct list_head lkb_rsb_lookup; /* waiting for rsb lookup */
250 struct list_head lkb_wait_reply; /* waiting for remote reply */
251 struct list_head lkb_ownqueue; /* list of locks for a process */
252 struct list_head lkb_time_list;
253 ktime_t lkb_timestamp;
254 ktime_t lkb_wait_time;
255 unsigned long lkb_timeout_cs;
257 struct mutex lkb_cb_mutex;
258 struct work_struct lkb_cb_work;
259 struct list_head lkb_cb_list; /* for ls_cb_delay or proc->asts */
260 struct dlm_callback lkb_callbacks[DLM_CALLBACKS_SIZE];
261 struct dlm_callback lkb_last_cast;
262 struct dlm_callback lkb_last_bast;
263 ktime_t lkb_last_cast_time; /* for debugging */
264 ktime_t lkb_last_bast_time; /* for debugging */
266 char *lkb_lvbptr;
267 struct dlm_lksb *lkb_lksb; /* caller's status block */
268 void (*lkb_astfn) (void *astparam);
269 void (*lkb_bastfn) (void *astparam, int mode);
270 union {