Searched refs:l_granted_mode (Results 1 – 12 of 12) sorted by relevance
/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_extent.c | 168 LASSERT(lock->l_granted_mode == lock->l_req_mode); in ldlm_extent_add_lock() 174 idx = lock_mode_to_index(lock->l_granted_mode); in ldlm_extent_add_lock() 175 LASSERT(lock->l_granted_mode == 1 << idx); in ldlm_extent_add_lock() 176 LASSERT(lock->l_granted_mode == res->lr_itree[idx].lit_mode); in ldlm_extent_add_lock() 208 idx = lock_mode_to_index(lock->l_granted_mode); in ldlm_extent_unlink_lock() 209 LASSERT(lock->l_granted_mode == 1 << idx); in ldlm_extent_unlink_lock()
|
D | ldlm_flock.c | 309 if (lockmode_compat(lock->l_granted_mode, mode)) in ldlm_process_flock_lock() 333 req->l_req_mode = lock->l_granted_mode; in ldlm_process_flock_lock() 386 if (lock->l_granted_mode == mode) { in ldlm_process_flock_lock() 472 lock->l_granted_mode, &null_cbs, in ldlm_process_flock_lock() 476 ldlm_flock_destroy(req, lock->l_granted_mode, in ldlm_process_flock_lock() 486 new2->l_granted_mode = lock->l_granted_mode; in ldlm_process_flock_lock() 508 lock->l_granted_mode); in ldlm_process_flock_lock() 521 req->l_granted_mode = req->l_req_mode; in ldlm_process_flock_lock() 600 if (lock->l_req_mode == lock->l_granted_mode && in ldlm_flock_completion_ast() 601 lock->l_granted_mode != LCK_NL && in ldlm_flock_completion_ast() [all …]
|
D | ldlm_lock.c | 625 desc->l_granted_mode = lock->l_granted_mode; in ldlm_lock2desc() 1037 LASSERT(lock->l_req_mode == lock->l_granted_mode); in ldlm_grant_lock_with_skiplist() 1060 lock->l_granted_mode = lock->l_req_mode; in ldlm_grant_lock() 1068 if (lock->l_granted_mode < res->lr_most_restr) in ldlm_grant_lock() 1069 res->lr_most_restr = lock->l_granted_mode; in ldlm_grant_lock() 1381 mode = lock->l_granted_mode; in ldlm_revalidate_lock_handle() 1605 if (local && lock->l_req_mode == lock->l_granted_mode) { in ldlm_lock_enqueue() 1764 desc.l_granted_mode = 0; in ldlm_work_revoke_ast_lock() 1988 if (lock->l_granted_mode == lock->l_req_mode) in ldlm_lock_cancel() 1993 lock->l_granted_mode = LCK_MINMODE; in ldlm_lock_cancel() [all …]
|
D | ldlm_lockd.c | 196 if (lock->l_granted_mode == lock->l_req_mode || in ldlm_handle_cp_callback() 242 lock->l_granted_mode == lock->l_req_mode) { in ldlm_handle_cp_callback() 252 if (dlm_req->lock_desc.l_granted_mode != lock->l_req_mode) { in ldlm_handle_cp_callback() 253 lock->l_req_mode = dlm_req->lock_desc.l_granted_mode; in ldlm_handle_cp_callback() 350 if (lock->l_granted_mode == LCK_PW && in ldlm_handle_gl_callback()
|
D | ldlm_request.c | 473 if ((lock->l_req_mode != lock->l_granted_mode) && in failed_lock_cleanup() 665 if (lock->l_req_mode != lock->l_granted_mode) in ldlm_cli_enqueue_fini() 1796 if (lockmode_compat(lock->l_granted_mode, mode)) in ldlm_cancel_resource_local() 2186 if (lock->l_granted_mode == lock->l_req_mode) in replay_one_lock() 2188 else if (lock->l_granted_mode) in replay_one_lock()
|
D | ldlm_internal.h | 276 if (((lock->l_req_mode == lock->l_granted_mode) && in is_granted_or_cancelled()
|
/drivers/staging/lustre/lustre/osc/ |
D | osc_lock.c | 131 olock->l_req_mode == olock->l_granted_mode && in osc_lock_invariant() 165 if (dlmlock->l_granted_mode == dlmlock->l_req_mode) { in osc_lock_detach() 408 LASSERT(dlmlock->l_granted_mode == dlmlock->l_req_mode); in osc_lock_granted() 417 descr->cld_mode = osc_ldlm2cl_lock(dlmlock->l_granted_mode); in osc_lock_granted() 461 if (dlmlock->l_granted_mode == dlmlock->l_req_mode) in osc_lock_upcall0() 809 } else if (dlmlock->l_granted_mode == in osc_ldlm_completion_ast()
|
D | osc_request.c | 3143 (lock->l_granted_mode == LCK_PR || in osc_cancel_for_recovery() 3144 lock->l_granted_mode == LCK_CR) && in osc_cancel_for_recovery()
|
/drivers/staging/lustre/lustre/include/ |
D | lustre_dlm.h | 715 ldlm_mode_t l_granted_mode; member
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | wiretest.c | 3006 LASSERTF((int)offsetof(struct ldlm_lock_desc, l_granted_mode) == 44, "found %lld\n", in lustre_assert_wire_constants() 3007 (long long)(int)offsetof(struct ldlm_lock_desc, l_granted_mode)); in lustre_assert_wire_constants() 3008 LASSERTF((int)sizeof(((struct ldlm_lock_desc *)0)->l_granted_mode) == 4, "found %lld\n", in lustre_assert_wire_constants() 3009 (long long)(int)sizeof(((struct ldlm_lock_desc *)0)->l_granted_mode)); in lustre_assert_wire_constants()
|
D | pack_generic.c | 2248 __swab32s(&l->l_granted_mode); in lustre_swab_ldlm_lock_desc()
|
/drivers/staging/lustre/lustre/include/lustre/ |
D | lustre_idl.h | 2796 ldlm_mode_t l_granted_mode; member
|