• Home
  • Raw
  • Download

Lines Matching defs:lkb

160 void dlm_print_lkb(struct dlm_lkb *lkb)  in dlm_print_lkb()
181 struct dlm_lkb *lkb; in dlm_dump_rsb() local
218 static inline int can_be_queued(struct dlm_lkb *lkb) in can_be_queued()
223 static inline int force_blocking_asts(struct dlm_lkb *lkb) in force_blocking_asts()
228 static inline int is_demoted(struct dlm_lkb *lkb) in is_demoted()
233 static inline int is_altmode(struct dlm_lkb *lkb) in is_altmode()
238 static inline int is_granted(struct dlm_lkb *lkb) in is_granted()
249 static inline int is_process_copy(struct dlm_lkb *lkb) in is_process_copy()
254 static inline int is_master_copy(struct dlm_lkb *lkb) in is_master_copy()
259 static inline int middle_conversion(struct dlm_lkb *lkb) in middle_conversion()
267 static inline int down_conversion(struct dlm_lkb *lkb) in down_conversion()
272 static inline int is_overlap_unlock(struct dlm_lkb *lkb) in is_overlap_unlock()
277 static inline int is_overlap_cancel(struct dlm_lkb *lkb) in is_overlap_cancel()
282 static inline int is_overlap(struct dlm_lkb *lkb) in is_overlap()
288 static void queue_cast(struct dlm_rsb *r, struct dlm_lkb *lkb, int rv) in queue_cast()
312 static inline void queue_cast_overlap(struct dlm_rsb *r, struct dlm_lkb *lkb) in queue_cast_overlap()
318 static void queue_bast(struct dlm_rsb *r, struct dlm_lkb *lkb, int rqmode) in queue_bast()
1167 static void attach_lkb(struct dlm_rsb *r, struct dlm_lkb *lkb) in attach_lkb()
1173 static void detach_lkb(struct dlm_lkb *lkb) in detach_lkb()
1183 struct dlm_lkb *lkb; in create_lkb() local
1220 struct dlm_lkb *lkb; in find_lkb() local
1234 struct dlm_lkb *lkb = container_of(kref, struct dlm_lkb, lkb_ref); in kill_lkb() local
1245 static int __put_lkb(struct dlm_ls *ls, struct dlm_lkb *lkb) in __put_lkb()
1267 int dlm_put_lkb(struct dlm_lkb *lkb) in dlm_put_lkb()
1281 static inline void hold_lkb(struct dlm_lkb *lkb) in hold_lkb()
1291 static inline void unhold_lkb(struct dlm_lkb *lkb) in unhold_lkb()
1301 struct dlm_lkb *lkb = NULL; in lkb_add_ordered() local
1312 static void add_lkb(struct dlm_rsb *r, struct dlm_lkb *lkb, int status) in add_lkb()
1346 static void del_lkb(struct dlm_rsb *r, struct dlm_lkb *lkb) in del_lkb()
1353 static void move_lkb(struct dlm_rsb *r, struct dlm_lkb *lkb, int sts) in move_lkb()
1395 struct dlm_lkb *lkb; in dlm_scan_waiters() local
1450 static int add_to_waiters(struct dlm_lkb *lkb, int mstype, int to_nodeid) in add_to_waiters()
1508 static int _remove_from_waiters(struct dlm_lkb *lkb, int mstype, in _remove_from_waiters()
1595 static int remove_from_waiters(struct dlm_lkb *lkb, int mstype) in remove_from_waiters()
1609 static int remove_from_waiters_ms(struct dlm_lkb *lkb, struct dlm_message *ms) in remove_from_waiters_ms()
1814 static void add_timeout(struct dlm_lkb *lkb) in add_timeout()
1838 static void del_timeout(struct dlm_lkb *lkb) in del_timeout()
1859 struct dlm_lkb *lkb; in dlm_scan_timeout() local
1925 struct dlm_lkb *lkb; in dlm_adjust_timeouts() local
1947 static void set_lvb_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in set_lvb_lock()
1998 static void set_lvb_unlock(struct dlm_rsb *r, struct dlm_lkb *lkb) in set_lvb_unlock()
2027 static void set_lvb_lock_pc(struct dlm_rsb *r, struct dlm_lkb *lkb, in set_lvb_lock_pc()
2058 static void _remove_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _remove_lock()
2067 static void remove_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in remove_lock()
2073 static void remove_lock_pc(struct dlm_rsb *r, struct dlm_lkb *lkb) in remove_lock_pc()
2082 static int revert_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in revert_lock()
2109 static int revert_lock_pc(struct dlm_rsb *r, struct dlm_lkb *lkb) in revert_lock_pc()
2114 static void _grant_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _grant_lock()
2128 static void grant_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in grant_lock()
2134 static void grant_lock_pc(struct dlm_rsb *r, struct dlm_lkb *lkb, in grant_lock_pc()
2145 static void grant_lock_pending(struct dlm_rsb *r, struct dlm_lkb *lkb) in grant_lock_pending()
2162 static void munge_demoted(struct dlm_lkb *lkb) in munge_demoted()
2173 static void munge_altmode(struct dlm_lkb *lkb, struct dlm_message *ms) in munge_altmode()
2192 static inline int first_in_list(struct dlm_lkb *lkb, struct list_head *head) in first_in_list()
2204 static int queue_conflict(struct list_head *head, struct dlm_lkb *lkb) in queue_conflict()
2297 static int _can_be_granted(struct dlm_rsb *r, struct dlm_lkb *lkb, int now, in _can_be_granted()
2443 static int can_be_granted(struct dlm_rsb *r, struct dlm_lkb *lkb, int now, in can_be_granted()
2508 struct dlm_lkb *lkb, *s; in grant_pending_convert() local
2577 struct dlm_lkb *lkb, *s; in grant_pending_wait() local
2615 struct dlm_lkb *lkb, *s; in grant_pending_locks() local
2664 struct dlm_lkb *lkb) in send_bast_queue()
2679 static void send_blocking_asts(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_blocking_asts()
2684 static void send_blocking_asts_all(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_blocking_asts_all()
2709 static int set_master(struct dlm_rsb *r, struct dlm_lkb *lkb) in set_master()
2760 struct dlm_lkb *lkb, *safe; in process_lookup_list() local
2773 struct dlm_lkb *lkb; in confirm_master() local
2888 static int validate_lock_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in validate_lock_args()
2939 static int validate_unlock_args(struct dlm_lkb *lkb, struct dlm_args *args) in validate_unlock_args()
3076 static int do_request(struct dlm_rsb *r, struct dlm_lkb *lkb) in do_request()
3099 static void do_request_effects(struct dlm_rsb *r, struct dlm_lkb *lkb, in do_request_effects()
3113 static int do_convert(struct dlm_rsb *r, struct dlm_lkb *lkb) in do_convert()
3168 static void do_convert_effects(struct dlm_rsb *r, struct dlm_lkb *lkb, in do_convert_effects()
3186 static int do_unlock(struct dlm_rsb *r, struct dlm_lkb *lkb) in do_unlock()
3193 static void do_unlock_effects(struct dlm_rsb *r, struct dlm_lkb *lkb, in do_unlock_effects()
3201 static int do_cancel(struct dlm_rsb *r, struct dlm_lkb *lkb) in do_cancel()
3213 static void do_cancel_effects(struct dlm_rsb *r, struct dlm_lkb *lkb, in do_cancel_effects()
3227 static int _request_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _request_lock()
3256 static int _convert_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _convert_lock()
3275 static int _unlock_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _unlock_lock()
3294 static int _cancel_lock(struct dlm_rsb *r, struct dlm_lkb *lkb) in _cancel_lock()
3316 static int request_lock(struct dlm_ls *ls, struct dlm_lkb *lkb, char *name, in request_lock()
3342 static int convert_lock(struct dlm_ls *ls, struct dlm_lkb *lkb, in convert_lock()
3364 static int unlock_lock(struct dlm_ls *ls, struct dlm_lkb *lkb, in unlock_lock()
3386 static int cancel_lock(struct dlm_ls *ls, struct dlm_lkb *lkb, in cancel_lock()
3424 struct dlm_lkb *lkb; in dlm_lock() local
3472 struct dlm_lkb *lkb; in dlm_unlock() local
3563 static int create_message(struct dlm_rsb *r, struct dlm_lkb *lkb, in create_message()
3600 static void send_args(struct dlm_rsb *r, struct dlm_lkb *lkb, in send_args()
3644 static int send_common(struct dlm_rsb *r, struct dlm_lkb *lkb, int mstype) in send_common()
3672 static int send_request(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_request()
3677 static int send_convert(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_convert()
3699 static int send_unlock(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_unlock()
3704 static int send_cancel(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_cancel()
3709 static int send_grant(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_grant()
3730 static int send_bast(struct dlm_rsb *r, struct dlm_lkb *lkb, int mode) in send_bast()
3751 static int send_lookup(struct dlm_rsb *r, struct dlm_lkb *lkb) in send_lookup()
3799 static int send_common_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, in send_common_reply()
3821 static int send_request_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, int rv) in send_request_reply()
3826 static int send_convert_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, int rv) in send_convert_reply()
3831 static int send_unlock_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, int rv) in send_unlock_reply()
3836 static int send_cancel_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, int rv) in send_cancel_reply()
3866 static void receive_flags(struct dlm_lkb *lkb, struct dlm_message *ms) in receive_flags()
3874 static void receive_flags_reply(struct dlm_lkb *lkb, struct dlm_message *ms) in receive_flags_reply()
3889 static int receive_lvb(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_lvb()
3917 static int receive_request_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_request_args()
3939 static int receive_convert_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_convert_args()
3954 static int receive_unlock_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_unlock_args()
3967 struct dlm_lkb *lkb = &ls->ls_stub_lkb; in setup_stub_lkb() local
3975 static int validate_message(struct dlm_lkb *lkb, struct dlm_message *ms) in validate_message()
4086 struct dlm_lkb *lkb; in receive_request() local
4179 struct dlm_lkb *lkb; in receive_convert() local
4234 struct dlm_lkb *lkb; in receive_unlock() local
4285 struct dlm_lkb *lkb; in receive_cancel() local
4321 struct dlm_lkb *lkb; in receive_grant() local
4352 struct dlm_lkb *lkb; in receive_bast() local
4493 struct dlm_lkb *lkb; in receive_request_reply() local
4611 static void __receive_convert_reply(struct dlm_rsb *r, struct dlm_lkb *lkb, in __receive_convert_reply()
4655 static void _receive_convert_reply(struct dlm_lkb *lkb, struct dlm_message *ms) in _receive_convert_reply()
4680 struct dlm_lkb *lkb; in receive_convert_reply() local
4692 static void _receive_unlock_reply(struct dlm_lkb *lkb, struct dlm_message *ms) in _receive_unlock_reply()
4730 struct dlm_lkb *lkb; in receive_unlock_reply() local
4742 static void _receive_cancel_reply(struct dlm_lkb *lkb, struct dlm_message *ms) in _receive_cancel_reply()
4780 struct dlm_lkb *lkb; in receive_cancel_reply() local
4794 struct dlm_lkb *lkb; in receive_lookup_reply() local
5085 static void recover_convert_waiter(struct dlm_ls *ls, struct dlm_lkb *lkb, in recover_convert_waiter()
5113 static int waiter_needs_recovery(struct dlm_ls *ls, struct dlm_lkb *lkb, in waiter_needs_recovery()
5133 struct dlm_lkb *lkb, *safe; in dlm_recover_waiters_pre() local
5244 struct dlm_lkb *lkb; in find_resend_waiter() local
5280 struct dlm_lkb *lkb; in dlm_recover_waiters_post() local
5382 struct dlm_lkb *lkb, *safe; in purge_mstcpy_list() local
5415 struct dlm_lkb *lkb, *safe; in purge_dead_list() local
5565 struct dlm_lkb *lkb; in search_remid_list() local
5577 struct dlm_lkb *lkb; in search_remid() local
5592 static int receive_rcom_lock_args(struct dlm_ls *ls, struct dlm_lkb *lkb, in receive_rcom_lock_args()
5647 struct dlm_lkb *lkb; in dlm_recover_master_copy() local
5728 struct dlm_lkb *lkb; in dlm_recover_process_copy() local
5792 struct dlm_lkb *lkb; in dlm_user_request() local
5857 struct dlm_lkb *lkb; in dlm_user_convert() local
5917 struct dlm_lkb *lkb; in dlm_user_adopt_orphan() local
5982 struct dlm_lkb *lkb; in dlm_user_unlock() local
6031 struct dlm_lkb *lkb; in dlm_user_cancel() local
6068 struct dlm_lkb *lkb; in dlm_user_deadlock() local
6117 static int orphan_proc_lock(struct dlm_ls *ls, struct dlm_lkb *lkb) in orphan_proc_lock()
6140 static int unlock_proc_lock(struct dlm_ls *ls, struct dlm_lkb *lkb) in unlock_proc_lock()
6161 struct dlm_lkb *lkb = NULL; in del_proc_lock() local
6191 struct dlm_lkb *lkb, *safe; in dlm_clear_proc_locks() local
6234 struct dlm_lkb *lkb, *safe; in purge_proc_locks() local
6276 struct dlm_lkb *lkb, *safe; in do_purge() local