Home
last modified time | relevance | path

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

/drivers/staging/lustre/lustre/ldlm/
Dldlm_lock.c1062 struct ldlm_lock *old_lock, in search_queue() argument
1073 if (lock == old_lock) in search_queue()
1208 struct ldlm_lock *lock, *old_lock = NULL; in ldlm_lock_match() local
1212 old_lock = ldlm_handle2lock(lockh); in ldlm_lock_match()
1213 LASSERT(old_lock); in ldlm_lock_match()
1215 ns = ldlm_lock_to_ns(old_lock); in ldlm_lock_match()
1216 res_id = &old_lock->l_resource->lr_name; in ldlm_lock_match()
1217 type = old_lock->l_resource->lr_type; in ldlm_lock_match()
1218 mode = old_lock->l_req_mode; in ldlm_lock_match()
1223 LASSERT(old_lock == NULL); in ldlm_lock_match()
[all …]
/drivers/staging/lustre/lustre/mdc/
Dmdc_locks.c928 struct lustre_handle old_lock; in mdc_finish_intent_lock() local
1017 memcpy(&old_lock, lockh, sizeof(*lockh)); in mdc_finish_intent_lock()
1020 &old_lock, 0)) { in mdc_finish_intent_lock()
1023 memcpy(lockh, &old_lock, sizeof(old_lock)); in mdc_finish_intent_lock()