Home
last modified time | relevance | path

Searched refs:newlock (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/fs/ocfs2/dlm/
Ddlmlock.c63 static void dlm_init_lock(struct dlm_lock *newlock, int type,
398 static void dlm_init_lock(struct dlm_lock *newlock, int type, in dlm_init_lock() argument
401 INIT_LIST_HEAD(&newlock->list); in dlm_init_lock()
402 INIT_LIST_HEAD(&newlock->ast_list); in dlm_init_lock()
403 INIT_LIST_HEAD(&newlock->bast_list); in dlm_init_lock()
404 spin_lock_init(&newlock->spinlock); in dlm_init_lock()
405 newlock->ml.type = type; in dlm_init_lock()
406 newlock->ml.convert_type = LKM_IVMODE; in dlm_init_lock()
407 newlock->ml.highest_blocked = LKM_IVMODE; in dlm_init_lock()
408 newlock->ml.node = node; in dlm_init_lock()
[all …]
Ddlmrecovery.c1768 struct dlm_lock *newlock = NULL; in dlm_process_recovery_data() local
1794 newlock = NULL; in dlm_process_recovery_data()
1885 newlock = dlm_new_lock(ml->type, ml->node, in dlm_process_recovery_data()
1887 if (!newlock) { in dlm_process_recovery_data()
1891 lksb = newlock->lksb; in dlm_process_recovery_data()
1892 dlm_lock_attach_lockres(newlock, res); in dlm_process_recovery_data()
1896 newlock->ml.convert_type = ml->convert_type; in dlm_process_recovery_data()
1983 dlm_lock_get(newlock); in dlm_process_recovery_data()
1984 list_add_tail(&newlock->list, queue); in dlm_process_recovery_data()
2003 if (newlock) in dlm_process_recovery_data()
[all …]