Home
last modified time | relevance | path

Searched refs:enqflags (Results 1 – 9 of 9) sorted by relevance

/drivers/staging/lustre/lustre/lclient/
Dlcommon_misc.c133 __u32 enqflags; in cl_get_grouplock() local
161 enqflags = CEF_MUST | (nonblock ? CEF_NONBLOCK : 0); in cl_get_grouplock()
162 descr->cld_enq_flags = enqflags; in cl_get_grouplock()
Dlcommon_cl.c519 struct cl_io *unused, __u32 enqflags) in ccc_lock_enqueue() argument
630 __u32 enqflags, enum cl_lock_mode mode, in ccc_io_one_lock_index() argument
652 descr->cld_enq_flags = enqflags; in ccc_io_one_lock_index()
670 __u32 enqflags, enum cl_lock_mode mode, in ccc_io_one_lock() argument
675 return ccc_io_one_lock_index(env, io, enqflags, mode, in ccc_io_one_lock()
/drivers/staging/lustre/lustre/osc/
Dosc_lock.c267 static __u64 osc_enq2ldlm_flags(__u32 enqflags) in osc_enq2ldlm_flags() argument
271 LASSERT((enqflags & ~CEF_MASK) == 0); in osc_enq2ldlm_flags()
273 if (enqflags & CEF_NONBLOCK) in osc_enq2ldlm_flags()
275 if (enqflags & CEF_ASYNC) in osc_enq2ldlm_flags()
277 if (enqflags & CEF_DISCARD_DATA) in osc_enq2ldlm_flags()
1103 struct cl_io *unused, __u32 enqflags) in osc_lock_enqueue() argument
1560 __u32 enqflags = lock->cll_descr.cld_enq_flags; in osc_lock_init() local
1566 clk->ols_flags = osc_enq2ldlm_flags(enqflags); in osc_lock_init()
1567 clk->ols_agl = !!(enqflags & CEF_AGL); in osc_lock_init()
1575 if (!(enqflags & CEF_MUST)) in osc_lock_init()
[all …]
/drivers/staging/lustre/lustre/include/
Dlclient.h304 struct cl_io *io, __u32 enqflags);
317 __u32 enqflags, enum cl_lock_mode mode,
320 __u32 enqflags, enum cl_lock_mode mode,
Dcl_object.h1709 struct cl_io *io, __u32 enqflags);
/drivers/staging/lustre/lustre/lov/
Dlov_lock.c474 struct cl_io *io, __u32 enqflags, int last) in lov_lock_enqueue_one() argument
479 result = cl_enqueue_try(env, sublock, io, enqflags); in lov_lock_enqueue_one()
480 if ((sublock->cll_state == CLS_ENQUEUED) && !(enqflags & CEF_AGL)) { in lov_lock_enqueue_one()
493 (enqflags & CEF_ASYNC) && (!last || (enqflags & CEF_AGL))) in lov_lock_enqueue_one()
545 struct cl_io *io, __u32 enqflags) in lov_lock_enqueue() argument
588 subenv->lse_io, enqflags, in lov_lock_enqueue()
/drivers/staging/lustre/lustre/obdclass/
Dcl_lock.c156 struct cl_lock *lock, __u32 enqflags) in cl_lock_lockdep_acquire() argument
174 struct cl_lock *lock, __u32 enqflags) in cl_lock_lockdep_acquire() argument
1250 struct cl_io *io, __u32 enqflags) in cl_enqueue_locked() argument
1260 result = cl_enqueue_try(env, lock, io, enqflags); in cl_enqueue_locked()
1273 LASSERT(ergo(result == 0 && !(enqflags & CEF_AGL), in cl_enqueue_locked()
2046 __u32 enqflags = need->cld_enq_flags; in cl_lock_request() local
2053 rc = cl_enqueue_locked(env, lock, io, enqflags); in cl_lock_request()
2056 if (!(enqflags & CEF_AGL)) { in cl_lock_request()
2059 enqflags); in cl_lock_request()
2073 LASSERT(enqflags & CEF_AGL); in cl_lock_request()
/drivers/staging/lustre/lustre/llite/
Dvvp_io.c366 __u32 enqflags = 0; in vvp_io_setattr_lock() local
371 enqflags = CEF_DISCARD_DATA; in vvp_io_setattr_lock()
381 return ccc_io_one_lock(env, io, enqflags, CLM_WRITE, in vvp_io_setattr_lock()
/drivers/staging/lustre/lustre/obdecho/
Decho_client.c1035 __u64 *cookie, __u32 enqflags) in cl_echo_enqueue0() argument
1053 descr->cld_enq_flags = enqflags; in cl_echo_enqueue0()