Searched refs:dlm_rsb (Results 1 – 14 of 14) sorted by relevance
/linux-5.19.10/fs/dlm/ |
D | recover.c | 250 static void recover_list_add(struct dlm_rsb *r) in recover_list_add() 263 static void recover_list_del(struct dlm_rsb *r) in recover_list_del() 277 struct dlm_rsb *r, *s; in recover_list_clear() 307 static int recover_idr_add(struct dlm_rsb *r) in recover_idr_add() 332 static void recover_idr_del(struct dlm_rsb *r) in recover_idr_del() 345 static struct dlm_rsb *recover_idr_find(struct dlm_ls *ls, uint64_t id) in recover_idr_find() 347 struct dlm_rsb *r; in recover_idr_find() 357 struct dlm_rsb *r; in recover_idr_clear() 413 static void set_master_lkbs(struct dlm_rsb *r) in set_master_lkbs() 427 static void set_new_master(struct dlm_rsb *r) in set_new_master() [all …]
|
D | lock.h | 14 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); 34 struct dlm_rsb **r_ret); 37 void dlm_purge_mstcpy_locks(struct dlm_rsb *r); 66 static inline int is_master(struct dlm_rsb *r) in is_master() 71 static inline void lock_rsb(struct dlm_rsb *r) in lock_rsb() 76 static inline void unlock_rsb(struct dlm_rsb *r) in unlock_rsb()
|
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); 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 …]
|
D | memory.c | 44 rsb_cache = kmem_cache_create("dlm_rsb", sizeof(struct dlm_rsb), in dlm_memory_init() 45 __alignof__(struct dlm_rsb), 0, NULL); in dlm_memory_init() 85 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls) in dlm_allocate_rsb() 87 struct dlm_rsb *r; in dlm_allocate_rsb() 93 void dlm_free_rsb(struct dlm_rsb *r) in dlm_free_rsb()
|
D | dir.c | 45 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, char *name, int len) in find_rsb_root() 201 struct dlm_rsb *r; in find_rsb_root() 239 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()
|
D | rcom.h | 17 int dlm_send_rcom_lookup(struct dlm_rsb *r, int dir_nodeid); 18 int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb);
|
D | memory.h | 17 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls); 18 void dlm_free_rsb(struct dlm_rsb *r);
|
D | debug_fs.c | 52 struct dlm_rsb *res) in print_format1_lock() 74 static void print_format1(struct dlm_rsb *res, struct seq_file *s) in print_format1() 168 struct dlm_rsb *r) in print_format2_lock() 201 static void print_format2(struct dlm_rsb *r, struct seq_file *s) in print_format2() 257 static void print_format3(struct dlm_rsb *r, struct seq_file *s) in print_format3() 333 static void print_format4(struct dlm_rsb *r, struct seq_file *s) in print_format4() 369 struct dlm_rsb *rsb; 427 struct dlm_rsb *r; in table_seq_start() 457 r = rb_entry(node, struct dlm_rsb, res_hashnode); in table_seq_start() 489 r = rb_entry(node, struct dlm_rsb, res_hashnode); in table_seq_start() [all …]
|
D | dlm_internal.h | 46 struct dlm_rsb; 228 struct dlm_rsb *lkb_resource; /* the rsb */ 288 struct dlm_rsb { struct 349 static inline void rsb_set_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_set_flag() 354 static inline void rsb_clear_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_clear_flag() 359 static inline int rsb_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_flag() 597 struct dlm_rsb ls_stub_rsb; /* for returning errors */
|
D | dir.h | 15 int dlm_dir_nodeid(struct dlm_rsb *rsb);
|
D | recover.h | 25 void dlm_recovered_lock(struct dlm_rsb *r);
|
D | lockspace.c | 543 memset(&ls->ls_stub_rsb, 0, sizeof(struct dlm_rsb)); in new_lockspace() 763 struct dlm_rsb *rsb; in release_lockspace() 825 rsb = rb_entry(n, struct dlm_rsb, res_hashnode); in release_lockspace() 831 rsb = rb_entry(n, struct dlm_rsb, res_hashnode); in release_lockspace() 843 rsb = list_first_entry(&ls->ls_new_rsb, struct dlm_rsb, in release_lockspace()
|
D | netlink.c | 93 struct dlm_rsb *r = lkb->lkb_resource; in fill_data()
|
D | rcom.c | 356 int dlm_send_rcom_lookup(struct dlm_rsb *r, int dir_nodeid) in dlm_send_rcom_lookup() 410 static void pack_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, in pack_rcom_lock() 440 int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in dlm_send_rcom_lock()
|