Home
last modified time | relevance | path

Searched refs:granted (Results 1 – 11 of 11) sorted by relevance

/fs/ocfs2/dlm/
Ddlmconvert.c144 if (!dlm_lock_on_list(&res->granted, lock)) { in __dlmconvert_master()
187 list_for_each_entry(tmplock, &res->granted, list) { in __dlmconvert_master()
219 list_move_tail(&lock->list, &res->granted); in __dlmconvert_master()
254 list_move_tail(&lock->list, &res->granted); in dlm_revert_pending_convert()
499 list_for_each_entry(tmp_lock, &res->granted, list) { in dlm_convert_lock_handler()
Ddlmunlock.c230 list_add_tail(&lock->list, &res->granted); in dlmunlock_common()
293 list_move_tail(&lock->list, &res->granted); in dlm_commit_pending_cancel()
456 queue=&res->granted; in dlm_unlock_lock_handler()
563 } else if (dlm_lock_on_list(&res->granted, lock)) { in dlm_get_cancel_actions()
584 if (!dlm_lock_on_list(&res->granted, lock)) { in dlm_get_unlock_actions()
Ddlmthread.c82 if (list_empty(&res->granted) && in __dlm_lockres_has_locks()
389 list_for_each_entry(lock, &res->granted, list) { in dlm_shuffle_lists()
438 list_move_tail(&target->list, &res->granted); in dlm_shuffle_lists()
456 list_for_each_entry(lock, &res->granted, list) { in dlm_shuffle_lists()
498 list_move_tail(&target->list, &res->granted); in dlm_shuffle_lists()
Ddlmlock.c96 list_for_each_entry(tmplock, &res->granted, list) { in dlm_can_grant_new_lock()
148 list_add_tail(&lock->list, &res->granted); in dlmlock_master()
282 list_move_tail(&lock->list, &res->granted); in dlmlock_remote()
Ddlmast.c385 head = &res->granted; in dlm_proxy_ast_handler()
411 list_move_tail(&lock->list, &res->granted); in dlm_proxy_ast_handler()
Ddlmcommon.h306 struct list_head granted; member
412 ret = &res->granted; in dlm_list_idx_to_ptr()
Ddlmmaster.c504 !list_empty(&res->granted) || in dlm_lockres_release()
515 !list_empty(&res->granted) ? 'G' : ' ', in dlm_lockres_release()
528 BUG_ON(!list_empty(&res->granted)); in dlm_lockres_release()
564 INIT_LIST_HEAD(&res->granted); in dlm_init_lockres()
2955 struct list_head *queue = &res->granted; in dlm_remove_nonlocal_locks()
3010 struct list_head *queue = &res->granted; in dlm_pick_migration_target()
Ddlmdebug.c120 list_for_each_entry(lock, &res->granted, list) { in __dlm_print_one_lock_resource()
540 list_for_each_entry(lock, &res->granted, list) in dump_lockres()
Ddlmrecovery.c1065 list_for_each_entry(lock, &res->granted, list) { in dlm_move_reco_locks_to_list()
1100 struct list_head *iter, *queue = &res->granted; in dlm_num_locks_in_lockres()
1775 ret = &(res->granted); in dlm_list_num_to_pointer()
2292 list_for_each_entry_safe(lock, next, &res->granted, list) { in dlm_free_dead_locks()
2384 list_for_each_entry(lock, &res->granted, list) { in dlm_do_local_recovery_cleanup()
/fs/lockd/
Dsvc4proc.c517 PROC(granted, testargs, res, args, res, Ck+St),
Dsvcproc.c561 PROC(granted, testargs, res, args, res, Ck+St),