Lines Matching defs:r
168 static void dlm_print_rsb(struct dlm_rsb *r) in dlm_print_rsb()
175 void dlm_dump_rsb(struct dlm_rsb *r) in dlm_dump_rsb()
239 static inline int is_remote(struct dlm_rsb *r) in is_remote()
286 static void queue_cast(struct dlm_rsb *r, struct dlm_lkb *lkb, int rv) in queue_cast()
313 static inline void queue_cast_overlap(struct dlm_rsb *r, struct dlm_lkb *lkb) in queue_cast_overlap()
319 static void queue_bast(struct dlm_rsb *r, struct dlm_lkb *lkb, int rqmode) in queue_bast()
335 struct dlm_rsb *r; in create_rsb() local
359 struct dlm_rsb *r; in search_rsb_list() local
379 struct dlm_rsb *r; in _search_rsb() local
438 struct dlm_rsb *r, *tmp; in find_rsb() local
500 static inline void hold_rsb(struct dlm_rsb *r) in hold_rsb()
505 void dlm_hold_rsb(struct dlm_rsb *r) in dlm_hold_rsb()
512 struct dlm_rsb *r = container_of(kref, struct dlm_rsb, res_ref); in toss_rsb() local
528 static void put_rsb(struct dlm_rsb *r) in put_rsb()
538 void dlm_put_rsb(struct dlm_rsb *r) in dlm_put_rsb()
545 static void unhold_rsb(struct dlm_rsb *r) in unhold_rsb()
554 struct dlm_rsb *r = container_of(kref, struct dlm_rsb, res_ref); in kill_rsb() local
570 static void attach_lkb(struct dlm_rsb *r, struct dlm_lkb *lkb) in attach_lkb()
741 static void add_lkb(struct dlm_rsb *r, struct dlm_lkb *lkb, int status) in add_lkb()
775 static void del_lkb(struct dlm_rsb *r, struct dlm_lkb *lkb) in del_lkb()
782 static void move_lkb(struct dlm_rsb *r, struct dlm_lkb *lkb, int sts) in move_lkb()
945 static void dir_remove(struct dlm_rsb *r) in dir_remove()
965 struct dlm_rsb *r; in shrink_bucket() local
1058 struct dlm_rsb *r; in dlm_scan_timeout() local
1137 static void set_lvb_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in set_lvb_lock()
1188 static void set_lvb_unlock(struct dlm_rsb *r, struct dlm_lkb *lkb) in set_lvb_unlock()
1217 static void set_lvb_lock_pc(struct dlm_rsb *r, struct dlm_lkb *lkb, in set_lvb_lock_pc()
1248 static void _remove_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _remove_lock()
1257 static void remove_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in remove_lock()
1263 static void remove_lock_pc(struct dlm_rsb *r, struct dlm_lkb *lkb) in remove_lock_pc()
1272 static int revert_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in revert_lock()
1299 static int revert_lock_pc(struct dlm_rsb *r, struct dlm_lkb *lkb) in revert_lock_pc()
1304 static void _grant_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _grant_lock()
1317 static void grant_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in grant_lock()
1324 static void grant_lock_pc(struct dlm_rsb *r, struct dlm_lkb *lkb, in grant_lock_pc()
1335 static void grant_lock_pending(struct dlm_rsb *r, struct dlm_lkb *lkb) in grant_lock_pending()
1454 static int conversion_deadlock_detect(struct dlm_rsb *r, struct dlm_lkb *lkb2) in conversion_deadlock_detect()
1490 static int _can_be_granted(struct dlm_rsb *r, struct dlm_lkb *lkb, int now) in _can_be_granted()
1606 static int can_be_granted(struct dlm_rsb *r, struct dlm_lkb *lkb, int now, in can_be_granted()
1677 static int grant_pending_convert(struct dlm_rsb *r, int high, int *cw) in grant_pending_convert()
1729 static int grant_pending_wait(struct dlm_rsb *r, int high, int *cw) in grant_pending_wait()
1765 static void grant_pending_locks(struct dlm_rsb *r) in grant_pending_locks()
1811 static void send_bast_queue(struct dlm_rsb *r, struct list_head *head, in send_bast_queue()
1824 static void send_blocking_asts(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_blocking_asts()
1829 static void send_blocking_asts_all(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_blocking_asts_all()
1854 static int set_master(struct dlm_rsb *r, struct dlm_lkb *lkb) in set_master()
1920 static void process_lookup_list(struct dlm_rsb *r) in process_lookup_list()
1933 static void confirm_master(struct dlm_rsb *r, int error) in confirm_master()
2226 static int do_request(struct dlm_rsb *r, struct dlm_lkb *lkb) in do_request()
2253 static int do_convert(struct dlm_rsb *r, struct dlm_lkb *lkb) in do_convert()
2317 static int do_unlock(struct dlm_rsb *r, struct dlm_lkb *lkb) in do_unlock()
2327 static int do_cancel(struct dlm_rsb *r, struct dlm_lkb *lkb) in do_cancel()
2347 static int _request_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _request_lock()
2372 static int _convert_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _convert_lock()
2387 static int _unlock_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _unlock_lock()
2402 static int _cancel_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _cancel_lock()
2423 struct dlm_rsb *r; in request_lock() local
2451 struct dlm_rsb *r; in convert_lock() local
2473 struct dlm_rsb *r; in unlock_lock() local
2495 struct dlm_rsb *r; in cancel_lock() local
2669 static int create_message(struct dlm_rsb *r, struct dlm_lkb *lkb, in create_message()
2706 static void send_args(struct dlm_rsb *r, struct dlm_lkb *lkb, in send_args()
2750 static int send_common(struct dlm_rsb *r, struct dlm_lkb *lkb, int mstype) in send_common()
2778 static int send_request(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_request()
2783 static int send_convert(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_convert()
2805 static int send_unlock(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_unlock()
2810 static int send_cancel(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_cancel()
2815 static int send_grant(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_grant()
2836 static int send_bast(struct dlm_rsb *r, struct dlm_lkb *lkb, int mode) in send_bast()
2857 static int send_lookup(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_lookup()
2885 static int send_remove(struct dlm_rsb *r) in send_remove()
2905 static int send_common_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, in send_common_reply()
2927 static int send_request_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, int rv) in send_request_reply()
2932 static int send_convert_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, int rv) in send_convert_reply()
2937 static int send_unlock_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, int rv) in send_unlock_reply()
2942 static int send_cancel_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, int rv) in send_cancel_reply()
2950 struct dlm_rsb *r = &ls->ls_stub_rsb; in send_lookup_reply() local
3122 struct dlm_rsb *r; in receive_request() local
3168 struct dlm_rsb *r; in receive_convert() local
3208 struct dlm_rsb *r; in receive_unlock() local
3246 struct dlm_rsb *r; in receive_cancel() local
3280 struct dlm_rsb *r; in receive_grant() local
3313 struct dlm_rsb *r; in receive_bast() local
3394 struct dlm_rsb *r; in receive_request_reply() local
3495 static void __receive_convert_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, in __receive_convert_reply()
3538 struct dlm_rsb *r = lkb->lkb_resource; in _receive_convert_reply() local
3577 struct dlm_rsb *r = lkb->lkb_resource; in _receive_unlock_reply() local
3629 struct dlm_rsb *r = lkb->lkb_resource; in _receive_cancel_reply() local
3682 struct dlm_rsb *r; in receive_lookup_reply() local
4071 struct dlm_rsb *r; in dlm_recover_waiters_post() local
4158 static void purge_queue(struct dlm_rsb *r, struct list_head *queue, in purge_queue()
4185 static void purge_dead_locks(struct dlm_rsb *r) in purge_dead_locks()
4192 void dlm_purge_mstcpy_locks(struct dlm_rsb *r) in dlm_purge_mstcpy_locks()
4203 struct dlm_rsb *r; in dlm_purge_locks() local
4225 struct dlm_rsb *r, *r_ret = NULL; in find_purged_rsb() local
4242 struct dlm_rsb *r; in dlm_grant_after_purge() local
4276 static struct dlm_lkb *search_remid(struct dlm_rsb *r, int nodeid, in search_remid()
4295 struct dlm_rsb *r, struct dlm_rcom *rc) in receive_rcom_lock_args()
4348 struct dlm_rsb *r; in dlm_recover_master_copy() local
4404 struct dlm_rsb *r; in dlm_recover_process_copy() local
4667 struct dlm_rsb *r; in dlm_user_deadlock() local