Searched refs:pls_flags (Results 1 – 4 of 4) sorted by relevance
/fs/nfs/ |
D | pnfs.c | 350 if (!test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags)) in pnfs_clear_layoutreturn_info() 369 clear_bit(NFS_LSEG_ROC, &lseg->pls_flags); in pnfs_clear_lseg_state() 370 clear_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags); in pnfs_clear_lseg_state() 371 if (test_and_clear_bit(NFS_LSEG_VALID, &lseg->pls_flags)) in pnfs_clear_lseg_state() 373 if (test_and_clear_bit(NFS_LSEG_LAYOUTCOMMIT, &lseg->pls_flags)) in pnfs_clear_lseg_state() 516 set_bit(NFS_LSEG_VALID, &lseg->pls_flags); in pnfs_init_lseg() 534 WARN_ON(test_bit(NFS_LSEG_VALID, &lseg->pls_flags)); in pnfs_layout_remove_lseg() 538 if (test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags)) in pnfs_layout_remove_lseg() 553 if (test_and_clear_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags) && in pnfs_cache_lseg_for_layoutreturn() 573 test_bit(NFS_LSEG_VALID, &lseg->pls_flags)); in pnfs_put_lseg() [all …]
|
D | pnfs.h | 72 unsigned long pls_flags; member 429 return test_bit(NFS_LSEG_VALID, &lseg->pls_flags) != 0; in pnfs_is_valid_lseg()
|
/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 314 if (test_bit(NFS_LSEG_LAYOUTRETURN, &old->pls_flags)) in ff_lseg_merge() 334 if (test_bit(NFS_LSEG_ROC, &old->pls_flags)) in ff_lseg_merge() 335 set_bit(NFS_LSEG_ROC, &new->pls_flags); in ff_lseg_merge() 1413 set_bit(NFS_LSEG_LAYOUTRETURN, &hdr->lseg->pls_flags); in ff_layout_read_record_layoutstats_done() 1590 set_bit(NFS_LSEG_LAYOUTRETURN, &hdr->lseg->pls_flags); in ff_layout_write_record_layoutstats_done() 1690 set_bit(NFS_LSEG_LAYOUTRETURN, &cdata->lseg->pls_flags); in ff_layout_commit_record_layoutstats_done() 1946 test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags))) in ff_layout_initiate_commit()
|
/fs/nfs/blocklayout/ |
D | blocklayout.c | 757 set_bit(NFS_LSEG_UNAVAILABLE, &lseg->pls_flags); in bl_alloc_lseg() 868 test_bit(NFS_LSEG_UNAVAILABLE, &pgio->pg_lseg->pls_flags)) { in bl_pg_init_read() 930 test_bit(NFS_LSEG_UNAVAILABLE, &pgio->pg_lseg->pls_flags)) { in bl_pg_init_write()
|