Home
last modified time | relevance | path

Searched refs:dlm_lkb (Results 1 – 14 of 14) sorted by relevance

/linux/fs/dlm/
H A Dlock.c78 static int send_request(struct dlm_rsb *r, struct dlm_lkb *lkb);
79 static int send_convert(struct dlm_rsb *r, struct dlm_lkb *lkb);
80 static int send_unlock(struct dlm_rsb *r, struct dlm_lkb *lkb);
81 static int send_cancel(struct dlm_rsb *r, struct dlm_lkb *lkb);
82 static int send_grant(struct dlm_rsb *r, struct dlm_lkb *lkb);
83 static int send_bast(struct dlm_rsb *r, struct dlm_lkb *lkb, int mode);
84 static int send_lookup(struct dlm_rsb *r, struct dlm_lkb *lkb);
86 static int _request_lock(struct dlm_rsb *r, struct dlm_lkb *lkb);
87 static int _cancel_lock(struct dlm_rsb *r, struct dlm_lkb *lkb);
88 static void __receive_convert_reply(struct dlm_rsb *r, struct dlm_lkb *lkb,
[all …]
H A Dmemory.c37 lkb_cache = kmem_cache_create("dlm_lkb", sizeof(struct dlm_lkb), in dlm_memory_init()
38 __alignof__(struct dlm_lkb), 0, NULL); in dlm_memory_init()
113 struct dlm_lkb *dlm_allocate_lkb(void) in dlm_allocate_lkb()
120 struct dlm_lkb *lkb = container_of(rcu, struct dlm_lkb, rcu); in __free_lkb_rcu()
134 void dlm_free_lkb(struct dlm_lkb *lkb) in dlm_free_lkb()
H A Dast.h14 bool dlm_may_skip_callback(struct dlm_lkb *lkb, uint32_t flags, int mode,
16 int dlm_get_cb(struct dlm_lkb *lkb, uint32_t flags, int mode,
19 void dlm_add_cb(struct dlm_lkb *lkb, uint32_t flags, int mode, int status,
H A Duser.h9 void dlm_purge_lkb_callbacks(struct dlm_lkb *lkb);
10 void dlm_user_add_ast(struct dlm_lkb *lkb, uint32_t flags, int mode,
H A Dmemory.h19 struct dlm_lkb *dlm_allocate_lkb(void);
20 void dlm_free_lkb(struct dlm_lkb *l);
H A Ddlm_internal.h47 struct dlm_lkb;
253 struct dlm_lkb { struct
608 struct dlm_lkb ls_local_lkb; /* for returning errors */
752 static inline uint32_t dlm_iflags_val(const struct dlm_lkb *lkb) in dlm_iflags_val()
758 static inline uint32_t dlm_dflags_val(const struct dlm_lkb *lkb) in dlm_dflags_val()
775 static inline uint32_t dlm_sbflags_val(const struct dlm_lkb *lkb) in dlm_sbflags_val()
797 static inline void dlm_set_dflags_val(struct dlm_lkb *lkb, uint32_t val) in dlm_set_dflags_val()
803 static inline void dlm_set_sbflags_val(struct dlm_lkb *lkb, uint32_t val) in dlm_set_sbflags_val()
H A Dast.c57 bool dlm_may_skip_callback(struct dlm_lkb *lkb, uint32_t flags, int mode, in dlm_may_skip_callback()
121 int dlm_get_cb(struct dlm_lkb *lkb, uint32_t flags, int mode, in dlm_get_cb()
147 static int dlm_get_queue_cb(struct dlm_lkb *lkb, uint32_t flags, int mode, in dlm_get_queue_cb()
165 void dlm_add_cb(struct dlm_lkb *lkb, uint32_t flags, int mode, int status, in dlm_add_cb()
H A Dlock.h16 void dlm_print_lkb(struct dlm_lkb *lkb);
24 int dlm_put_lkb(struct dlm_lkb *lkb);
H A Drcom.h20 int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, uint64_t seq);
H A Drecover.c407 struct dlm_lkb *lkb; in set_lock_master()
621 struct dlm_lkb *lkb; in recover_locks_queue()
733 struct dlm_lkb *big_lkb = NULL, *iter, *high_lkb = NULL; in recover_lvb()
819 struct dlm_lkb *lkb; in recover_conversion()
H A Dlockspace.c318 static int lkb_idr_free(struct dlm_lkb *lkb) in lkb_idr_free()
337 struct dlm_lkb *lkb; in free_lockspace()
676 struct dlm_lkb *lkb; in lockspace_busy()
H A Drcom.c417 static void pack_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, in pack_rcom_lock()
447 int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, uint64_t seq) in dlm_send_rcom_lock()
H A Duser.c178 void dlm_user_add_ast(struct dlm_lkb *lkb, uint32_t flags, int mode, in dlm_user_add_ast()
/linux/include/trace/events/
H A Ddlm.h95 TP_PROTO(struct dlm_ls *ls, struct dlm_lkb *lkb, const void *name,
137 TP_PROTO(struct dlm_ls *ls, struct dlm_lkb *lkb, const void *name,
257 TP_PROTO(struct dlm_ls *ls, struct dlm_lkb *lkb, __u32 flags),
292 TP_PROTO(struct dlm_ls *ls, struct dlm_lkb *lkb, __u32 flags,