Lines Matching defs:dlm_lkb
239 struct dlm_lkb { struct
240 struct dlm_rsb *lkb_resource; /* the rsb */
241 struct kref lkb_ref;
242 int lkb_nodeid; /* copied from rsb */
243 int lkb_ownpid; /* pid of lock owner */
244 uint32_t lkb_id; /* our lock ID */
245 uint32_t lkb_remid; /* lock ID on remote partner */
246 uint32_t lkb_exflags; /* external flags from caller */
247 uint32_t lkb_sbflags; /* lksb flags */
248 uint32_t lkb_flags; /* internal flags */
249 uint32_t lkb_lvbseq; /* lvb sequence number */
251 int8_t lkb_status; /* granted, waiting, convert */
252 int8_t lkb_rqmode; /* requested lock mode */
253 int8_t lkb_grmode; /* granted lock mode */
254 int8_t lkb_highbast; /* highest mode bast sent for */
256 int8_t lkb_wait_type; /* type of reply waiting for */
257 int8_t lkb_wait_count;
258 int lkb_wait_nodeid; /* for debugging */
260 struct list_head lkb_statequeue; /* rsb g/c/w list */
261 struct list_head lkb_rsb_lookup; /* waiting for rsb lookup */
262 struct list_head lkb_wait_reply; /* waiting for remote reply */
263 struct list_head lkb_ownqueue; /* list of locks for a process */
264 ktime_t lkb_timestamp;
267 struct list_head lkb_time_list;
268 unsigned long lkb_timeout_cs;
271 struct mutex lkb_cb_mutex;
272 struct work_struct lkb_cb_work;
273 struct list_head lkb_cb_list; /* for ls_cb_delay or proc->asts */
274 struct dlm_callback lkb_callbacks[DLM_CALLBACKS_SIZE];
275 struct dlm_callback lkb_last_cast;
276 struct dlm_callback lkb_last_bast;
277 ktime_t lkb_last_cast_time; /* for debugging */
278 ktime_t lkb_last_bast_time; /* for debugging */
280 uint64_t lkb_recover_seq; /* from ls_recover_seq */
282 char *lkb_lvbptr;
283 struct dlm_lksb *lkb_lksb; /* caller's status block */
284 void (*lkb_astfn) (void *astparam);
285 void (*lkb_bastfn) (void *astparam, int mode);
286 union {