Home
last modified time | relevance | path

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

/linux-6.1.9/fs/nfs/
Dpnfs.c380 if (!test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags)) in pnfs_clear_layoutreturn_info()
399 clear_bit(NFS_LSEG_ROC, &lseg->pls_flags); in pnfs_clear_lseg_state()
400 clear_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags); in pnfs_clear_lseg_state()
401 if (test_and_clear_bit(NFS_LSEG_VALID, &lseg->pls_flags)) in pnfs_clear_lseg_state()
403 if (test_and_clear_bit(NFS_LSEG_LAYOUTCOMMIT, &lseg->pls_flags)) in pnfs_clear_lseg_state()
548 set_bit(NFS_LSEG_VALID, &lseg->pls_flags); in pnfs_init_lseg()
566 WARN_ON(test_bit(NFS_LSEG_VALID, &lseg->pls_flags)); in pnfs_layout_remove_lseg()
570 if (test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags)) in pnfs_layout_remove_lseg()
585 if (test_and_clear_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags) && in pnfs_cache_lseg_for_layoutreturn()
605 test_bit(NFS_LSEG_VALID, &lseg->pls_flags)); in pnfs_put_lseg()
[all …]
Dpnfs.h75 unsigned long pls_flags; member
457 return test_bit(NFS_LSEG_VALID, &lseg->pls_flags) != 0; in pnfs_is_valid_lseg()
/linux-6.1.9/fs/nfs/flexfilelayout/
Dflexfilelayout.c314 if (test_bit(NFS_LSEG_LAYOUTRETURN, &old->pls_flags)) in ff_lseg_merge()
336 if (test_bit(NFS_LSEG_ROC, &old->pls_flags)) in ff_lseg_merge()
337 set_bit(NFS_LSEG_ROC, &new->pls_flags); in ff_lseg_merge()
1371 set_bit(NFS_LSEG_LAYOUTRETURN, &hdr->lseg->pls_flags); in ff_layout_read_record_layoutstats_done()
1556 set_bit(NFS_LSEG_LAYOUTRETURN, &hdr->lseg->pls_flags); in ff_layout_write_record_layoutstats_done()
1661 set_bit(NFS_LSEG_LAYOUTRETURN, &cdata->lseg->pls_flags); in ff_layout_commit_record_layoutstats_done()
1925 test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags))) in ff_layout_initiate_commit()
/linux-6.1.9/fs/nfs/blocklayout/
Dblocklayout.c731 set_bit(NFS_LSEG_UNAVAILABLE, &lseg->pls_flags); in bl_alloc_lseg()
842 test_bit(NFS_LSEG_UNAVAILABLE, &pgio->pg_lseg->pls_flags)) { in bl_pg_init_read()
904 test_bit(NFS_LSEG_UNAVAILABLE, &pgio->pg_lseg->pls_flags)) { in bl_pg_init_write()