Searched refs:l_req_mode (Results 1 – 15 of 15) sorted by relevance
/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lock.c | 624 desc->l_req_mode = lock->l_req_mode; in ldlm_lock2desc() 930 if (lock->l_req_mode != req->l_req_mode) { in search_granted_lock() 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() 1118 if (!(lock->l_req_mode & *mode)) in search_queue() 1120 match = lock->l_req_mode; in search_queue() 1250 mode = old_lock->l_req_mode; in ldlm_lock_match() 1516 lock->l_req_mode = mode; in ldlm_lock_create() 1577 rc = ns->ns_policy(ns, lockp, cookie, lock->l_req_mode, *flags, in ldlm_lock_enqueue() 1605 if (local && lock->l_req_mode == lock->l_granted_mode) { in ldlm_lock_enqueue() [all …]
|
D | ldlm_flock.c | 256 ldlm_mode_t mode = req->l_req_mode; in ldlm_process_flock_lock() 333 req->l_req_mode = lock->l_granted_mode; in ldlm_process_flock_lock() 365 req->l_req_mode = LCK_NL; in ldlm_process_flock_lock() 447 ldlm_flock_destroy(lock, lock->l_req_mode, *flags); 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() 603 ldlm_lock_decref_internal(lock, lock->l_req_mode); in ldlm_flock_completion_ast()
|
D | ldlm_request.c | 473 if ((lock->l_req_mode != lock->l_granted_mode) && in failed_lock_cleanup() 610 int newmode = reply->lock_desc.l_req_mode; in ldlm_cli_enqueue_fini() 612 if (newmode && newmode != lock->l_req_mode) { in ldlm_cli_enqueue_fini() 615 lock->l_req_mode = newmode; in ldlm_cli_enqueue_fini() 665 if (lock->l_req_mode != lock->l_granted_mode) in ldlm_cli_enqueue_fini() 1043 body->lock_desc.l_req_mode = new_mode; in ldlm_cli_convert() 2186 if (lock->l_granted_mode == lock->l_req_mode) in replay_one_lock()
|
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()
|
D | ldlm_extent.c | 168 LASSERT(lock->l_granted_mode == lock->l_req_mode); in ldlm_extent_add_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() 461 if (dlmlock->l_granted_mode == dlmlock->l_req_mode) in osc_lock_upcall0() 810 dlmlock->l_req_mode) { in osc_ldlm_completion_ast()
|
/drivers/staging/lustre/lustre/mdc/ |
D | mdc_locks.c | 594 if (lock->l_req_mode != einfo->ei_mode) { in mdc_finish_enqueue() 595 ldlm_lock_addref(lockh, lock->l_req_mode); in mdc_finish_enqueue() 597 einfo->ei_mode = lock->l_req_mode; in mdc_finish_enqueue()
|
/drivers/staging/lustre/lustre/llite/ |
D | namei.c | 231 ll_have_md_lock(inode, &bits, lock->l_req_mode); in ll_md_blocking_ast() 236 switch (lock->l_req_mode) { in ll_md_blocking_ast()
|
D | file.c | 2825 int ll_have_md_lock(struct inode *inode, __u64 *bits, ldlm_mode_t l_req_mode) in ll_have_md_lock() argument 2829 ldlm_mode_t mode = (l_req_mode == LCK_MINMODE) ? in ll_have_md_lock() 2830 (LCK_CR|LCK_CW|LCK_PR|LCK_PW) : l_req_mode; in ll_have_md_lock()
|
D | llite_internal.h | 742 ldlm_mode_t l_req_mode);
|
/drivers/staging/lustre/lustre/include/ |
D | lustre_dlm.h | 711 ldlm_mode_t l_req_mode; member
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | wiretest.c | 3002 LASSERTF((int)offsetof(struct ldlm_lock_desc, l_req_mode) == 40, "found %lld\n", in lustre_assert_wire_constants() 3003 (long long)(int)offsetof(struct ldlm_lock_desc, l_req_mode)); in lustre_assert_wire_constants() 3004 LASSERTF((int)sizeof(((struct ldlm_lock_desc *)0)->l_req_mode) == 4, "found %lld\n", in lustre_assert_wire_constants() 3005 (long long)(int)sizeof(((struct ldlm_lock_desc *)0)->l_req_mode)); in lustre_assert_wire_constants()
|
D | pack_generic.c | 2247 __swab32s(&l->l_req_mode); in lustre_swab_ldlm_lock_desc()
|
/drivers/staging/lustre/lustre/include/lustre/ |
D | lustre_idl.h | 2795 ldlm_mode_t l_req_mode; member
|