Searched refs:dlm_rsb (Results 1 – 15 of 15) sorted by relevance
/fs/dlm/ |
D | recover.c | 207 static void recover_list_add(struct dlm_rsb *r) in recover_list_add() 220 static void recover_list_del(struct dlm_rsb *r) in recover_list_del() 232 static struct dlm_rsb *recover_list_find(struct dlm_ls *ls, uint64_t id) in recover_list_find() 234 struct dlm_rsb *r = NULL; in recover_list_find() 250 struct dlm_rsb *r, *s; in recover_list_clear() 299 static void set_master_lkbs(struct dlm_rsb *r) in set_master_lkbs() 313 static void set_new_master(struct dlm_rsb *r, int nodeid) in set_new_master() 328 static int recover_master(struct dlm_rsb *r) in recover_master() 357 static int recover_master_static(struct dlm_rsb *r) in recover_master_static() 385 struct dlm_rsb *r; in dlm_recover_masters() [all …]
|
D | lock.h | 16 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); 31 void dlm_purge_mstcpy_locks(struct dlm_rsb *r); 53 static inline int is_master(struct dlm_rsb *r) in is_master() 58 static inline void lock_rsb(struct dlm_rsb *r) in lock_rsb() 63 static inline void unlock_rsb(struct dlm_rsb *r) in unlock_rsb()
|
D | lock.c | 76 static int send_request(struct dlm_rsb *r, struct dlm_lkb *lkb); 77 static int send_convert(struct dlm_rsb *r, struct dlm_lkb *lkb); 78 static int send_unlock(struct dlm_rsb *r, struct dlm_lkb *lkb); 79 static int send_cancel(struct dlm_rsb *r, struct dlm_lkb *lkb); 80 static int send_grant(struct dlm_rsb *r, struct dlm_lkb *lkb); 81 static int send_bast(struct dlm_rsb *r, struct dlm_lkb *lkb, int mode); 82 static int send_lookup(struct dlm_rsb *r, struct dlm_lkb *lkb); 83 static int send_remove(struct dlm_rsb *r); 84 static int _request_lock(struct dlm_rsb *r, struct dlm_lkb *lkb); 85 static int _cancel_lock(struct dlm_rsb *r, struct dlm_lkb *lkb); [all …]
|
D | memory.c | 54 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls, int namelen) in dlm_allocate_rsb() 56 struct dlm_rsb *r; in dlm_allocate_rsb() 64 void dlm_free_rsb(struct dlm_rsb *r) in dlm_free_rsb()
|
D | dlm_internal.h | 53 struct dlm_rsb; 221 struct dlm_rsb *lkb_resource; /* the rsb */ 263 struct dlm_rsb { struct 306 static inline void rsb_set_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_set_flag() argument 311 static inline void rsb_clear_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_clear_flag() 316 static inline int rsb_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_flag() 478 struct dlm_rsb ls_stub_rsb; /* for returning errors */
|
D | debug_fs.c | 51 struct dlm_rsb *res) in print_format1_lock() 73 static int print_format1(struct dlm_rsb *res, struct seq_file *s) in print_format1() 173 struct dlm_rsb *r) in print_format2_lock() 208 static int print_format2(struct dlm_rsb *r, struct seq_file *s) in print_format2() 268 static int print_format3(struct dlm_rsb *r, struct seq_file *s) in print_format3() 347 struct dlm_rsb *rsb; 397 struct dlm_rsb *r; in table_seq_start() 453 struct dlm_rsb, res_hashchain); in table_seq_start() 470 struct dlm_rsb *r, *rp; in table_seq_next() 485 r = list_entry(next, struct dlm_rsb, res_hashchain); in table_seq_next() [all …]
|
D | memory.h | 19 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls, int namelen); 20 void dlm_free_rsb(struct dlm_rsb *r);
|
D | rcom.h | 19 int dlm_send_rcom_lookup(struct dlm_rsb *r, int dir_nodeid); 20 int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb);
|
D | dir.c | 115 int dlm_dir_nodeid(struct dlm_rsb *r) in dlm_dir_nodeid() 352 static struct dlm_rsb *find_rsb_root(struct dlm_ls *ls, char *name, int len) in find_rsb_root() 354 struct dlm_rsb *r; in find_rsb_root() 375 struct dlm_rsb *r; in dlm_copy_master_names() 395 r = list_entry(list, struct dlm_rsb, res_root_list); in dlm_copy_master_names()
|
D | dir.h | 18 int dlm_dir_nodeid(struct dlm_rsb *rsb);
|
D | recover.h | 27 void dlm_recovered_lock(struct dlm_rsb *r);
|
D | lockspace.c | 507 memset(&ls->ls_stub_rsb, 0, sizeof(struct dlm_rsb)); in new_lockspace() 671 struct dlm_rsb *rsb; in release_lockspace() 751 rsb = list_entry(head->next, struct dlm_rsb, in release_lockspace() 760 rsb = list_entry(head->next, struct dlm_rsb, in release_lockspace()
|
D | rcom.c | 263 int dlm_send_rcom_lookup(struct dlm_rsb *r, int dir_nodeid) in dlm_send_rcom_lookup() 308 static void pack_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb, in pack_rcom_lock() 338 int dlm_send_rcom_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in dlm_send_rcom_lock()
|
D | ast.c | 60 struct dlm_rsb *r = NULL; in process_asts()
|
D | netlink.c | 106 struct dlm_rsb *r = lkb->lkb_resource; in fill_data()
|