Searched refs:CLM_WRITE (Results 1 – 10 of 10) sorted by relevance
/drivers/staging/lustre/lustre/osc/ |
D | osc_cl_internal.h | 527 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()
|
D | osc_page.c | 224 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()
|
D | osc_lock.c | 1258 if (descr->cld_mode >= CLM_WRITE) { in osc_lock_flush()
|
D | osc_cache.c | 647 LASSERT(lock->cll_descr.cld_mode >= CLM_WRITE); in osc_extent_find()
|
/drivers/staging/lustre/lustre/obdclass/ |
D | cl_lock.c | 208 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()
|
D | cl_io.c | 273 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/ |
D | vvp_io.c | 200 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/ |
D | lcommon_cl.c | 572 result = descr->cld_mode != CLM_WRITE; in ccc_lock_fits_into()
|
/drivers/staging/lustre/lustre/include/ |
D | cl_object.h | 811 CLM_WRITE, enumerator
|
/drivers/staging/lustre/lustre/obdecho/ |
D | echo_client.c | 1052 descr->cld_mode = mode == LCK_PW ? CLM_WRITE : CLM_READ; in cl_echo_enqueue0()
|