Home
last modified time | relevance | path

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

/linux-6.6.21/fs/dlm/
Dlock.h14 void dlm_dump_rsb(struct dlm_rsb *r);
21 void dlm_put_rsb(struct dlm_rsb *r);
22 void dlm_hold_rsb(struct dlm_rsb *r);
32 struct dlm_rsb **r_ret);
35 void dlm_purge_mstcpy_locks(struct dlm_rsb *r);
64 static inline int is_master(struct dlm_rsb *r) in is_master()
69 static inline void lock_rsb(struct dlm_rsb *r) in lock_rsb()
74 static inline void unlock_rsb(struct dlm_rsb *r) in unlock_rsb()
Drecover.c251 static void recover_list_add(struct dlm_rsb *r) in recover_list_add()
264 static void recover_list_del(struct dlm_rsb *r) in recover_list_del()
278 struct dlm_rsb *r, *s; in recover_list_clear()
308 static int recover_idr_add(struct dlm_rsb *r) in recover_idr_add()
333 static void recover_idr_del(struct dlm_rsb *r) in recover_idr_del()
346 static struct dlm_rsb *recover_idr_find(struct dlm_ls *ls, uint64_t id) in recover_idr_find()
348 struct dlm_rsb *r; in recover_idr_find()
358 struct dlm_rsb *r; in recover_idr_clear()
414 static void set_master_lkbs(struct dlm_rsb *r) in set_master_lkbs()
428 static void set_new_master(struct dlm_rsb *r) in set_new_master()
[all …]
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);
85 static int send_remove(struct dlm_rsb *r);
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);
[all …]
Dmemory.c46 rsb_cache = kmem_cache_create("dlm_rsb", sizeof(struct dlm_rsb), in dlm_memory_init()
47 __alignof__(struct dlm_rsb), 0, NULL); in dlm_memory_init()
96 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls) in dlm_allocate_rsb()
98 struct dlm_rsb *r; in dlm_allocate_rsb()
104 void dlm_free_rsb(struct dlm_rsb *r) in dlm_free_rsb()
Ddir.c45 int dlm_dir_nodeid(struct dlm_rsb *r) in dlm_dir_nodeid()
52 struct dlm_rsb *r; in dlm_recover_dir_nodeid()
199 static struct dlm_rsb *find_rsb_root(struct dlm_ls *ls, const char *name, in find_rsb_root()
202 struct dlm_rsb *r; in find_rsb_root()
240 struct dlm_rsb *r; in dlm_copy_master_names()
259 r = list_entry(list, struct dlm_rsb, res_root_list); in dlm_copy_master_names()
Drcom.h19 int dlm_send_rcom_lookup(struct dlm_rsb *r, int dir_nodeid, uint64_t seq);
20 int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, uint64_t seq);
Dmemory.h17 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls);
18 void dlm_free_rsb(struct dlm_rsb *r);
Ddebug_fs.c53 struct dlm_rsb *res) in print_format1_lock()
75 static void print_format1(struct dlm_rsb *res, struct seq_file *s) in print_format1()
169 struct dlm_rsb *r) in print_format2_lock()
202 static void print_format2(struct dlm_rsb *r, struct seq_file *s) in print_format2()
258 static void print_format3(struct dlm_rsb *r, struct seq_file *s) in print_format3()
334 static void print_format4(struct dlm_rsb *r, struct seq_file *s) in print_format4()
388 static void print_format5(struct dlm_rsb *r, struct seq_file *s) in print_format5()
416 struct dlm_rsb *rsb;
482 struct dlm_rsb *r; in table_seq_start()
514 r = rb_entry(node, struct dlm_rsb, res_hashnode); in table_seq_start()
[all …]
Ddlm_internal.h46 struct dlm_rsb;
231 struct dlm_rsb *lkb_resource; /* the rsb */
290 struct dlm_rsb { struct
351 static inline void rsb_set_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_set_flag()
356 static inline void rsb_clear_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_clear_flag()
361 static inline int rsb_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_flag()
592 struct dlm_rsb ls_local_rsb; /* for returning errors */
Ddir.h15 int dlm_dir_nodeid(struct dlm_rsb *rsb);
Drecover.h25 void dlm_recovered_lock(struct dlm_rsb *r);
Dlockspace.c532 memset(&ls->ls_local_rsb, 0, sizeof(struct dlm_rsb)); in new_lockspace()
773 struct dlm_rsb *rsb; in release_lockspace()
838 rsb = rb_entry(n, struct dlm_rsb, res_hashnode); in release_lockspace()
844 rsb = rb_entry(n, struct dlm_rsb, res_hashnode); in release_lockspace()
856 rsb = list_first_entry(&ls->ls_new_rsb, struct dlm_rsb, in release_lockspace()
Drcom.c361 int dlm_send_rcom_lookup(struct dlm_rsb *r, int dir_nodeid, uint64_t seq) in dlm_send_rcom_lookup()
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()
/linux-6.6.21/include/trace/events/
Ddlm.h110 struct dlm_rsb *r;
154 struct dlm_rsb *r;
205 struct dlm_rsb *r;
241 struct dlm_rsb *r;
278 struct dlm_rsb *r;
315 struct dlm_rsb *r;