ff_args 2013 fs/nfs/flexfilelayout/flexfilelayout.c const struct nfs4_flexfile_layoutreturn_args *ff_args) ff_args 2021 fs/nfs/flexfilelayout/flexfilelayout.c *start = cpu_to_be32(ff_args->num_errors); ff_args 2023 fs/nfs/flexfilelayout/flexfilelayout.c return ff_layout_encode_ds_ioerr(xdr, &ff_args->errors); ff_args 2064 fs/nfs/flexfilelayout/flexfilelayout.c struct nfs4_flexfile_layoutreturn_args *ff_args) ff_args 2070 fs/nfs/flexfilelayout/flexfilelayout.c *p = cpu_to_be32(ff_args->num_dev); ff_args 2071 fs/nfs/flexfilelayout/flexfilelayout.c for (i = 0; i < ff_args->num_dev; i++) ff_args 2074 fs/nfs/flexfilelayout/flexfilelayout.c &ff_args->devinfo[i]); ff_args 2110 fs/nfs/flexfilelayout/flexfilelayout.c struct nfs4_flexfile_layoutreturn_args *ff_args = ff_opaque->data; ff_args 2114 fs/nfs/flexfilelayout/flexfilelayout.c .iov_base = page_address(ff_args->pages[0]), ff_args 2126 fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_encode_ioerr(&tmp_xdr, args, ff_args); ff_args 2127 fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_encode_iostats_array(&tmp_xdr, args, ff_args); ff_args 2131 fs/nfs/flexfilelayout/flexfilelayout.c xdr_write_pages(xdr, ff_args->pages, 0, tmp_buf.len); ff_args 2139 fs/nfs/flexfilelayout/flexfilelayout.c struct nfs4_flexfile_layoutreturn_args *ff_args; ff_args 2143 fs/nfs/flexfilelayout/flexfilelayout.c ff_args = args->data; ff_args 2146 fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_free_ds_ioerr(&ff_args->errors); ff_args 2147 fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_free_iostats_array(ff_args->devinfo, ff_args->num_dev); ff_args 2149 fs/nfs/flexfilelayout/flexfilelayout.c put_page(ff_args->pages[0]); ff_args 2150 fs/nfs/flexfilelayout/flexfilelayout.c kfree(ff_args); ff_args 2161 fs/nfs/flexfilelayout/flexfilelayout.c struct nfs4_flexfile_layoutreturn_args *ff_args; ff_args 2164 fs/nfs/flexfilelayout/flexfilelayout.c ff_args = kmalloc(sizeof(*ff_args), GFP_KERNEL); ff_args 2165 fs/nfs/flexfilelayout/flexfilelayout.c if (!ff_args) ff_args 2167 fs/nfs/flexfilelayout/flexfilelayout.c ff_args->pages[0] = alloc_page(GFP_KERNEL); ff_args 2168 fs/nfs/flexfilelayout/flexfilelayout.c if (!ff_args->pages[0]) ff_args 2171 fs/nfs/flexfilelayout/flexfilelayout.c INIT_LIST_HEAD(&ff_args->errors); ff_args 2172 fs/nfs/flexfilelayout/flexfilelayout.c ff_args->num_errors = ff_layout_fetch_ds_ioerr(args->layout, ff_args 2173 fs/nfs/flexfilelayout/flexfilelayout.c &args->range, &ff_args->errors, ff_args 2177 fs/nfs/flexfilelayout/flexfilelayout.c ff_args->num_dev = ff_layout_mirror_prepare_stats(&ff_layout->generic_hdr, ff_args 2178 fs/nfs/flexfilelayout/flexfilelayout.c &ff_args->devinfo[0], ARRAY_SIZE(ff_args->devinfo)); ff_args 2182 fs/nfs/flexfilelayout/flexfilelayout.c args->ld_private->data = ff_args; ff_args 2185 fs/nfs/flexfilelayout/flexfilelayout.c kfree(ff_args);