Lines Matching defs:dlm_lkb
230 struct dlm_lkb { struct
231 struct dlm_rsb *lkb_resource; /* the rsb */
232 struct kref lkb_ref;
233 int lkb_nodeid; /* copied from rsb */
234 int lkb_ownpid; /* pid of lock owner */
235 uint32_t lkb_id; /* our lock ID */
236 uint32_t lkb_remid; /* lock ID on remote partner */
237 uint32_t lkb_exflags; /* external flags from caller */
238 unsigned long lkb_sbflags; /* lksb flags */
239 unsigned long lkb_dflags; /* distributed flags */
240 unsigned long lkb_iflags; /* internal flags */
241 uint32_t lkb_lvbseq; /* lvb sequence number */
243 int8_t lkb_status; /* granted, waiting, convert */
244 int8_t lkb_rqmode; /* requested lock mode */
245 int8_t lkb_grmode; /* granted lock mode */
246 int8_t lkb_highbast; /* highest mode bast sent for */
248 int8_t lkb_wait_type; /* type of reply waiting for */
249 atomic_t lkb_wait_count;
250 int lkb_wait_nodeid; /* for debugging */
252 struct list_head lkb_statequeue; /* rsb g/c/w list */
253 struct list_head lkb_rsb_lookup; /* waiting for rsb lookup */
254 struct list_head lkb_wait_reply; /* waiting for remote reply */
255 struct list_head lkb_ownqueue; /* list of locks for a process */
256 ktime_t lkb_timestamp;
258 spinlock_t lkb_cb_lock;
259 struct work_struct lkb_cb_work;
260 struct list_head lkb_cb_list; /* for ls_cb_delay or proc->asts */
261 struct list_head lkb_callbacks;
262 struct dlm_callback *lkb_last_cast;
263 struct dlm_callback *lkb_last_cb;
264 int lkb_last_bast_mode;
265 ktime_t lkb_last_cast_time; /* for debugging */
266 ktime_t lkb_last_bast_time; /* for debugging */
268 uint64_t lkb_recover_seq; /* from ls_recover_seq */
270 char *lkb_lvbptr;
271 struct dlm_lksb *lkb_lksb; /* caller's status block */
272 void (*lkb_astfn) (void *astparam);
273 void (*lkb_bastfn) (void *astparam, int mode);
274 union {