Lines Matching refs:pls_flags
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()
563 if (test_bit(NFS_LSEG_VALID, &lseg->pls_flags)) { in pnfs_put_lseg()
613 if (test_and_clear_bit(NFS_LSEG_VALID, &lseg->pls_flags)) { in mark_lseg_invalid()
1089 if (!test_and_clear_bit(NFS_LSEG_LAYOUTCOMMIT, &lseg->pls_flags)) in pnfs_clear_layoutcommit()
1221 if (test_bit(NFS_LSEG_LAYOUTRETURN, &s->pls_flags)) in pnfs_layout_need_return()
1406 if (!test_and_clear_bit(NFS_LSEG_ROC, &lseg->pls_flags)) in pnfs_roc()
1412 set_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags); in pnfs_roc()
1597 if (test_bit(NFS_LSEG_VALID, &lp->pls_flags) == 0) in pnfs_generic_layout_insert_lseg()
1739 if (test_bit(NFS_LSEG_VALID, &lseg->pls_flags) && in pnfs_find_lseg()
2352 set_bit(NFS_LSEG_ROC, &lseg->pls_flags); in pnfs_layout_process()
2414 set_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags); in pnfs_mark_matching_lsegs_return()
2471 test_bit(NFS_LSEG_VALID, &pgio->pg_lseg->pls_flags)) in pnfs_generic_pg_check_layout()
2893 test_and_clear_bit(NFS_LSEG_LAYOUTCOMMIT, &lseg->pls_flags)) in pnfs_list_write_lseg()
2932 if (!test_and_set_bit(NFS_LSEG_LAYOUTCOMMIT, &lseg->pls_flags)) { in pnfs_set_layoutcommit()