Home
last modified time | relevance | path

Searched refs:LCK_PR (Results 1 – 17 of 17) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_cl_internal.h529 return LCK_PR; in osc_cl_lock2ldlm()
538 LASSERT(mode == LCK_PR || mode == LCK_PW || mode == LCK_GROUP); in osc_ldlm2cl_lock()
539 if (mode == LCK_PR) in osc_ldlm2cl_lock()
Dosc_request.c2230 if (einfo->ei_mode == LCK_PR) in osc_enqueue_base()
2251 ldlm_lock_addref(lockh, LCK_PR); in osc_enqueue_base()
2358 if (mode == LCK_PR) in osc_match_base()
2371 ldlm_lock_addref(lockh, LCK_PR); in osc_match_base()
2762 LCK_PR | LCK_PW, &lockh, 0); in osc_get_info()
2764 if (mode != LCK_PR) { in osc_get_info()
2765 ldlm_lock_addref(&lockh, LCK_PR); in osc_get_info()
2815 ldlm_lock_decref(&lockh, LCK_PR); in osc_get_info()
3085 (lock->l_granted_mode == LCK_PR || in osc_cancel_for_recovery()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dlustre_lite.h75 params->lrp_lock_mode = (cmd == OBD_BRW_READ) ? LCK_PR : LCK_PW; in lustre_build_lock_params()
Dlustre_dlm.h140 #define LCK_COMPAT_PR (LCK_COMPAT_PW | LCK_PR)
142 #define LCK_COMPAT_CR (LCK_COMPAT_CW | LCK_PR | LCK_PW)
Dobd.h888 return LCK_PR; in it_to_lock_mode()
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/
Dmdc_locks.c295 mode = LCK_PR; in mdc_intent_open_pack()
300 mode = LCK_PR; in mdc_intent_open_pack()
1080 LCK_CR | LCK_CW | LCK_PR | LCK_PW, in mdc_revalidate_lock()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dxattr_cache.c289 LCK_PR); in ll_xattr_find_get_lock()
Dfile.c306 lockmode = LCK_PR; in ll_md_close()
2692 einfo.ei_mode = LCK_PR; in ll_file_flock()
2790 (LCK_CR|LCK_CW|LCK_PR|LCK_PW) : l_req_mode; in ll_have_md_lock()
3504 LCK_CR | LCK_CW | LCK_PR | LCK_PW); in ll_layout_refresh()
Dnamei.c218 case LCK_PR: in ll_md_blocking_ast()
Ddir.c350 mode = LCK_PR; in ll_get_dir_page()
Dllite_lib.c1611 LCK_PR | LCK_PW); in ll_update_inode()
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_lock.c54 [LCK_PR] = "PR",
683 if (mode & (LCK_NL | LCK_CR | LCK_PR)) { in ldlm_lock_addref_internal_nolock()
747 if (mode & (LCK_NL | LCK_CR | LCK_PR)) { in ldlm_lock_decref_internal_nolock()
Dldlm_flock.c546 case LCK_PR: in ldlm_flock_completion_ast()
Dldlm_lib.c766 [LCK_PR] = LCK_COMPAT_PR,
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/
Decho_client.c1210 rw == READ ? LCK_PR : LCK_PW, &lh.cookie, in cl_echo_object_brw()
1818 if (!(mode == LCK_PR || mode == LCK_PW)) in echo_client_enqueue()
/linux-4.4.14/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h2694 LCK_PR = 4, enumerator
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dwiretest.c313 LASSERTF(LCK_PR == 4, "found %lld\n", in lustre_assert_wire_constants()
314 (long long)LCK_PR); in lustre_assert_wire_constants()