Home
last modified time | relevance | path

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

/linux-4.4.14/fs/nfs/
Dpnfs.c320 atomic_set(&lseg->pls_refcount, 1); in init_lseg()
410 atomic_read(&lseg->pls_refcount), in pnfs_put_lseg()
414 if (atomic_add_unless(&lseg->pls_refcount, -1, 1)) in pnfs_put_lseg()
423 if (atomic_dec_and_lock(&lseg->pls_refcount, &inode->i_lock)) { in pnfs_put_lseg()
464 atomic_read(&lseg->pls_refcount), in pnfs_put_lseg_locked()
466 if (atomic_dec_and_test(&lseg->pls_refcount)) { in pnfs_put_lseg_locked()
537 if (!atomic_dec_and_test(&lseg->pls_refcount)) in pnfs_lseg_dec_and_remove_zero()
556 atomic_read(&lseg->pls_refcount)); in mark_lseg_invalid()
1389 __func__, ret, ret ? atomic_read(&ret->pls_refcount) : 0); in pnfs_find_lseg()
Dpnfs.h66 atomic_t pls_refcount; member
406 atomic_inc(&lseg->pls_refcount); in pnfs_get_lseg()