Home
last modified time | relevance | path

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

/linux-4.19.296/fs/nfs/
Dpnfs.c350 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()
506 set_bit(NFS_LSEG_VALID, &lseg->pls_flags); in pnfs_init_lseg()
524 WARN_ON(test_bit(NFS_LSEG_VALID, &lseg->pls_flags)); in pnfs_layout_remove_lseg()
528 if (test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags)) in pnfs_layout_remove_lseg()
543 if (test_and_clear_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags) && in pnfs_cache_lseg_for_layoutreturn()
563 test_bit(NFS_LSEG_VALID, &lseg->pls_flags)); in pnfs_put_lseg()
[all …]
Dpnfs.h72 unsigned long pls_flags; member
425 return test_bit(NFS_LSEG_VALID, &lseg->pls_flags) != 0; in pnfs_is_valid_lseg()
/linux-4.19.296/fs/nfs/flexfilelayout/
Dflexfilelayout.c314 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()
1324 set_bit(NFS_LSEG_LAYOUTRETURN, &hdr->lseg->pls_flags); in ff_layout_read_record_layoutstats_done()
1504 set_bit(NFS_LSEG_LAYOUTRETURN, &hdr->lseg->pls_flags); in ff_layout_write_record_layoutstats_done()
1608 set_bit(NFS_LSEG_LAYOUTRETURN, &cdata->lseg->pls_flags); in ff_layout_commit_record_layoutstats_done()
1857 test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags))) in ff_layout_initiate_commit()
/linux-4.19.296/fs/nfs/blocklayout/
Dblocklayout.c755 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()