Home
last modified time | relevance | path

Searched refs:oe_refc (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_cache.c115 atomic_read(&__ext->oe_refc), \
191 if (atomic_read(&ext->oe_refc) <= 0) { in osc_extent_sanity_check0()
196 if (atomic_read(&ext->oe_refc) < atomic_read(&ext->oe_users)) { in osc_extent_sanity_check0()
355 atomic_set(&ext->oe_refc, 1); in osc_extent_alloc()
373 LASSERT(atomic_read(&ext->oe_refc) >= 0); in osc_extent_get()
374 atomic_inc(&ext->oe_refc); in osc_extent_get()
380 LASSERT(atomic_read(&ext->oe_refc) > 0); in osc_extent_put()
381 if (atomic_dec_and_test(&ext->oe_refc)) { in osc_extent_put()
402 LASSERT(atomic_read(&ext->oe_refc) > 1); in osc_extent_put_trust()
404 atomic_dec(&ext->oe_refc); in osc_extent_put_trust()
Dosc_cl_internal.h616 atomic_t oe_refc; member