Home
last modified time | relevance | path

Searched refs:pls_flags (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/fs/nfs/
Dpnfs.c381 if (!test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags)) in pnfs_clear_layoutreturn_info()
400 clear_bit(NFS_LSEG_ROC, &lseg->pls_flags); in pnfs_clear_lseg_state()
401 clear_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags); in pnfs_clear_lseg_state()
402 if (test_and_clear_bit(NFS_LSEG_VALID, &lseg->pls_flags)) in pnfs_clear_lseg_state()
404 if (test_and_clear_bit(NFS_LSEG_LAYOUTCOMMIT, &lseg->pls_flags)) in pnfs_clear_lseg_state()
561 set_bit(NFS_LSEG_VALID, &lseg->pls_flags); in pnfs_init_lseg()
579 WARN_ON(test_bit(NFS_LSEG_VALID, &lseg->pls_flags)); in pnfs_layout_remove_lseg()
583 if (test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags)) in pnfs_layout_remove_lseg()
598 if (test_and_clear_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags) && in pnfs_cache_lseg_for_layoutreturn()
618 test_bit(NFS_LSEG_VALID, &lseg->pls_flags)); in pnfs_put_lseg()
[all …]
Dpnfs.h76 unsigned long pls_flags; member
467 return test_bit(NFS_LSEG_VALID, &lseg->pls_flags) != 0; in pnfs_is_valid_lseg()
/linux-6.12.1/fs/nfs/blocklayout/
Dblocklayout.c740 set_bit(NFS_LSEG_UNAVAILABLE, &lseg->pls_flags); in bl_alloc_lseg()
851 test_bit(NFS_LSEG_UNAVAILABLE, &pgio->pg_lseg->pls_flags)) { in bl_pg_init_read()
912 test_bit(NFS_LSEG_UNAVAILABLE, &pgio->pg_lseg->pls_flags)) { in bl_pg_init_write()
/linux-6.12.1/fs/nfs/flexfilelayout/
Dflexfilelayout.c330 if (test_bit(NFS_LSEG_LAYOUTRETURN, &old->pls_flags)) in ff_lseg_merge()
352 if (test_bit(NFS_LSEG_ROC, &old->pls_flags)) in ff_lseg_merge()
353 set_bit(NFS_LSEG_ROC, &new->pls_flags); in ff_lseg_merge()
1380 set_bit(NFS_LSEG_LAYOUTRETURN, &hdr->lseg->pls_flags); in ff_layout_read_record_layoutstats_done()
1565 set_bit(NFS_LSEG_LAYOUTRETURN, &hdr->lseg->pls_flags); in ff_layout_write_record_layoutstats_done()
1670 set_bit(NFS_LSEG_LAYOUTRETURN, &cdata->lseg->pls_flags); in ff_layout_commit_record_layoutstats_done()
1952 test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags))) in ff_layout_initiate_commit()