Lines Matching refs:ffl
54 struct nfs4_flexfile_layout *ffl; in ff_layout_alloc_layout_hdr() local
56 ffl = kzalloc(sizeof(*ffl), gfp_flags); in ff_layout_alloc_layout_hdr()
57 if (ffl) { in ff_layout_alloc_layout_hdr()
58 pnfs_init_ds_commit_info(&ffl->commit_info); in ff_layout_alloc_layout_hdr()
59 INIT_LIST_HEAD(&ffl->error_list); in ff_layout_alloc_layout_hdr()
60 INIT_LIST_HEAD(&ffl->mirrors); in ff_layout_alloc_layout_hdr()
61 ffl->last_report_time = ktime_get(); in ff_layout_alloc_layout_hdr()
62 ffl->commit_info.ops = &ff_layout_commit_ops; in ff_layout_alloc_layout_hdr()
63 return &ffl->generic_hdr; in ff_layout_alloc_layout_hdr()
71 struct nfs4_flexfile_layout *ffl = FF_LAYOUT_FROM_HDR(lo); in ff_layout_free_layout_hdr() local
74 list_for_each_entry_safe(err, n, &ffl->error_list, list) { in ff_layout_free_layout_hdr()
78 kfree_rcu(ffl, generic_hdr.plh_rcu); in ff_layout_free_layout_hdr()
567 struct nfs4_flexfile_layout *ffl; in ff_layout_free_lseg() local
570 ffl = FF_LAYOUT_FROM_HDR(lseg->pls_layout); in ff_layout_free_lseg()
571 inode = ffl->generic_hdr.plh_inode; in ff_layout_free_lseg()
573 pnfs_generic_ds_cinfo_release_lseg(&ffl->commit_info, lseg); in ff_layout_free_lseg()
607 struct nfs4_flexfile_layout *ffl = FF_LAYOUT_FROM_HDR(mirror->layout); in nfs4_ff_layoutstat_start_io() local
616 if (ktime_to_ms(ktime_sub(now, ffl->last_report_time)) >= in nfs4_ff_layoutstat_start_io()
618 ffl->last_report_time = now; in nfs4_ff_layoutstat_start_io()