Lines Matching refs:ffl
48 struct nfs4_flexfile_layout *ffl; in ff_layout_alloc_layout_hdr() local
50 ffl = kzalloc(sizeof(*ffl), gfp_flags); in ff_layout_alloc_layout_hdr()
51 if (ffl) { in ff_layout_alloc_layout_hdr()
52 pnfs_init_ds_commit_info(&ffl->commit_info); in ff_layout_alloc_layout_hdr()
53 INIT_LIST_HEAD(&ffl->error_list); in ff_layout_alloc_layout_hdr()
54 INIT_LIST_HEAD(&ffl->mirrors); in ff_layout_alloc_layout_hdr()
55 ffl->last_report_time = ktime_get(); in ff_layout_alloc_layout_hdr()
56 ffl->commit_info.ops = &ff_layout_commit_ops; in ff_layout_alloc_layout_hdr()
57 return &ffl->generic_hdr; in ff_layout_alloc_layout_hdr()
65 struct nfs4_flexfile_layout *ffl = FF_LAYOUT_FROM_HDR(lo); in ff_layout_free_layout_hdr() local
68 list_for_each_entry_safe(err, n, &ffl->error_list, list) { in ff_layout_free_layout_hdr()
72 kfree_rcu(ffl, generic_hdr.plh_rcu); in ff_layout_free_layout_hdr()
561 struct nfs4_flexfile_layout *ffl; in ff_layout_free_lseg() local
564 ffl = FF_LAYOUT_FROM_HDR(lseg->pls_layout); in ff_layout_free_lseg()
565 inode = ffl->generic_hdr.plh_inode; in ff_layout_free_lseg()
567 pnfs_generic_ds_cinfo_release_lseg(&ffl->commit_info, lseg); in ff_layout_free_lseg()
601 struct nfs4_flexfile_layout *ffl = FF_LAYOUT_FROM_HDR(mirror->layout); in nfs4_ff_layoutstat_start_io() local
610 if (ktime_to_ms(ktime_sub(now, ffl->last_report_time)) >= in nfs4_ff_layoutstat_start_io()
612 ffl->last_report_time = now; in nfs4_ff_layoutstat_start_io()