Lines Matching defs:r
171 static void dlm_print_rsb(struct dlm_rsb *r) in dlm_print_rsb()
180 void dlm_dump_rsb(struct dlm_rsb *r) in dlm_dump_rsb()
244 static inline int is_remote(struct dlm_rsb *r) in is_remote()
290 static void queue_cast(struct dlm_rsb *r, struct dlm_lkb *lkb, int rv) in queue_cast()
304 static inline void queue_cast_overlap(struct dlm_rsb *r, struct dlm_lkb *lkb) in queue_cast_overlap()
310 static void queue_bast(struct dlm_rsb *r, struct dlm_lkb *lkb, int rqmode) in queue_bast()
331 static inline void hold_rsb(struct dlm_rsb *r) in hold_rsb()
338 void dlm_hold_rsb(struct dlm_rsb *r) in dlm_hold_rsb()
345 dlm_refcount_dec_and_write_lock_bh(refcount_t *r, rwlock_t *lock) in dlm_refcount_dec_and_write_lock_bh()
373 static void put_rsb(struct dlm_rsb *r) in put_rsb()
384 void dlm_put_rsb(struct dlm_rsb *r) in dlm_put_rsb()
407 struct dlm_rsb *r; in resume_scan_timer() local
419 static void del_scan(struct dlm_ls *ls, struct dlm_rsb *r) in del_scan()
458 static void add_scan(struct dlm_ls *ls, struct dlm_rsb *r) in add_scan()
514 struct dlm_rsb *r; in dlm_rsb_scan() local
601 struct dlm_rsb *r; in get_rsb_struct() local
698 struct dlm_rsb *r = NULL; in find_rsb_dir() local
917 struct dlm_rsb *r = NULL; in find_rsb_nodir() local
1104 static int validate_master_nodeid(struct dlm_ls *ls, struct dlm_rsb *r, in validate_master_nodeid()
1144 static void __dlm_master_lookup(struct dlm_ls *ls, struct dlm_rsb *r, int our_nodeid, in __dlm_master_lookup()
1258 struct dlm_rsb *r = NULL; in _dlm_master_lookup() local
1397 struct dlm_rsb *r; in dlm_dump_rsb_hash() local
1409 struct dlm_rsb *r = NULL; in dlm_dump_rsb_name() local
1424 struct dlm_rsb *r = container_of(kref, struct dlm_rsb, res_ref); in deactivate_rsb() local
1451 void free_inactive_rsb(struct dlm_rsb *r) in free_inactive_rsb()
1470 static void attach_lkb(struct dlm_rsb *r, struct dlm_lkb *lkb) in attach_lkb()
1639 static void add_lkb(struct dlm_rsb *r, struct dlm_lkb *lkb, int status) in add_lkb()
1673 static void del_lkb(struct dlm_rsb *r, struct dlm_lkb *lkb) in del_lkb()
1680 static void move_lkb(struct dlm_rsb *r, struct dlm_lkb *lkb, int sts) in move_lkb()
1886 static void set_lvb_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in set_lvb_lock()
1937 static void set_lvb_unlock(struct dlm_rsb *r, struct dlm_lkb *lkb) in set_lvb_unlock()
1966 static void set_lvb_lock_pc(struct dlm_rsb *r, struct dlm_lkb *lkb, in set_lvb_lock_pc()
1997 static void _remove_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _remove_lock()
2006 static void remove_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in remove_lock()
2012 static void remove_lock_pc(struct dlm_rsb *r, struct dlm_lkb *lkb) in remove_lock_pc()
2021 static int revert_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in revert_lock()
2048 static int revert_lock_pc(struct dlm_rsb *r, struct dlm_lkb *lkb) in revert_lock_pc()
2053 static void _grant_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _grant_lock()
2067 static void grant_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in grant_lock()
2073 static void grant_lock_pc(struct dlm_rsb *r, struct dlm_lkb *lkb, in grant_lock_pc()
2084 static void grant_lock_pending(struct dlm_rsb *r, struct dlm_lkb *lkb) in grant_lock_pending()
2197 static int conversion_deadlock_detect(struct dlm_rsb *r, struct dlm_lkb *lkb2) in conversion_deadlock_detect()
2236 static int _can_be_granted(struct dlm_rsb *r, struct dlm_lkb *lkb, int now, in _can_be_granted()
2382 static int can_be_granted(struct dlm_rsb *r, struct dlm_lkb *lkb, int now, in can_be_granted()
2444 static int grant_pending_convert(struct dlm_rsb *r, int high, int *cw, in grant_pending_convert()
2513 static int grant_pending_wait(struct dlm_rsb *r, int high, int *cw, in grant_pending_wait()
2552 static void grant_pending_locks(struct dlm_rsb *r, unsigned int *count) in grant_pending_locks()
2602 static void send_bast_queue(struct dlm_rsb *r, struct list_head *head, in send_bast_queue()
2618 static void send_blocking_asts(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_blocking_asts()
2623 static void send_blocking_asts_all(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_blocking_asts_all()
2648 static int set_master(struct dlm_rsb *r, struct dlm_lkb *lkb) in set_master()
2695 static void process_lookup_list(struct dlm_rsb *r) in process_lookup_list()
2707 static void confirm_master(struct dlm_rsb *r, int error) in confirm_master()
3032 static int do_request(struct dlm_rsb *r, struct dlm_lkb *lkb) in do_request()
3054 static void do_request_effects(struct dlm_rsb *r, struct dlm_lkb *lkb, in do_request_effects()
3068 static int do_convert(struct dlm_rsb *r, struct dlm_lkb *lkb) in do_convert()
3122 static void do_convert_effects(struct dlm_rsb *r, struct dlm_lkb *lkb, in do_convert_effects()
3140 static int do_unlock(struct dlm_rsb *r, struct dlm_lkb *lkb) in do_unlock()
3147 static void do_unlock_effects(struct dlm_rsb *r, struct dlm_lkb *lkb, in do_unlock_effects()
3155 static int do_cancel(struct dlm_rsb *r, struct dlm_lkb *lkb) in do_cancel()
3167 static void do_cancel_effects(struct dlm_rsb *r, struct dlm_lkb *lkb, in do_cancel_effects()
3181 static int _request_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _request_lock()
3210 static int _convert_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _convert_lock()
3229 static int _unlock_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _unlock_lock()
3248 static int _cancel_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _cancel_lock()
3274 struct dlm_rsb *r; in request_lock() local
3300 struct dlm_rsb *r; in convert_lock() local
3322 struct dlm_rsb *r; in unlock_lock() local
3344 struct dlm_rsb *r; in cancel_lock() local
3524 static int create_message(struct dlm_rsb *r, struct dlm_lkb *lkb, in create_message()
3561 static void send_args(struct dlm_rsb *r, struct dlm_lkb *lkb, in send_args()
3605 static int send_common(struct dlm_rsb *r, struct dlm_lkb *lkb, int mstype) in send_common()
3633 static int send_request(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_request()
3638 static int send_convert(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_convert()
3659 static int send_unlock(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_unlock()
3664 static int send_cancel(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_cancel()
3669 static int send_grant(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_grant()
3690 static int send_bast(struct dlm_rsb *r, struct dlm_lkb *lkb, int mode) in send_bast()
3711 static int send_lookup(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_lookup()
3739 static int send_remove(struct dlm_rsb *r) in send_remove()
3759 static int send_common_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, in send_common_reply()
3781 static int send_request_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, int rv) in send_request_reply()
3786 static int send_convert_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, int rv) in send_convert_reply()
3791 static int send_unlock_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, int rv) in send_unlock_reply()
3796 static int send_cancel_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, int rv) in send_cancel_reply()
3805 struct dlm_rsb *r = &ls->ls_local_rsb; in send_lookup_reply() local
3992 struct dlm_rsb *r; in receive_request() local
4071 struct dlm_rsb *r; in receive_convert() local
4127 struct dlm_rsb *r; in receive_unlock() local
4179 struct dlm_rsb *r; in receive_cancel() local
4215 struct dlm_rsb *r; in receive_grant() local
4246 struct dlm_rsb *r; in receive_bast() local
4294 struct dlm_rsb *r; in receive_remove() local
4395 struct dlm_rsb *r; in receive_request_reply() local
4513 static void __receive_convert_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, in __receive_convert_reply()
4560 struct dlm_rsb *r = lkb->lkb_resource; in _receive_convert_reply() local
4598 struct dlm_rsb *r = lkb->lkb_resource; in _receive_unlock_reply() local
4649 struct dlm_rsb *r = lkb->lkb_resource; in _receive_cancel_reply() local
4702 struct dlm_rsb *r; in receive_lookup_reply() local
5213 struct dlm_rsb *r; in dlm_recover_waiters_post() local
5338 static void purge_mstcpy_list(struct dlm_ls *ls, struct dlm_rsb *r, in purge_mstcpy_list()
5361 void dlm_purge_mstcpy_locks(struct dlm_rsb *r) in dlm_purge_mstcpy_locks()
5370 static void purge_dead_list(struct dlm_ls *ls, struct dlm_rsb *r, in purge_dead_list()
5407 struct dlm_rsb *r; in dlm_recover_purge() local
5446 struct dlm_rsb *r; in find_grant_rsb() local
5483 struct dlm_rsb *r; in dlm_recover_grant() local
5523 static struct dlm_lkb *search_remid(struct dlm_rsb *r, int nodeid, in search_remid()
5542 struct dlm_rsb *r, const struct dlm_rcom *rc) in receive_rcom_lock_args()
5596 struct dlm_rsb *r; in dlm_recover_master_copy() local
5680 struct dlm_rsb *r; in dlm_recover_process_copy() local
6039 struct dlm_rsb *r; in dlm_user_deadlock() local
6297 struct dlm_rsb *r; in dlm_debug_add_lkb() local