Lines Matching refs:pls_flags

381 		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()
670 if (test_and_clear_bit(NFS_LSEG_VALID, &lseg->pls_flags)) { in mark_lseg_invalid()
1240 if (!test_and_clear_bit(NFS_LSEG_LAYOUTCOMMIT, &lseg->pls_flags)) in pnfs_clear_layoutcommit()
1599 if (!test_and_clear_bit(NFS_LSEG_ROC, &lseg->pls_flags)) in pnfs_roc()
1605 set_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags); in pnfs_roc()
1795 if (test_bit(NFS_LSEG_VALID, &lp->pls_flags) == 0) in pnfs_generic_layout_insert_lseg()
1937 if (test_bit(NFS_LSEG_VALID, &lseg->pls_flags) && in pnfs_find_lseg()
2587 set_bit(NFS_LSEG_ROC, &lseg->pls_flags); in pnfs_layout_process()
2640 if (test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags)) in pnfs_mark_matching_lsegs_return()
2645 set_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags); in pnfs_mark_matching_lsegs_return()
2726 if (!test_bit(NFS_LSEG_VALID, &lseg->pls_flags)) in pnfs_find_first_lseg()
2728 if (test_bit(NFS_LSEG_LAYOUTRETURN, &lseg->pls_flags)) in pnfs_find_first_lseg()
2838 (test_bit(NFS_LSEG_VALID, &pgio->pg_lseg->pls_flags) && in pnfs_generic_pg_check_layout()
3245 test_and_clear_bit(NFS_LSEG_LAYOUTCOMMIT, &lseg->pls_flags)) in pnfs_list_write_lseg()
3284 if (!test_and_set_bit(NFS_LSEG_LAYOUTCOMMIT, &lseg->pls_flags)) { in pnfs_set_layoutcommit()