Home
last modified time | relevance | path

Searched refs:CLM_WRITE (Results 1 – 10 of 10) sorted by relevance

/drivers/staging/lustre/lustre/osc/
Dosc_cl_internal.h527 LASSERT(mode == CLM_READ || mode == CLM_WRITE || mode == CLM_GROUP); in osc_cl_lock2ldlm()
530 else if (mode == CLM_WRITE) in osc_cl_lock2ldlm()
542 return CLM_WRITE; in osc_ldlm2cl_lock()
Dosc_page.c224 LINVRNT(osc_page_protected(env, opg, CLM_WRITE, 0)); in osc_page_cache_add()
547 crt == CRT_WRITE ? CLM_WRITE : CLM_READ, 1)); in osc_page_submit()
Dosc_lock.c1258 if (descr->cld_mode >= CLM_WRITE) { in osc_lock_flush()
Dosc_cache.c647 LASSERT(lock->cll_descr.cld_mode >= CLM_WRITE); in osc_extent_find()
/drivers/staging/lustre/lustre/obdclass/
Dcl_lock.c208 LINVRNT(need == CLM_READ || need == CLM_WRITE || in cl_lock_mode_match()
210 LINVRNT(has == CLM_READ || has == CLM_WRITE || in cl_lock_mode_match()
213 CLASSERT(CLM_READ < CLM_WRITE); in cl_lock_mode_match()
214 CLASSERT(CLM_WRITE < CLM_GROUP); in cl_lock_mode_match()
1873 LASSERT(lock->cll_descr.cld_mode >= CLM_WRITE); in discard_cb()
2156 [CLM_WRITE] = "W", in cl_lock_mode_name()
Dcl_io.c273 if (d1->cld_mode == CLM_WRITE && d0->cld_mode != CLM_WRITE) in cl_lock_descr_merge()
274 d0->cld_mode = CLM_WRITE; in cl_lock_descr_merge()
/drivers/staging/lustre/lustre/llite/
Dvvp_io.c200 return CLM_WRITE; in vvp_mode_from_vma()
346 return vvp_io_rw_lock(env, io, CLM_WRITE, start, end); in vvp_io_write_lock()
381 return ccc_io_one_lock(env, io, enqflags, CLM_WRITE, in vvp_io_setattr_lock()
/drivers/staging/lustre/lustre/lclient/
Dlcommon_cl.c572 result = descr->cld_mode != CLM_WRITE; in ccc_lock_fits_into()
/drivers/staging/lustre/lustre/include/
Dcl_object.h811 CLM_WRITE, enumerator
/drivers/staging/lustre/lustre/obdecho/
Decho_client.c1052 descr->cld_mode = mode == LCK_PW ? CLM_WRITE : CLM_READ; in cl_echo_enqueue0()