Lines Matching refs:list_empty
218 if (!list_empty(&lo->plh_layouts)) { in pnfs_free_layout_hdr()
246 if (!list_empty(&lo->plh_segs)) in pnfs_put_layout_hdr()
342 if (list_empty(&lo->plh_segs)) in pnfs_layout_remove_lseg()
559 if (list_empty(&lo->plh_segs)) in pnfs_mark_matching_lsegs_invalid()
581 if (list_empty(free_me)) in pnfs_free_lseg_list()
622 if (lo != NULL && list_empty(&lo->plh_bulk_destroy)) { in pnfs_layout_add_bulk_destroy_list()
671 while (!list_empty(layout_list)) { in pnfs_layout_free_bulk_destroy_list()
717 if (list_empty(&layout_list)) in pnfs_destroy_layouts_byfsid()
741 if (list_empty(&layout_list)) in pnfs_destroy_layouts_byclid()
774 int empty = list_empty(&lo->plh_segs); in pnfs_set_layout_stateid()
818 (list_empty(&lo->plh_segs) && in pnfs_layoutgets_blocked()
836 } else if (list_empty(&lo->plh_segs) || in pnfs_choose_layoutget_stateid()
993 empty = list_empty(&lo->plh_segs); in _pnfs_return_layout()
1494 first = list_empty(&lo->plh_segs); in pnfs_update_layout()
1539 if (list_empty(&lo->plh_layouts)) { in pnfs_update_layout()
1544 if (list_empty(&lo->plh_layouts)) in pnfs_update_layout()
1667 if (list_empty(&lo->plh_segs)) in pnfs_mark_matching_lsegs_return()