Home
last modified time | relevance | path

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

/Linux-v4.19/fs/dlm/
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 …]
Dmemory.c24 lkb_cache = kmem_cache_create("dlm_lkb", sizeof(struct dlm_lkb), in dlm_memory_init()
25 __alignof__(struct dlm_lkb), 0, NULL); in dlm_memory_init()
75 struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls) in dlm_allocate_lkb()
77 struct dlm_lkb *lkb; in dlm_allocate_lkb()
83 void dlm_free_lkb(struct dlm_lkb *lkb) in dlm_free_lkb()
Dast.h16 void dlm_del_ast(struct dlm_lkb *lkb);
17 int dlm_add_lkb_callback(struct dlm_lkb *lkb, uint32_t flags, int mode,
19 int dlm_rem_lkb_callback(struct dlm_ls *ls, struct dlm_lkb *lkb,
21 void dlm_add_cb(struct dlm_lkb *lkb, uint32_t flags, int mode, int status,
Dast.c22 static void dlm_dump_lkb_callbacks(struct dlm_lkb *lkb) in dlm_dump_lkb_callbacks()
53 int dlm_add_lkb_callback(struct dlm_lkb *lkb, uint32_t flags, int mode, in dlm_add_lkb_callback()
114 int dlm_rem_lkb_callback(struct dlm_ls *ls, struct dlm_lkb *lkb, in dlm_rem_lkb_callback()
175 void dlm_add_cb(struct dlm_lkb *lkb, uint32_t flags, int mode, int status, in dlm_add_cb()
217 struct dlm_lkb *lkb = container_of(work, struct dlm_lkb, lkb_cb_work); in dlm_callback_work()
297 struct dlm_lkb *lkb, *safe; in dlm_callback_resume()
Dmemory.h21 struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls);
22 void dlm_free_lkb(struct dlm_lkb *l);
Dlock.h18 void dlm_print_lkb(struct dlm_lkb *lkb);
25 int dlm_put_lkb(struct dlm_lkb *lkb);
Dnetlink.c93 static void fill_data(struct dlm_lock_data *data, struct dlm_lkb *lkb) in fill_data()
116 void dlm_timeout_warn(struct dlm_lkb *lkb) in dlm_timeout_warn()
Ddebug_fs.c51 static void print_format1_lock(struct seq_file *s, struct dlm_lkb *lkb, in print_format1_lock()
76 struct dlm_lkb *lkb; in print_format1()
167 static void print_format2_lock(struct seq_file *s, struct dlm_lkb *lkb, in print_format2_lock()
203 struct dlm_lkb *lkb; in print_format2()
228 static void print_format3_lock(struct seq_file *s, struct dlm_lkb *lkb, in print_format3_lock()
259 struct dlm_lkb *lkb; in print_format3()
704 struct dlm_lkb *lkb; in waiters_read()
Duser.h12 void dlm_user_add_ast(struct dlm_lkb *lkb, uint32_t flags, int mode,
Ddlm_internal.h53 struct dlm_lkb;
233 struct dlm_lkb { struct
573 struct dlm_lkb ls_stub_lkb; /* for returning errors */
719 void dlm_timeout_warn(struct dlm_lkb *lkb);
Drcom.h20 int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb);
Drecover.c405 struct dlm_lkb *lkb; in set_lock_master()
621 struct dlm_lkb *lkb; in recover_locks_queue()
737 struct dlm_lkb *lkb, *high_lkb = NULL; in recover_lvb()
824 struct dlm_lkb *lkb; in recover_conversion()
Duser.c177 void dlm_user_add_ast(struct dlm_lkb *lkb, uint32_t flags, int mode, in dlm_user_add_ast()
782 struct dlm_lkb *lkb; in device_read()
841 lkb = list_entry(proc->asts.next, struct dlm_lkb, lkb_cb_list); in device_read()
Drcom.c375 static void pack_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, in pack_rcom_lock()
405 int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in dlm_send_rcom_lock()
Dlockspace.c727 struct dlm_lkb *lkb = p; in lkb_idr_is_local()
739 struct dlm_lkb *lkb = p; in lkb_idr_free()