Searched refs:dlm_rsb (Results 1 – 14 of 14) sorted by relevance
/fs/dlm/ |
D | recover.c | 248 static void recover_list_add(struct dlm_rsb *r) in recover_list_add() 261 static void recover_list_del(struct dlm_rsb *r) in recover_list_del() 275 struct dlm_rsb *r, *s; in recover_list_clear() 305 static int recover_idr_add(struct dlm_rsb *r) in recover_idr_add() 330 static void recover_idr_del(struct dlm_rsb *r) in recover_idr_del() 343 static struct dlm_rsb *recover_idr_find(struct dlm_ls *ls, uint64_t id) in recover_idr_find() 345 struct dlm_rsb *r; in recover_idr_find() 355 struct dlm_rsb *r; in recover_idr_clear() 411 static void set_master_lkbs(struct dlm_rsb *r) in set_master_lkbs() 425 static void set_new_master(struct dlm_rsb *r) in set_new_master() [all …]
|
D | lock.h | 16 void dlm_dump_rsb(struct dlm_rsb *r); 23 void dlm_put_rsb(struct dlm_rsb *r); 24 void dlm_hold_rsb(struct dlm_rsb *r); 36 struct dlm_rsb **r_ret); 39 void dlm_purge_mstcpy_locks(struct dlm_rsb *r); 61 static inline int is_master(struct dlm_rsb *r) in is_master() 66 static inline void lock_rsb(struct dlm_rsb *r) in lock_rsb() 71 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 | 29 rsb_cache = kmem_cache_create("dlm_rsb", sizeof(struct dlm_rsb), in dlm_memory_init() 30 __alignof__(struct dlm_rsb), 0, NULL); in dlm_memory_init() 60 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls) in dlm_allocate_rsb() 62 struct dlm_rsb *r; in dlm_allocate_rsb() 68 void dlm_free_rsb(struct dlm_rsb *r) in dlm_free_rsb()
|
D | rcom.h | 19 int dlm_send_rcom_lookup(struct dlm_rsb *r, int dir_nodeid); 20 int dlm_send_rcom_lookup_dump(struct dlm_rsb *r, int to_nodeid); 21 int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb);
|
D | dir.c | 47 int dlm_dir_nodeid(struct dlm_rsb *r) in dlm_dir_nodeid() 54 struct dlm_rsb *r; in dlm_recover_dir_nodeid() 200 static struct dlm_rsb *find_rsb_root(struct dlm_ls *ls, char *name, int len) in find_rsb_root() 202 struct dlm_rsb *r; in find_rsb_root() 240 struct dlm_rsb *r; in dlm_copy_master_names() 260 r = list_entry(list, struct dlm_rsb, res_root_list); in dlm_copy_master_names()
|
D | debug_fs.c | 52 struct dlm_rsb *res) in print_format1_lock() 74 static int print_format1(struct dlm_rsb *res, struct seq_file *s) in print_format1() 174 struct dlm_rsb *r) in print_format2_lock() 209 static int print_format2(struct dlm_rsb *r, struct seq_file *s) in print_format2() 269 static int print_format3(struct dlm_rsb *r, struct seq_file *s) in print_format3() 347 static int print_format4(struct dlm_rsb *r, struct seq_file *s) in print_format4() 387 struct dlm_rsb *rsb; 447 struct dlm_rsb *r; in table_seq_start() 477 r = rb_entry(node, struct dlm_rsb, res_hashnode); in table_seq_start() 509 r = rb_entry(node, struct dlm_rsb, res_hashnode); in table_seq_start() [all …]
|
D | dlm_internal.h | 55 struct dlm_rsb; 227 struct dlm_rsb *lkb_resource; /* the rsb */ 287 struct dlm_rsb { struct 348 static inline void rsb_set_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_set_flag() 353 static inline void rsb_clear_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_clear_flag() 358 static inline int rsb_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_flag() 565 struct dlm_rsb ls_stub_rsb; /* for returning errors */
|
D | memory.h | 19 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls); 20 void dlm_free_rsb(struct dlm_rsb *r);
|
D | lockspace.c | 551 memset(&ls->ls_stub_rsb, 0, sizeof(struct dlm_rsb)); in new_lockspace() 763 struct dlm_rsb *rsb; in release_lockspace() 818 rsb = rb_entry(n, struct dlm_rsb, res_hashnode); in release_lockspace() 824 rsb = rb_entry(n, struct dlm_rsb, res_hashnode); in release_lockspace() 836 rsb = list_first_entry(&ls->ls_new_rsb, struct dlm_rsb, in release_lockspace()
|
D | dir.h | 17 int dlm_dir_nodeid(struct dlm_rsb *rsb);
|
D | rcom.c | 316 int dlm_send_rcom_lookup(struct dlm_rsb *r, int dir_nodeid) in dlm_send_rcom_lookup() 335 int dlm_send_rcom_lookup_dump(struct dlm_rsb *r, int to_nodeid) in dlm_send_rcom_lookup_dump() 387 static void pack_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, in pack_rcom_lock() 417 int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in dlm_send_rcom_lock()
|
D | recover.h | 27 void dlm_recovered_lock(struct dlm_rsb *r);
|
D | netlink.c | 96 struct dlm_rsb *r = lkb->lkb_resource; in fill_data()
|