/linux-6.6.21/fs/dlm/ |
D | lock.c | 78 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 …]
|
D | memory.c | 37 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() 111 struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls) in dlm_allocate_lkb() 113 struct dlm_lkb *lkb; in dlm_allocate_lkb() 119 void dlm_free_lkb(struct dlm_lkb *lkb) in dlm_free_lkb()
|
D | ast.h | 17 int dlm_enqueue_lkb_callback(struct dlm_lkb *lkb, uint32_t flags, int mode, 22 int dlm_dequeue_lkb_callback(struct dlm_lkb *lkb, struct dlm_callback **cb); 23 void dlm_add_cb(struct dlm_lkb *lkb, uint32_t flags, int mode, int status,
|
D | ast.c | 39 int dlm_enqueue_lkb_callback(struct dlm_lkb *lkb, uint32_t flags, int mode, in dlm_enqueue_lkb_callback() 103 int dlm_dequeue_lkb_callback(struct dlm_lkb *lkb, struct dlm_callback **cb) in dlm_dequeue_lkb_callback() 119 void dlm_add_cb(struct dlm_lkb *lkb, uint32_t flags, int mode, int status, in dlm_add_cb() 158 struct dlm_lkb *lkb = container_of(work, struct dlm_lkb, lkb_cb_work); in dlm_callback_work() 240 struct dlm_lkb *lkb, *safe; in dlm_callback_resume()
|
D | user.h | 9 void dlm_purge_lkb_callbacks(struct dlm_lkb *lkb); 10 void dlm_user_add_ast(struct dlm_lkb *lkb, uint32_t flags, int mode,
|
D | dlm_internal.h | 45 struct dlm_lkb; 230 struct dlm_lkb { struct 593 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()
|
D | memory.h | 19 struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls); 20 void dlm_free_lkb(struct dlm_lkb *l);
|
D | lock.h | 16 void dlm_print_lkb(struct dlm_lkb *lkb); 23 int dlm_put_lkb(struct dlm_lkb *lkb);
|
D | debug_fs.c | 52 static void print_format1_lock(struct seq_file *s, struct dlm_lkb *lkb, in print_format1_lock() 77 struct dlm_lkb *lkb; in print_format1() 168 static void print_format2_lock(struct seq_file *s, struct dlm_lkb *lkb, in print_format2_lock() 204 struct dlm_lkb *lkb; in print_format2() 229 static void print_format3_lock(struct seq_file *s, struct dlm_lkb *lkb, in print_format3_lock() 260 struct dlm_lkb *lkb; in print_format3() 369 static void print_format5_lock(struct seq_file *s, struct dlm_lkb *lkb) in print_format5_lock() 390 struct dlm_lkb *lkb; in print_format5() 822 struct dlm_lkb *lkb; in waiters_read()
|
D | rcom.h | 20 int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, uint64_t seq);
|
D | recover.c | 404 struct dlm_lkb *lkb; in set_lock_master() 621 struct dlm_lkb *lkb; in recover_locks_queue() 737 struct dlm_lkb *big_lkb = NULL, *iter, *high_lkb = NULL; in recover_lvb() 823 struct dlm_lkb *lkb; in recover_conversion()
|
D | user.c | 149 void dlm_purge_lkb_callbacks(struct dlm_lkb *lkb) in dlm_purge_lkb_callbacks() 196 void dlm_user_add_ast(struct dlm_lkb *lkb, uint32_t flags, int mode, in dlm_user_add_ast() 806 struct dlm_lkb *lkb; in device_read() 865 lkb = list_first_entry(&proc->asts, struct dlm_lkb, lkb_cb_list); in device_read()
|
D | rcom.c | 418 static void pack_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, in pack_rcom_lock() 448 int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, uint64_t seq) in dlm_send_rcom_lock()
|
D | lockspace.c | 730 struct dlm_lkb *lkb = p; in lkb_idr_is_local() 742 struct dlm_lkb *lkb = p; in lkb_idr_free()
|
/linux-6.6.21/include/trace/events/ |
D | dlm.h | 95 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, 192 TP_PROTO(struct dlm_ls *ls, struct dlm_lkb *lkb, int mode), 227 TP_PROTO(struct dlm_ls *ls, struct dlm_lkb *lkb), 265 TP_PROTO(struct dlm_ls *ls, struct dlm_lkb *lkb, __u32 flags), 300 TP_PROTO(struct dlm_ls *ls, struct dlm_lkb *lkb, __u32 flags,
|