Lines Matching refs:queue
1092 struct list_head *iter, *queue = &res->granted; in dlm_num_locks_in_lockres() local
1096 list_for_each(iter, queue) in dlm_num_locks_in_lockres()
1098 queue++; in dlm_num_locks_in_lockres()
1182 int queue) in dlm_prepare_lvb_for_migration() argument
1188 if (queue == DLM_BLOCKED_LIST) in dlm_prepare_lvb_for_migration()
1217 struct dlm_migratable_lockres *mres, int queue) in dlm_add_lock_to_array() argument
1227 ml->list = queue; in dlm_add_lock_to_array()
1230 dlm_prepare_lvb_for_migration(lock, mres, queue); in dlm_add_lock_to_array()
1273 struct list_head *queue; in dlm_send_one_lockres() local
1298 queue = dlm_list_idx_to_ptr(res, i); in dlm_send_one_lockres()
1299 list_for_each_entry(lock, queue, list) { in dlm_send_one_lockres()
1801 struct list_head *queue, *iter; in dlm_process_recovery_data() local
1830 queue = dlm_list_num_to_pointer(res, ml->list); in dlm_process_recovery_data()
1891 if (tmpq != queue) { in dlm_process_recovery_data()
1909 list_move_tail(&lock->list, queue); in dlm_process_recovery_data()
1927 BUG_ON(queue != &res->converting); in dlm_process_recovery_data()
2000 list_for_each_entry(lock, queue, list) { in dlm_process_recovery_data()
2029 list_add(&newlock->list, queue); in dlm_process_recovery_data()
2031 list_add_tail(&newlock->list, queue); in dlm_process_recovery_data()
2057 struct list_head *queue; in dlm_move_lockres_to_recovery_list() local
2076 queue = dlm_list_idx_to_ptr(res, i); in dlm_move_lockres_to_recovery_list()
2077 list_for_each_entry_safe(lock, next, queue, list) { in dlm_move_lockres_to_recovery_list()
2221 struct list_head *queue; in dlm_revalidate_lvb() local
2242 queue = dlm_list_idx_to_ptr(res, i); in dlm_revalidate_lvb()
2243 list_for_each_entry(lock, queue, list) { in dlm_revalidate_lvb()