Searched refs:LCK_PW (Results 1 – 16 of 16) sorted by relevance
/drivers/staging/lustre/lustre/osc/ |
D | osc_cl_internal.h | 532 return LCK_PW; in osc_cl_lock2ldlm() 539 LASSERT(mode == LCK_PR || mode == LCK_PW || mode == LCK_GROUP); in osc_ldlm2cl_lock() 542 else if (mode == LCK_PW) in osc_ldlm2cl_lock()
|
D | osc_request.c | 770 count = osc_resource_get_unused(exp, oa, &cancels, LCK_PW, in osc_destroy() 2292 mode |= LCK_PW; in osc_enqueue_base() 2324 ldlm_lock_decref(lockh, LCK_PW); in osc_enqueue_base() 2416 rc |= LCK_PW; in osc_match_base() 2429 ldlm_lock_decref(lockh, LCK_PW); in osc_match_base() 2821 LCK_PR | LCK_PW, &lockh, 0); in osc_get_info() 2825 ldlm_lock_decref(&lockh, LCK_PW); in osc_get_info()
|
D | osc_page.c | 88 dlmmode = osc_cl_lock2ldlm(mode) | LCK_PW;
|
/drivers/staging/lustre/lustre/include/ |
D | lustre_lite.h | 76 params->lrp_lock_mode = (cmd == OBD_BRW_READ) ? LCK_PR : LCK_PW; in lustre_build_lock_params()
|
D | lustre_dlm.h | 143 #define LCK_COMPAT_CR (LCK_COMPAT_CW | LCK_PR | LCK_PW)
|
D | obd.h | 1023 return LCK_PW; in it_to_lock_mode()
|
/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lock.c | 53 [LCK_PW] = "PW", 715 if (mode & (LCK_EX | LCK_CW | LCK_PW | LCK_GROUP | LCK_COS)) { in ldlm_lock_addref_internal_nolock() 780 if (mode & (LCK_EX | LCK_CW | LCK_PW | LCK_GROUP | LCK_COS)) { in ldlm_lock_decref_internal_nolock() 2085 LASSERT(lock->l_granted_mode & (LCK_PW | LCK_EX)); in ldlm_lock_downgrade() 2132 LASSERTF((new_mode == LCK_PW && lock->l_granted_mode == LCK_PR), in ldlm_lock_convert()
|
D | ldlm_lib.c | 767 [LCK_PW] = LCK_COMPAT_PW,
|
D | ldlm_flock.c | 689 case LCK_PW: in ldlm_flock_completion_ast()
|
D | ldlm_lockd.c | 350 if (lock->l_granted_mode == LCK_PW && in ldlm_handle_gl_callback()
|
/drivers/staging/lustre/lustre/obdecho/ |
D | echo_client.c | 1033 descr->cld_mode = mode == LCK_PW ? CLM_WRITE : CLM_READ; in cl_echo_enqueue0() 1191 rw == READ ? LCK_PR : LCK_PW, &lh.cookie, in cl_echo_object_brw() 1795 if (!(mode == LCK_PR || mode == LCK_PW)) in echo_client_enqueue()
|
/drivers/staging/lustre/lustre/llite/ |
D | file.c | 2742 einfo.ei_mode = LCK_PW; in ll_file_flock() 2830 (LCK_CR|LCK_CW|LCK_PR|LCK_PW) : l_req_mode; in ll_have_md_lock() 3561 LCK_CR | LCK_CW | LCK_PR | LCK_PW); in ll_layout_refresh()
|
D | llite_lib.c | 1779 LCK_PR | LCK_PW); in ll_update_inode()
|
/drivers/staging/lustre/lustre/mdc/ |
D | mdc_locks.c | 1114 LCK_CR | LCK_CW | LCK_PR | LCK_PW, in mdc_revalidate_lock()
|
/drivers/staging/lustre/lustre/include/lustre/ |
D | lustre_idl.h | 2706 LCK_PW = 2, enumerator
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | wiretest.c | 309 LASSERTF(LCK_PW == 2, "found %lld\n", in lustre_assert_wire_constants() 310 (long long)LCK_PW); in lustre_assert_wire_constants()
|