Lines Matching defs:ls

205 static inline void dlm_lock_recovery(struct dlm_ls *ls)  in dlm_lock_recovery()
210 void dlm_unlock_recovery(struct dlm_ls *ls) in dlm_unlock_recovery()
215 int dlm_lock_recovery_try(struct dlm_ls *ls) in dlm_lock_recovery_try()
351 struct dlm_ls *ls = r->res_ls; in put_rsb() local
364 static int pre_rsb_struct(struct dlm_ls *ls) in pre_rsb_struct()
400 static int get_rsb_struct(struct dlm_ls *ls, char *name, int len, in get_rsb_struct()
545 static int find_rsb_dir(struct dlm_ls *ls, char *name, int len, in find_rsb_dir()
724 static int find_rsb_nodir(struct dlm_ls *ls, char *name, int len, in find_rsb_nodir()
818 static int find_rsb(struct dlm_ls *ls, char *name, int len, int from_nodeid, in find_rsb()
843 static int validate_master_nodeid(struct dlm_ls *ls, struct dlm_rsb *r, in validate_master_nodeid()
912 int dlm_master_lookup(struct dlm_ls *ls, int from_nodeid, char *name, int len, in dlm_master_lookup()
1085 static void dlm_dump_rsb_hash(struct dlm_ls *ls, uint32_t hash) in dlm_dump_rsb_hash()
1102 void dlm_dump_rsb_name(struct dlm_ls *ls, char *name, int len) in dlm_dump_rsb_name()
1128 struct dlm_ls *ls = r->res_ls; in toss_rsb() local
1183 static int create_lkb(struct dlm_ls *ls, struct dlm_lkb **lkb_ret) in create_lkb()
1220 static int find_lkb(struct dlm_ls *ls, uint32_t lkid, struct dlm_lkb **lkb_ret) in find_lkb()
1247 static int __put_lkb(struct dlm_ls *ls, struct dlm_lkb *lkb) in __put_lkb()
1271 struct dlm_ls *ls; in dlm_put_lkb() local
1395 void dlm_scan_waiters(struct dlm_ls *ls) in dlm_scan_waiters()
1454 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in add_to_waiters() local
1513 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in _remove_from_waiters() local
1599 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in remove_from_waiters() local
1613 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in remove_from_waiters_ms() local
1631 struct dlm_ls *ls = r->res_ls; in wait_pending_remove() local
1652 static void shrink_bucket(struct dlm_ls *ls, int b) in shrink_bucket()
1804 void dlm_scan_rsbs(struct dlm_ls *ls) in dlm_scan_rsbs()
1818 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in add_timeout() local
1842 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in del_timeout() local
1858 void dlm_scan_timeout(struct dlm_ls *ls) in dlm_scan_timeout()
1926 void dlm_adjust_timeouts(struct dlm_ls *ls) in dlm_adjust_timeouts()
2891 static int validate_lock_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in validate_lock_args()
2944 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in validate_unlock_args() local
3319 static int request_lock(struct dlm_ls *ls, struct dlm_lkb *lkb, char *name, in request_lock()
3345 static int convert_lock(struct dlm_ls *ls, struct dlm_lkb *lkb, in convert_lock()
3367 static int unlock_lock(struct dlm_ls *ls, struct dlm_lkb *lkb, in unlock_lock()
3389 static int cancel_lock(struct dlm_ls *ls, struct dlm_lkb *lkb, in cancel_lock()
3426 struct dlm_ls *ls; in dlm_lock() local
3474 struct dlm_ls *ls; in dlm_unlock() local
3532 static int _create_message(struct dlm_ls *ls, int mb_len, in _create_message()
3844 static int send_lookup_reply(struct dlm_ls *ls, struct dlm_message *ms_in, in send_lookup_reply()
3892 static int receive_lvb(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_lvb()
3920 static int receive_request_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_request_args()
3942 static int receive_convert_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_convert_args()
3957 static int receive_unlock_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_unlock_args()
3968 static void setup_stub_lkb(struct dlm_ls *ls, struct dlm_message *ms) in setup_stub_lkb()
4028 static void send_repeat_remove(struct dlm_ls *ls, char *ms_name, int len) in send_repeat_remove()
4087 static int receive_request(struct dlm_ls *ls, struct dlm_message *ms) in receive_request()
4180 static int receive_convert(struct dlm_ls *ls, struct dlm_message *ms) in receive_convert()
4235 static int receive_unlock(struct dlm_ls *ls, struct dlm_message *ms) in receive_unlock()
4286 static int receive_cancel(struct dlm_ls *ls, struct dlm_message *ms) in receive_cancel()
4322 static int receive_grant(struct dlm_ls *ls, struct dlm_message *ms) in receive_grant()
4353 static int receive_bast(struct dlm_ls *ls, struct dlm_message *ms) in receive_bast()
4381 static void receive_lookup(struct dlm_ls *ls, struct dlm_message *ms) in receive_lookup()
4401 static void receive_remove(struct dlm_ls *ls, struct dlm_message *ms) in receive_remove()
4489 static void receive_purge(struct dlm_ls *ls, struct dlm_message *ms) in receive_purge()
4494 static int receive_request_reply(struct dlm_ls *ls, struct dlm_message *ms) in receive_request_reply()
4681 static int receive_convert_reply(struct dlm_ls *ls, struct dlm_message *ms) in receive_convert_reply()
4731 static int receive_unlock_reply(struct dlm_ls *ls, struct dlm_message *ms) in receive_unlock_reply()
4781 static int receive_cancel_reply(struct dlm_ls *ls, struct dlm_message *ms) in receive_cancel_reply()
4795 static void receive_lookup_reply(struct dlm_ls *ls, struct dlm_message *ms) in receive_lookup_reply()
4873 static void _receive_message(struct dlm_ls *ls, struct dlm_message *ms, in _receive_message()
5002 static void dlm_receive_message(struct dlm_ls *ls, struct dlm_message *ms, in dlm_receive_message()
5025 void dlm_receive_message_saved(struct dlm_ls *ls, struct dlm_message *ms, in dlm_receive_message_saved()
5039 struct dlm_ls *ls; in dlm_receive_buffer() local
5088 static void recover_convert_waiter(struct dlm_ls *ls, struct dlm_lkb *lkb, in recover_convert_waiter()
5116 static int waiter_needs_recovery(struct dlm_ls *ls, struct dlm_lkb *lkb, in waiter_needs_recovery()
5134 void dlm_recover_waiters_pre(struct dlm_ls *ls) in dlm_recover_waiters_pre()
5245 static struct dlm_lkb *find_resend_waiter(struct dlm_ls *ls) in find_resend_waiter()
5278 int dlm_recover_waiters_post(struct dlm_ls *ls) in dlm_recover_waiters_post()
5379 static void purge_mstcpy_list(struct dlm_ls *ls, struct dlm_rsb *r, in purge_mstcpy_list()
5404 struct dlm_ls *ls = r->res_ls; in dlm_purge_mstcpy_locks() local
5411 static void purge_dead_list(struct dlm_ls *ls, struct dlm_rsb *r, in purge_dead_list()
5446 void dlm_recover_purge(struct dlm_ls *ls) in dlm_recover_purge()
5488 static struct dlm_rsb *find_grant_rsb(struct dlm_ls *ls, int bucket) in find_grant_rsb()
5528 void dlm_recover_grant(struct dlm_ls *ls) in dlm_recover_grant()
5592 static int receive_rcom_lock_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_rcom_lock_args()
5643 int dlm_recover_master_copy(struct dlm_ls *ls, struct dlm_rcom *rc) in dlm_recover_master_copy()
5724 int dlm_recover_process_copy(struct dlm_ls *ls, struct dlm_rcom *rc) in dlm_recover_process_copy()
5788 int dlm_user_request(struct dlm_ls *ls, struct dlm_user_args *ua, in dlm_user_request()
5853 int dlm_user_convert(struct dlm_ls *ls, struct dlm_user_args *ua_tmp, in dlm_user_convert()
5913 int dlm_user_adopt_orphan(struct dlm_ls *ls, struct dlm_user_args *ua_tmp, in dlm_user_adopt_orphan()
5978 int dlm_user_unlock(struct dlm_ls *ls, struct dlm_user_args *ua_tmp, in dlm_user_unlock()
6027 int dlm_user_cancel(struct dlm_ls *ls, struct dlm_user_args *ua_tmp, in dlm_user_cancel()
6065 int dlm_user_deadlock(struct dlm_ls *ls, uint32_t flags, uint32_t lkid) in dlm_user_deadlock()
6116 static int orphan_proc_lock(struct dlm_ls *ls, struct dlm_lkb *lkb) in orphan_proc_lock()
6139 static int unlock_proc_lock(struct dlm_ls *ls, struct dlm_lkb *lkb) in unlock_proc_lock()
6157 static struct dlm_lkb *del_proc_lock(struct dlm_ls *ls, in del_proc_lock()
6188 void dlm_clear_proc_locks(struct dlm_ls *ls, struct dlm_user_proc *proc) in dlm_clear_proc_locks()
6231 static void purge_proc_locks(struct dlm_ls *ls, struct dlm_user_proc *proc) in purge_proc_locks()
6273 static void do_purge(struct dlm_ls *ls, int nodeid, int pid) in do_purge()
6288 static int send_purge(struct dlm_ls *ls, int nodeid, int pid) in send_purge()
6304 int dlm_user_purge(struct dlm_ls *ls, struct dlm_user_proc *proc, in dlm_user_purge()