• Home
  • Raw
  • Download

Lines Matching defs:ls

199 static inline void dlm_lock_recovery(struct dlm_ls *ls)  in dlm_lock_recovery()
204 void dlm_unlock_recovery(struct dlm_ls *ls) in dlm_unlock_recovery()
209 int dlm_lock_recovery_try(struct dlm_ls *ls) in dlm_lock_recovery_try()
333 static struct dlm_rsb *create_rsb(struct dlm_ls *ls, char *name, int len) in create_rsb()
376 static int _search_rsb(struct dlm_ls *ls, char *name, int len, int b, in _search_rsb()
411 static int search_rsb(struct dlm_ls *ls, char *name, int len, int b, in search_rsb()
435 static int find_rsb(struct dlm_ls *ls, char *name, int namelen, in find_rsb()
513 struct dlm_ls *ls = r->res_ls; in toss_rsb() local
530 struct dlm_ls *ls = r->res_ls; in put_rsb() local
584 static int create_lkb(struct dlm_ls *ls, struct dlm_lkb **lkb_ret) in create_lkb()
628 static struct dlm_lkb *__find_lkb(struct dlm_ls *ls, uint32_t lkid) in __find_lkb()
640 static int find_lkb(struct dlm_ls *ls, uint32_t lkid, struct dlm_lkb **lkb_ret) in find_lkb()
671 static int __put_lkb(struct dlm_ls *ls, struct dlm_lkb *lkb) in __put_lkb()
695 struct dlm_ls *ls; in dlm_put_lkb() local
812 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in add_to_waiters() local
868 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in _remove_from_waiters() local
920 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in remove_from_waiters() local
934 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in remove_from_waiters_ms() local
963 static int shrink_bucket(struct dlm_ls *ls, int b) in shrink_bucket()
1002 void dlm_scan_rsbs(struct dlm_ls *ls) in dlm_scan_rsbs()
1016 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in add_timeout() local
1040 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in del_timeout() local
1056 void dlm_scan_timeout(struct dlm_ls *ls) in dlm_scan_timeout()
1123 void dlm_adjust_timeouts(struct dlm_ls *ls) in dlm_adjust_timeouts()
1856 struct dlm_ls *ls = r->res_ls; in set_master() local
2050 static int validate_lock_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in validate_lock_args()
2098 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in validate_unlock_args() local
2420 static int request_lock(struct dlm_ls *ls, struct dlm_lkb *lkb, char *name, in request_lock()
2448 static int convert_lock(struct dlm_ls *ls, struct dlm_lkb *lkb, in convert_lock()
2470 static int unlock_lock(struct dlm_ls *ls, struct dlm_lkb *lkb, in unlock_lock()
2492 static int cancel_lock(struct dlm_ls *ls, struct dlm_lkb *lkb, in cancel_lock()
2529 struct dlm_ls *ls; in dlm_lock() local
2577 struct dlm_ls *ls; in dlm_unlock() local
2635 static int _create_message(struct dlm_ls *ls, int mb_len, in _create_message()
2947 static int send_lookup_reply(struct dlm_ls *ls, struct dlm_message *ms_in, in send_lookup_reply()
2992 static int receive_lvb(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_lvb()
3020 static int receive_request_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_request_args()
3042 static int receive_convert_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_convert_args()
3057 static int receive_unlock_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_unlock_args()
3068 static void setup_stub_lkb(struct dlm_ls *ls, struct dlm_message *ms) in setup_stub_lkb()
3119 static void receive_request(struct dlm_ls *ls, struct dlm_message *ms) in receive_request()
3165 static void receive_convert(struct dlm_ls *ls, struct dlm_message *ms) in receive_convert()
3205 static void receive_unlock(struct dlm_ls *ls, struct dlm_message *ms) in receive_unlock()
3243 static void receive_cancel(struct dlm_ls *ls, struct dlm_message *ms) in receive_cancel()
3277 static void receive_grant(struct dlm_ls *ls, struct dlm_message *ms) in receive_grant()
3310 static void receive_bast(struct dlm_ls *ls, struct dlm_message *ms) in receive_bast()
3339 static void receive_lookup(struct dlm_ls *ls, struct dlm_message *ms) in receive_lookup()
3368 static void receive_remove(struct dlm_ls *ls, struct dlm_message *ms) in receive_remove()
3386 static void receive_purge(struct dlm_ls *ls, struct dlm_message *ms) in receive_purge()
3391 static void receive_request_reply(struct dlm_ls *ls, struct dlm_message *ms) in receive_request_reply()
3559 static void receive_convert_reply(struct dlm_ls *ls, struct dlm_message *ms) in receive_convert_reply()
3611 static void receive_unlock_reply(struct dlm_ls *ls, struct dlm_message *ms) in receive_unlock_reply()
3663 static void receive_cancel_reply(struct dlm_ls *ls, struct dlm_message *ms) in receive_cancel_reply()
3679 static void receive_lookup_reply(struct dlm_ls *ls, struct dlm_message *ms) in receive_lookup_reply()
3731 static void _receive_message(struct dlm_ls *ls, struct dlm_message *ms) in _receive_message()
3825 static void dlm_receive_message(struct dlm_ls *ls, struct dlm_message *ms, in dlm_receive_message()
3839 void dlm_receive_message_saved(struct dlm_ls *ls, struct dlm_message *ms) in dlm_receive_message_saved()
3852 struct dlm_ls *ls; in dlm_receive_buffer() local
3899 static void recover_convert_waiter(struct dlm_ls *ls, struct dlm_lkb *lkb) in recover_convert_waiter()
3925 static int waiter_needs_recovery(struct dlm_ls *ls, struct dlm_lkb *lkb) in waiter_needs_recovery()
3945 void dlm_recover_waiters_pre(struct dlm_ls *ls) in dlm_recover_waiters_pre()
4032 static struct dlm_lkb *find_resend_waiter(struct dlm_ls *ls) in find_resend_waiter()
4068 int dlm_recover_waiters_post(struct dlm_ls *ls) in dlm_recover_waiters_post()
4159 int (*test)(struct dlm_ls *ls, struct dlm_lkb *lkb)) in purge_queue()
4161 struct dlm_ls *ls = r->res_ls; in purge_queue() local
4175 static int purge_dead_test(struct dlm_ls *ls, struct dlm_lkb *lkb) in purge_dead_test()
4180 static int purge_mstcpy_test(struct dlm_ls *ls, struct dlm_lkb *lkb) in purge_mstcpy_test()
4201 int dlm_purge_locks(struct dlm_ls *ls) in dlm_purge_locks()
4223 static struct dlm_rsb *find_purged_rsb(struct dlm_ls *ls, int bucket) in find_purged_rsb()
4240 void dlm_grant_after_purge(struct dlm_ls *ls) in dlm_grant_after_purge()
4294 static int receive_rcom_lock_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_rcom_lock_args()
4345 int dlm_recover_master_copy(struct dlm_ls *ls, struct dlm_rcom *rc) in dlm_recover_master_copy()
4401 int dlm_recover_process_copy(struct dlm_ls *ls, struct dlm_rcom *rc) in dlm_recover_process_copy()
4454 int dlm_user_request(struct dlm_ls *ls, struct dlm_user_args *ua, in dlm_user_request()
4520 int dlm_user_convert(struct dlm_ls *ls, struct dlm_user_args *ua_tmp, in dlm_user_convert()
4575 int dlm_user_unlock(struct dlm_ls *ls, struct dlm_user_args *ua_tmp, in dlm_user_unlock()
4624 int dlm_user_cancel(struct dlm_ls *ls, struct dlm_user_args *ua_tmp, in dlm_user_cancel()
4662 int dlm_user_deadlock(struct dlm_ls *ls, uint32_t flags, uint32_t lkid) in dlm_user_deadlock()
4713 static int orphan_proc_lock(struct dlm_ls *ls, struct dlm_lkb *lkb) in orphan_proc_lock()
4734 static int unlock_proc_lock(struct dlm_ls *ls, struct dlm_lkb *lkb) in unlock_proc_lock()
4751 static struct dlm_lkb *del_proc_lock(struct dlm_ls *ls, in del_proc_lock()
4782 void dlm_clear_proc_locks(struct dlm_ls *ls, struct dlm_user_proc *proc) in dlm_clear_proc_locks()
4824 static void purge_proc_locks(struct dlm_ls *ls, struct dlm_user_proc *proc) in purge_proc_locks()
4864 static void do_purge(struct dlm_ls *ls, int nodeid, int pid) in do_purge()
4879 static int send_purge(struct dlm_ls *ls, int nodeid, int pid) in send_purge()
4895 int dlm_user_purge(struct dlm_ls *ls, struct dlm_user_proc *proc, in dlm_user_purge()