Lines Matching refs:ffl
55 struct nfs4_flexfile_layout *ffl; in ff_layout_alloc_layout_hdr() local
57 ffl = kzalloc(sizeof(*ffl), gfp_flags); in ff_layout_alloc_layout_hdr()
58 if (ffl) { in ff_layout_alloc_layout_hdr()
59 pnfs_init_ds_commit_info(&ffl->commit_info); in ff_layout_alloc_layout_hdr()
60 INIT_LIST_HEAD(&ffl->error_list); in ff_layout_alloc_layout_hdr()
61 INIT_LIST_HEAD(&ffl->mirrors); in ff_layout_alloc_layout_hdr()
62 ffl->last_report_time = ktime_get(); in ff_layout_alloc_layout_hdr()
63 ffl->commit_info.ops = &ff_layout_commit_ops; in ff_layout_alloc_layout_hdr()
64 return &ffl->generic_hdr; in ff_layout_alloc_layout_hdr()
72 struct nfs4_flexfile_layout *ffl = FF_LAYOUT_FROM_HDR(lo); in ff_layout_free_layout_hdr() local
75 list_for_each_entry_safe(err, n, &ffl->error_list, list) { in ff_layout_free_layout_hdr()
79 kfree_rcu(ffl, generic_hdr.plh_rcu); in ff_layout_free_layout_hdr()
583 struct nfs4_flexfile_layout *ffl; in ff_layout_free_lseg() local
586 ffl = FF_LAYOUT_FROM_HDR(lseg->pls_layout); in ff_layout_free_lseg()
587 inode = ffl->generic_hdr.plh_inode; in ff_layout_free_lseg()
589 pnfs_generic_ds_cinfo_release_lseg(&ffl->commit_info, lseg); in ff_layout_free_lseg()
623 struct nfs4_flexfile_layout *ffl = FF_LAYOUT_FROM_HDR(mirror->layout); in nfs4_ff_layoutstat_start_io() local
632 if (ktime_to_ms(ktime_sub(now, ffl->last_report_time)) >= in nfs4_ff_layoutstat_start_io()
634 ffl->last_report_time = now; in nfs4_ff_layoutstat_start_io()