Searched refs:pls_flags (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/fs/nfs/ |
| D | pnfs.c | 334 if (!test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags)) in pnfs_clear_layoutreturn_info() 353 clear_bit(NFS_LSEG_ROC, &lseg->pls_flags); in pnfs_clear_lseg_state() 354 clear_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags); in pnfs_clear_lseg_state() 355 if (test_and_clear_bit(NFS_LSEG_VALID, &lseg->pls_flags)) in pnfs_clear_lseg_state() 357 if (test_and_clear_bit(NFS_LSEG_LAYOUTCOMMIT, &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() 522 if (test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags)) in pnfs_layout_remove_lseg() 537 if (test_and_clear_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags) && in pnfs_cache_lseg_for_layoutreturn() 557 test_bit(NFS_LSEG_VALID, &lseg->pls_flags)); in pnfs_put_lseg() [all …]
|
| D | pnfs.h | 72 unsigned long pls_flags; member 428 return test_bit(NFS_LSEG_VALID, &lseg->pls_flags) != 0; in pnfs_is_valid_lseg()
|
| /Linux-v5.4/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() 1409 set_bit(NFS_LSEG_LAYOUTRETURN, &hdr->lseg->pls_flags); in ff_layout_read_record_layoutstats_done() 1586 set_bit(NFS_LSEG_LAYOUTRETURN, &hdr->lseg->pls_flags); in ff_layout_write_record_layoutstats_done() 1686 set_bit(NFS_LSEG_LAYOUTRETURN, &cdata->lseg->pls_flags); in ff_layout_commit_record_layoutstats_done() 1942 test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags))) in ff_layout_initiate_commit()
|
| /Linux-v5.4/fs/nfs/blocklayout/ |
| D | blocklayout.c | 755 set_bit(NFS_LSEG_UNAVAILABLE, &lseg->pls_flags); in bl_alloc_lseg() 866 test_bit(NFS_LSEG_UNAVAILABLE, &pgio->pg_lseg->pls_flags)) { in bl_pg_init_read() 928 test_bit(NFS_LSEG_UNAVAILABLE, &pgio->pg_lseg->pls_flags)) { in bl_pg_init_write()
|