Lines Matching defs:dlm_lkb
253 struct dlm_lkb { struct
254 struct dlm_rsb *lkb_resource; /* the rsb */
255 struct kref lkb_ref;
256 int lkb_nodeid; /* copied from rsb */
257 int lkb_ownpid; /* pid of lock owner */
258 uint32_t lkb_id; /* our lock ID */
259 uint32_t lkb_remid; /* lock ID on remote partner */
260 uint32_t lkb_exflags; /* external flags from caller */
261 unsigned long lkb_sbflags; /* lksb flags */
262 unsigned long lkb_dflags; /* distributed flags */
263 unsigned long lkb_iflags; /* internal flags */
264 uint32_t lkb_lvbseq; /* lvb sequence number */
266 int8_t lkb_status; /* granted, waiting, convert */
267 int8_t lkb_rqmode; /* requested lock mode */
268 int8_t lkb_grmode; /* granted lock mode */
269 int8_t lkb_highbast; /* highest mode bast sent for */
271 int8_t lkb_wait_type; /* type of reply waiting for */
272 int8_t lkb_wait_count;
273 int lkb_wait_nodeid; /* for debugging */
275 struct list_head lkb_statequeue; /* rsb g/c/w list */
276 struct list_head lkb_rsb_lookup; /* waiting for rsb lookup */
277 struct list_head lkb_wait_reply; /* waiting for remote reply */
278 struct list_head lkb_ownqueue; /* list of locks for a process */
279 ktime_t lkb_timestamp;
281 int8_t lkb_last_cast_cb_mode;
282 int8_t lkb_last_bast_cb_mode;
283 int8_t lkb_last_cb_mode;
284 uint8_t lkb_last_cb_flags;
285 ktime_t lkb_last_cast_time; /* for debugging */
286 ktime_t lkb_last_bast_time; /* for debugging */
288 uint64_t lkb_recover_seq; /* from ls_recover_seq */
290 char *lkb_lvbptr;
291 struct dlm_lksb *lkb_lksb; /* caller's status block */
292 void (*lkb_astfn) (void *astparam);
293 void (*lkb_bastfn) (void *astparam, int mode);
294 union {
298 struct rcu_head rcu;