/openbmc/linux/fs/dlm/ |
H A 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); 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()
|
H A D | recover.c | 278 struct dlm_rsb *r, *s; in recover_list_clear() 348 struct dlm_rsb *r; in recover_idr_find() 358 struct dlm_rsb *r; in recover_idr_clear() 526 struct dlm_rsb *r; in dlm_recover_masters() 569 struct dlm_rsb *r; in dlm_recover_master_reply() 663 struct dlm_rsb *r; in dlm_recover_locks() 701 void dlm_recovered_lock(struct dlm_rsb *r) in dlm_recovered_lock() 861 struct dlm_rsb *r; in dlm_recover_rsbs() 897 struct dlm_rsb *r; in dlm_create_root_list() 926 struct dlm_rsb *r, *safe; in dlm_release_root_list() [all …]
|
H A D | lock.c | 395 struct dlm_rsb *r; in get_rsb_struct() 444 struct dlm_rsb *r; in dlm_search_rsb_tree() 472 struct dlm_rsb *cur = rb_entry(*newn, struct dlm_rsb, in rsb_insert() 1095 struct dlm_rsb *r; in dlm_dump_rsb_hash() 1134 struct dlm_rsb *r = container_of(kref, struct dlm_rsb, res_ref); in toss_rsb() 1160 struct dlm_rsb *r = container_of(kref, struct dlm_rsb, res_ref); in kill_rsb() 1577 struct dlm_rsb *r; in shrink_bucket() 3111 struct dlm_rsb *r; in request_lock() 3137 struct dlm_rsb *r; in convert_lock() 3159 struct dlm_rsb *r; in unlock_lock() [all …]
|
H A D | memory.c | 46 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()
|
H A 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, 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()
|
H A D | rcom.h | 19 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);
|
H A D | memory.h | 17 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls); 18 void dlm_free_rsb(struct dlm_rsb *r);
|
H A D | debug_fs.c | 53 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() 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() 546 r = rb_entry(node, struct dlm_rsb, res_hashnode); in table_seq_start() 564 struct dlm_rsb *r, *rp; in table_seq_next() 580 r = rb_entry(next, struct dlm_rsb, res_hashnode); in table_seq_next() [all …]
|
H A D | dlm_internal.h | 46 struct dlm_rsb; 232 struct dlm_rsb *lkb_resource; /* the rsb */ 291 struct dlm_rsb { struct 352 static inline void rsb_set_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_set_flag() 357 static inline void rsb_clear_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_clear_flag() 362 static inline int rsb_flag(struct dlm_rsb *r, enum rsb_flags flag) in rsb_flag() 593 struct dlm_rsb ls_local_rsb; /* for returning errors */
|
H A D | dir.h | 15 int dlm_dir_nodeid(struct dlm_rsb *rsb);
|
H A D | recover.h | 25 void dlm_recovered_lock(struct dlm_rsb *r);
|
H A D | lockspace.c | 532 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()
|
H A D | rcom.c | 361 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()
|
/openbmc/linux/include/trace/events/ |
H A D | dlm.h | 110 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;
|