Home
last modified time | relevance | path

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

/fs/nfs/
Dpnfs.c355 if (test_and_clear_bit(NFS_LSEG_VALID, &lseg->pls_flags)) in pnfs_clear_lseg_state()
500 set_bit(NFS_LSEG_VALID, &lseg->pls_flags); in pnfs_init_lseg()
518 WARN_ON(test_bit(NFS_LSEG_VALID, &lseg->pls_flags)); in pnfs_layout_remove_lseg()
557 test_bit(NFS_LSEG_VALID, &lseg->pls_flags)); in pnfs_put_lseg()
563 if (test_bit(NFS_LSEG_VALID, &lseg->pls_flags)) { in pnfs_put_lseg()
613 if (test_and_clear_bit(NFS_LSEG_VALID, &lseg->pls_flags)) { in mark_lseg_invalid()
1597 if (test_bit(NFS_LSEG_VALID, &lp->pls_flags) == 0) in pnfs_generic_layout_insert_lseg()
1739 if (test_bit(NFS_LSEG_VALID, &lseg->pls_flags) && in pnfs_find_lseg()
2471 test_bit(NFS_LSEG_VALID, &pgio->pg_lseg->pls_flags)) in pnfs_generic_pg_check_layout()
Dpnfs.h41 NFS_LSEG_VALID = 0, /* cleared when lseg is recalled/returned */ enumerator
428 return test_bit(NFS_LSEG_VALID, &lseg->pls_flags) != 0; in pnfs_is_valid_lseg()