Lines Matching refs:plh_segs
247 if (!list_empty(&lo->plh_segs)) in pnfs_put_layout_hdr()
343 if (list_empty(&lo->plh_segs)) in pnfs_layout_remove_lseg()
358 list_for_each_entry(s, &lo->plh_segs, pls_list) in pnfs_layout_need_return()
576 if (list_empty(&lo->plh_segs)) in pnfs_mark_matching_lsegs_invalid()
578 list_for_each_entry_safe(lseg, next, &lo->plh_segs, pls_list) in pnfs_mark_matching_lsegs_invalid()
791 int empty = list_empty(&lo->plh_segs); in pnfs_set_layout_stateid()
840 } else if (list_empty(&lo->plh_segs) || in pnfs_choose_layoutget_stateid()
932 list_for_each_entry_safe(lseg, tmp, &nfsi->layout->plh_segs, pls_list) { in pnfs_clear_layoutcommit()
1011 empty = list_empty(&lo->plh_segs); in _pnfs_return_layout()
1106 list_for_each_entry_safe(lseg, tmp, &lo->plh_segs, pls_list) in pnfs_roc()
1247 list_for_each_entry_safe(lp, tmp, &lo->plh_segs, pls_list) { in pnfs_generic_layout_insert_lseg()
1266 list_add_tail(&lseg->pls_list, &lo->plh_segs); in pnfs_generic_layout_insert_lseg()
1307 INIT_LIST_HEAD(&lo->plh_segs); in alloc_init_layout_hdr()
1379 list_for_each_entry(lseg, &lo->plh_segs, pls_list) { in pnfs_find_lseg()
1552 first = list_empty(&lo->plh_segs); in pnfs_update_layout()
1741 if (list_empty(&lo->plh_segs)) in pnfs_mark_matching_lsegs_return()
1744 list_for_each_entry_safe(lseg, next, &lo->plh_segs, pls_list) in pnfs_mark_matching_lsegs_return()
2157 list_for_each_entry(lseg, &NFS_I(inode)->layout->plh_segs, pls_list) { in pnfs_list_write_lseg()