Searched refs:newlock (Results 1 – 2 of 2) sorted by relevance
48 static void dlm_init_lock(struct dlm_lock *newlock, int type,378 static void dlm_init_lock(struct dlm_lock *newlock, int type, in dlm_init_lock() argument381 INIT_LIST_HEAD(&newlock->list); in dlm_init_lock()382 INIT_LIST_HEAD(&newlock->ast_list); in dlm_init_lock()383 INIT_LIST_HEAD(&newlock->bast_list); in dlm_init_lock()384 spin_lock_init(&newlock->spinlock); in dlm_init_lock()385 newlock->ml.type = type; in dlm_init_lock()386 newlock->ml.convert_type = LKM_IVMODE; in dlm_init_lock()387 newlock->ml.highest_blocked = LKM_IVMODE; in dlm_init_lock()388 newlock->ml.node = node; in dlm_init_lock()[all …]
1803 struct dlm_lock *newlock = NULL; in dlm_process_recovery_data() local1827 newlock = NULL; in dlm_process_recovery_data()1917 newlock = dlm_new_lock(ml->type, ml->node, in dlm_process_recovery_data()1919 if (!newlock) { in dlm_process_recovery_data()1923 lksb = newlock->lksb; in dlm_process_recovery_data()1924 dlm_lock_attach_lockres(newlock, res); in dlm_process_recovery_data()1928 newlock->ml.convert_type = ml->convert_type; in dlm_process_recovery_data()2022 dlm_lock_get(newlock); in dlm_process_recovery_data()2025 newlock->ml.type > in dlm_process_recovery_data()2026 newlock->ml.convert_type) { in dlm_process_recovery_data()[all …]