Lines Matching refs:plh_flags

265 	if (!test_and_set_bit(fail_bit, &lo->plh_flags))  in pnfs_layout_set_fail_bit()
272 if (test_and_clear_bit(fail_bit, &lo->plh_flags)) in pnfs_layout_clear_fail_bit()
302 if (test_bit(fail_bit, &lo->plh_flags) == 0) in pnfs_layout_io_test_failed()
343 clear_bit(NFS_LAYOUT_BULK_RECALL, &lo->plh_flags); in pnfs_layout_remove_lseg()
684 set_bit(NFS_LAYOUT_BULK_RECALL, &lo->plh_flags); in pnfs_layout_free_bulk_destroy_list()
806 return test_bit(NFS_LAYOUT_RETURN, &lo->plh_flags) && in pnfs_layout_returning()
817 test_bit(NFS_LAYOUT_BULK_RECALL, &lo->plh_flags) || in pnfs_layoutgets_blocked()
837 test_bit(NFS_LAYOUT_INVALID_STID, &lo->plh_flags)) { in pnfs_choose_layoutget_stateid()
923 clear_bit_unlock(NFS_LAYOUT_RETURN, &lo->plh_flags); in pnfs_clear_layoutreturn_waitbit()
925 wake_up_bit(&lo->plh_flags, NFS_LAYOUT_RETURN); in pnfs_clear_layoutreturn_waitbit()
1014 set_bit(NFS_LAYOUT_INVALID_STID, &lo->plh_flags); in _pnfs_return_layout()
1066 if (!lo || !test_and_clear_bit(NFS_LAYOUT_ROC, &lo->plh_flags) || in pnfs_roc()
1067 test_bit(NFS_LAYOUT_BULK_RECALL, &lo->plh_flags)) in pnfs_roc()
1101 &lo->plh_flags); in pnfs_roc()
1169 &lo->plh_flags); in pnfs_roc_drain()
1430 return !wait_on_bit_action(&lo->plh_flags, NFS_LAYOUT_RETURN, in pnfs_prepare_to_retry_layoutget()
1437 unsigned long *bitlock = &lo->plh_flags; in pnfs_clear_first_layoutget()
1484 if (test_bit(NFS_LAYOUT_BULK_RECALL, &lo->plh_flags)) { in pnfs_update_layout()
1500 &lo->plh_flags)) { in pnfs_update_layout()
1502 wait_on_bit(&lo->plh_flags, NFS_LAYOUT_FIRST_LAYOUTGET, in pnfs_update_layout()
1521 test_bit(NFS_LAYOUT_RETURN, &lo->plh_flags)) { in pnfs_update_layout()
1606 if (test_bit(NFS_LAYOUT_BULK_RECALL, &lo->plh_flags)) { in pnfs_layout_process()
1635 clear_bit(NFS_LAYOUT_INVALID_STID, &lo->plh_flags); in pnfs_layout_process()
1642 set_bit(NFS_LAYOUT_ROC, &lo->plh_flags); in pnfs_layout_process()
1697 set_bit(NFS_LAYOUT_RETURN, &lo->plh_flags); in pnfs_error_mark_layout_for_return()