Home
last modified time | relevance | path

Searched refs:LCK_PW (Results 1 – 16 of 16) sorted by relevance

/drivers/staging/lustre/lustre/osc/
Dosc_cl_internal.h532 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()
Dosc_request.c770 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()
Dosc_page.c88 dlmmode = osc_cl_lock2ldlm(mode) | LCK_PW;
/drivers/staging/lustre/lustre/include/
Dlustre_lite.h76 params->lrp_lock_mode = (cmd == OBD_BRW_READ) ? LCK_PR : LCK_PW; in lustre_build_lock_params()
Dlustre_dlm.h143 #define LCK_COMPAT_CR (LCK_COMPAT_CW | LCK_PR | LCK_PW)
Dobd.h1023 return LCK_PW; in it_to_lock_mode()
/drivers/staging/lustre/lustre/ldlm/
Dldlm_lock.c53 [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()
Dldlm_lib.c767 [LCK_PW] = LCK_COMPAT_PW,
Dldlm_flock.c689 case LCK_PW: in ldlm_flock_completion_ast()
Dldlm_lockd.c350 if (lock->l_granted_mode == LCK_PW && in ldlm_handle_gl_callback()
/drivers/staging/lustre/lustre/obdecho/
Decho_client.c1033 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/
Dfile.c2742 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()
Dllite_lib.c1779 LCK_PR | LCK_PW); in ll_update_inode()
/drivers/staging/lustre/lustre/mdc/
Dmdc_locks.c1114 LCK_CR | LCK_CW | LCK_PR | LCK_PW, in mdc_revalidate_lock()
/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h2706 LCK_PW = 2, enumerator
/drivers/staging/lustre/lustre/ptlrpc/
Dwiretest.c309 LASSERTF(LCK_PW == 2, "found %lld\n", in lustre_assert_wire_constants()
310 (long long)LCK_PW); in lustre_assert_wire_constants()