Searched refs:granted (Results 1 – 9 of 9) sorted by relevance
/fs/ocfs2/dlm/ |
D | dlmconvert.c | 129 if (!dlm_lock_on_list(&res->granted, lock)) { in __dlmconvert_master() 172 list_for_each_entry(tmplock, &res->granted, list) { in __dlmconvert_master() 204 list_move_tail(&lock->list, &res->granted); in __dlmconvert_master() 239 list_move_tail(&lock->list, &res->granted); in dlm_revert_pending_convert() 484 list_for_each_entry(tmp_lock, &res->granted, list) { in dlm_convert_lock_handler()
|
D | dlmunlock.c | 215 list_add_tail(&lock->list, &res->granted); in dlmunlock_common() 278 list_move_tail(&lock->list, &res->granted); in dlm_commit_pending_cancel() 441 queue=&res->granted; in dlm_unlock_lock_handler() 548 } else if (dlm_lock_on_list(&res->granted, lock)) { in dlm_get_cancel_actions() 569 if (!dlm_lock_on_list(&res->granted, lock)) { in dlm_get_unlock_actions()
|
D | dlmthread.c | 65 if (list_empty(&res->granted) && in __dlm_lockres_has_locks() 372 list_for_each_entry(lock, &res->granted, list) { in dlm_shuffle_lists() 421 list_move_tail(&target->list, &res->granted); in dlm_shuffle_lists() 439 list_for_each_entry(lock, &res->granted, list) { in dlm_shuffle_lists() 481 list_move_tail(&target->list, &res->granted); in dlm_shuffle_lists()
|
D | dlmlock.c | 80 list_for_each_entry(tmplock, &res->granted, list) { in dlm_can_grant_new_lock() 132 list_add_tail(&lock->list, &res->granted); in dlmlock_master() 266 list_move_tail(&lock->list, &res->granted); in dlmlock_remote()
|
D | dlmast.c | 368 head = &res->granted; in dlm_proxy_ast_handler() 394 list_move_tail(&lock->list, &res->granted); in dlm_proxy_ast_handler()
|
D | dlmcommon.h | 291 struct list_head granted; member 397 ret = &res->granted; in dlm_list_idx_to_ptr()
|
D | dlmmaster.c | 484 !list_empty(&res->granted) || in dlm_lockres_release() 495 !list_empty(&res->granted) ? 'G' : ' ', in dlm_lockres_release() 508 BUG_ON(!list_empty(&res->granted)); in dlm_lockres_release() 544 INIT_LIST_HEAD(&res->granted); in dlm_init_lockres() 2927 struct list_head *queue = &res->granted; in dlm_remove_nonlocal_locks() 2982 struct list_head *queue = &res->granted; in dlm_pick_migration_target()
|
D | dlmdebug.c | 105 list_for_each_entry(lock, &res->granted, list) { in __dlm_print_one_lock_resource() 525 list_for_each_entry(lock, &res->granted, list) in dump_lockres()
|
D | dlmrecovery.c | 1057 list_for_each_entry(lock, &res->granted, list) { in dlm_move_reco_locks_to_list() 1092 struct list_head *iter, *queue = &res->granted; in dlm_num_locks_in_lockres() 1765 ret = &(res->granted); in dlm_list_num_to_pointer() 2278 list_for_each_entry_safe(lock, next, &res->granted, list) { in dlm_free_dead_locks() 2363 list_for_each_entry(lock, &res->granted, list) { in dlm_do_local_recovery_cleanup()
|