Searched refs:newlock (Results 1 – 3 of 3) sorted by relevance
46 static void dlm_init_lock(struct dlm_lock *newlock, int type,376 static void dlm_init_lock(struct dlm_lock *newlock, int type, in dlm_init_lock() argument379 INIT_LIST_HEAD(&newlock->list); in dlm_init_lock()380 INIT_LIST_HEAD(&newlock->ast_list); in dlm_init_lock()381 INIT_LIST_HEAD(&newlock->bast_list); in dlm_init_lock()382 spin_lock_init(&newlock->spinlock); in dlm_init_lock()383 newlock->ml.type = type; in dlm_init_lock()384 newlock->ml.convert_type = LKM_IVMODE; in dlm_init_lock()385 newlock->ml.highest_blocked = LKM_IVMODE; in dlm_init_lock()386 newlock->ml.node = node; in dlm_init_lock()[all …]
1794 struct dlm_lock *newlock = NULL; in dlm_process_recovery_data() local1818 newlock = NULL; in dlm_process_recovery_data()1908 newlock = dlm_new_lock(ml->type, ml->node, in dlm_process_recovery_data()1910 if (!newlock) { in dlm_process_recovery_data()1914 lksb = newlock->lksb; in dlm_process_recovery_data()1915 dlm_lock_attach_lockres(newlock, res); in dlm_process_recovery_data()1919 newlock->ml.convert_type = ml->convert_type; in dlm_process_recovery_data()2013 dlm_lock_get(newlock); in dlm_process_recovery_data()2016 newlock->ml.type > in dlm_process_recovery_data()2017 newlock->ml.convert_type) { in dlm_process_recovery_data()[all …]
756 In this example a pseudo-locked region named "newlock" was created. Here is764 # echo 1 > /sys/kernel/debug/resctrl/newlock/pseudo_lock_measure790 In this example a pseudo-locked region named "newlock" was created on the L2797 # echo 2 > /sys/kernel/debug/resctrl/newlock/pseudo_lock_measure1017 region is exposed at /dev/pseudo_lock/newlock that can be provided to1038 # mkdir newlock1039 # echo pseudo-locksetup > newlock/mode1040 # echo 'L2:1=0x3' > newlock/schemata1046 # cat newlock/mode1050 # ls -l /dev/pseudo_lock/newlock[all …]