Lines Matching defs:dlm_lkb

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