• Home
  • Raw
  • Download

Lines Matching defs:ls

203 static inline void dlm_lock_recovery(struct dlm_ls *ls)  in dlm_lock_recovery()
208 void dlm_unlock_recovery(struct dlm_ls *ls) in dlm_unlock_recovery()
213 int dlm_lock_recovery_try(struct dlm_ls *ls) in dlm_lock_recovery_try()
349 struct dlm_ls *ls = r->res_ls; in put_rsb() local
362 static int pre_rsb_struct(struct dlm_ls *ls) in pre_rsb_struct()
398 static int get_rsb_struct(struct dlm_ls *ls, char *name, int len, in get_rsb_struct()
543 static int find_rsb_dir(struct dlm_ls *ls, char *name, int len, in find_rsb_dir()
722 static int find_rsb_nodir(struct dlm_ls *ls, char *name, int len, in find_rsb_nodir()
816 static int find_rsb(struct dlm_ls *ls, char *name, int len, int from_nodeid, in find_rsb()
841 static int validate_master_nodeid(struct dlm_ls *ls, struct dlm_rsb *r, in validate_master_nodeid()
910 int dlm_master_lookup(struct dlm_ls *ls, int from_nodeid, char *name, int len, in dlm_master_lookup()
1083 static void dlm_dump_rsb_hash(struct dlm_ls *ls, uint32_t hash) in dlm_dump_rsb_hash()
1100 void dlm_dump_rsb_name(struct dlm_ls *ls, char *name, int len) in dlm_dump_rsb_name()
1126 struct dlm_ls *ls = r->res_ls; in toss_rsb() local
1181 static int create_lkb(struct dlm_ls *ls, struct dlm_lkb **lkb_ret) in create_lkb()
1218 static int find_lkb(struct dlm_ls *ls, uint32_t lkid, struct dlm_lkb **lkb_ret) in find_lkb()
1245 static int __put_lkb(struct dlm_ls *ls, struct dlm_lkb *lkb) in __put_lkb()
1269 struct dlm_ls *ls; in dlm_put_lkb() local
1393 void dlm_scan_waiters(struct dlm_ls *ls) in dlm_scan_waiters()
1452 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in add_to_waiters() local
1511 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in _remove_from_waiters() local
1595 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in remove_from_waiters() local
1609 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in remove_from_waiters_ms() local
1627 struct dlm_ls *ls = r->res_ls; in wait_pending_remove() local
1648 static void shrink_bucket(struct dlm_ls *ls, int b) in shrink_bucket()
1800 void dlm_scan_rsbs(struct dlm_ls *ls) in dlm_scan_rsbs()
1814 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in add_timeout() local
1838 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in del_timeout() local
1854 void dlm_scan_timeout(struct dlm_ls *ls) in dlm_scan_timeout()
1921 void dlm_adjust_timeouts(struct dlm_ls *ls) in dlm_adjust_timeouts()
2886 static int validate_lock_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in validate_lock_args()
2939 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in validate_unlock_args() local
3314 static int request_lock(struct dlm_ls *ls, struct dlm_lkb *lkb, char *name, in request_lock()
3340 static int convert_lock(struct dlm_ls *ls, struct dlm_lkb *lkb, in convert_lock()
3362 static int unlock_lock(struct dlm_ls *ls, struct dlm_lkb *lkb, in unlock_lock()
3384 static int cancel_lock(struct dlm_ls *ls, struct dlm_lkb *lkb, in cancel_lock()
3421 struct dlm_ls *ls; in dlm_lock() local
3469 struct dlm_ls *ls; in dlm_unlock() local
3527 static int _create_message(struct dlm_ls *ls, int mb_len, in _create_message()
3839 static int send_lookup_reply(struct dlm_ls *ls, struct dlm_message *ms_in, in send_lookup_reply()
3887 static int receive_lvb(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_lvb()
3915 static int receive_request_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_request_args()
3937 static int receive_convert_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_convert_args()
3952 static int receive_unlock_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_unlock_args()
3963 static void setup_stub_lkb(struct dlm_ls *ls, struct dlm_message *ms) in setup_stub_lkb()
4023 static void send_repeat_remove(struct dlm_ls *ls, char *ms_name, int len) in send_repeat_remove()
4081 static int receive_request(struct dlm_ls *ls, struct dlm_message *ms) in receive_request()
4174 static int receive_convert(struct dlm_ls *ls, struct dlm_message *ms) in receive_convert()
4229 static int receive_unlock(struct dlm_ls *ls, struct dlm_message *ms) in receive_unlock()
4280 static int receive_cancel(struct dlm_ls *ls, struct dlm_message *ms) in receive_cancel()
4316 static int receive_grant(struct dlm_ls *ls, struct dlm_message *ms) in receive_grant()
4347 static int receive_bast(struct dlm_ls *ls, struct dlm_message *ms) in receive_bast()
4375 static void receive_lookup(struct dlm_ls *ls, struct dlm_message *ms) in receive_lookup()
4395 static void receive_remove(struct dlm_ls *ls, struct dlm_message *ms) in receive_remove()
4483 static void receive_purge(struct dlm_ls *ls, struct dlm_message *ms) in receive_purge()
4488 static int receive_request_reply(struct dlm_ls *ls, struct dlm_message *ms) in receive_request_reply()
4675 static int receive_convert_reply(struct dlm_ls *ls, struct dlm_message *ms) in receive_convert_reply()
4725 static int receive_unlock_reply(struct dlm_ls *ls, struct dlm_message *ms) in receive_unlock_reply()
4775 static int receive_cancel_reply(struct dlm_ls *ls, struct dlm_message *ms) in receive_cancel_reply()
4789 static void receive_lookup_reply(struct dlm_ls *ls, struct dlm_message *ms) in receive_lookup_reply()
4867 static void _receive_message(struct dlm_ls *ls, struct dlm_message *ms, in _receive_message()
4996 static void dlm_receive_message(struct dlm_ls *ls, struct dlm_message *ms, in dlm_receive_message()
5019 void dlm_receive_message_saved(struct dlm_ls *ls, struct dlm_message *ms, in dlm_receive_message_saved()
5033 struct dlm_ls *ls; in dlm_receive_buffer() local
5082 static void recover_convert_waiter(struct dlm_ls *ls, struct dlm_lkb *lkb, in recover_convert_waiter()
5110 static int waiter_needs_recovery(struct dlm_ls *ls, struct dlm_lkb *lkb, in waiter_needs_recovery()
5128 void dlm_recover_waiters_pre(struct dlm_ls *ls) in dlm_recover_waiters_pre()
5239 static struct dlm_lkb *find_resend_waiter(struct dlm_ls *ls) in find_resend_waiter()
5275 int dlm_recover_waiters_post(struct dlm_ls *ls) in dlm_recover_waiters_post()
5371 static void purge_mstcpy_list(struct dlm_ls *ls, struct dlm_rsb *r, in purge_mstcpy_list()
5396 struct dlm_ls *ls = r->res_ls; in dlm_purge_mstcpy_locks() local
5403 static void purge_dead_list(struct dlm_ls *ls, struct dlm_rsb *r, in purge_dead_list()
5438 void dlm_recover_purge(struct dlm_ls *ls) in dlm_recover_purge()
5480 static struct dlm_rsb *find_grant_rsb(struct dlm_ls *ls, int bucket) in find_grant_rsb()
5520 void dlm_recover_grant(struct dlm_ls *ls) in dlm_recover_grant()
5584 static int receive_rcom_lock_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_rcom_lock_args()
5635 int dlm_recover_master_copy(struct dlm_ls *ls, struct dlm_rcom *rc) in dlm_recover_master_copy()
5716 int dlm_recover_process_copy(struct dlm_ls *ls, struct dlm_rcom *rc) in dlm_recover_process_copy()
5780 int dlm_user_request(struct dlm_ls *ls, struct dlm_user_args *ua, in dlm_user_request()
5845 int dlm_user_convert(struct dlm_ls *ls, struct dlm_user_args *ua_tmp, in dlm_user_convert()
5905 int dlm_user_adopt_orphan(struct dlm_ls *ls, struct dlm_user_args *ua_tmp, in dlm_user_adopt_orphan()
5971 int dlm_user_unlock(struct dlm_ls *ls, struct dlm_user_args *ua_tmp, in dlm_user_unlock()
6020 int dlm_user_cancel(struct dlm_ls *ls, struct dlm_user_args *ua_tmp, in dlm_user_cancel()
6058 int dlm_user_deadlock(struct dlm_ls *ls, uint32_t flags, uint32_t lkid) in dlm_user_deadlock()
6109 static int orphan_proc_lock(struct dlm_ls *ls, struct dlm_lkb *lkb) in orphan_proc_lock()
6132 static int unlock_proc_lock(struct dlm_ls *ls, struct dlm_lkb *lkb) in unlock_proc_lock()
6150 static struct dlm_lkb *del_proc_lock(struct dlm_ls *ls, in del_proc_lock()
6181 void dlm_clear_proc_locks(struct dlm_ls *ls, struct dlm_user_proc *proc) in dlm_clear_proc_locks()
6224 static void purge_proc_locks(struct dlm_ls *ls, struct dlm_user_proc *proc) in purge_proc_locks()
6266 static void do_purge(struct dlm_ls *ls, int nodeid, int pid) in do_purge()
6281 static int send_purge(struct dlm_ls *ls, int nodeid, int pid) in send_purge()
6297 int dlm_user_purge(struct dlm_ls *ls, struct dlm_user_proc *proc, in dlm_user_purge()