Home
last modified time | relevance | path

Searched refs:devinfo (Results 1 – 5 of 5) sorted by relevance

/fs/nfs/flexfilelayout/
Dflexfilelayout.c38 struct nfs42_layoutstat_devinfo *devinfo,
41 const struct nfs42_layoutstat_devinfo *devinfo,
2039 const struct nfs42_layoutstat_devinfo *devinfo) in ff_layout_encode_ff_iostat_head() argument
2044 p = xdr_encode_hyper(p, devinfo->offset); in ff_layout_encode_ff_iostat_head()
2045 p = xdr_encode_hyper(p, devinfo->length); in ff_layout_encode_ff_iostat_head()
2048 p = xdr_encode_hyper(p, devinfo->read_count); in ff_layout_encode_ff_iostat_head()
2049 p = xdr_encode_hyper(p, devinfo->read_bytes); in ff_layout_encode_ff_iostat_head()
2050 p = xdr_encode_hyper(p, devinfo->write_count); in ff_layout_encode_ff_iostat_head()
2051 p = xdr_encode_hyper(p, devinfo->write_bytes); in ff_layout_encode_ff_iostat_head()
2052 encode_opaque_fixed(xdr, devinfo->dev_id.data, NFS4_DEVICEID4_SIZE); in ff_layout_encode_ff_iostat_head()
[all …]
Dflexfilelayout.h115 struct nfs42_layoutstat_devinfo devinfo[FF_LAYOUTSTATS_MAXDEV]; member
/fs/nfs/
Dnfs42xdr.c214 struct nfs42_layoutstat_devinfo *devinfo, in encode_layoutstats() argument
221 p = xdr_encode_hyper(p, devinfo->offset); in encode_layoutstats()
222 p = xdr_encode_hyper(p, devinfo->length); in encode_layoutstats()
225 p = xdr_encode_hyper(p, devinfo->read_count); in encode_layoutstats()
226 p = xdr_encode_hyper(p, devinfo->read_bytes); in encode_layoutstats()
227 p = xdr_encode_hyper(p, devinfo->write_count); in encode_layoutstats()
228 p = xdr_encode_hyper(p, devinfo->write_bytes); in encode_layoutstats()
229 p = xdr_encode_opaque_fixed(p, devinfo->dev_id.data, in encode_layoutstats()
232 *p++ = cpu_to_be32(devinfo->layout_type); in encode_layoutstats()
233 if (devinfo->ld_private.ops) in encode_layoutstats()
[all …]
Dnfs42proc.c625 struct nfs42_layoutstat_devinfo *devinfo = data->args.devinfo; in nfs42_layoutstat_release() local
629 if (devinfo[i].ld_private.ops && devinfo[i].ld_private.ops->free) in nfs42_layoutstat_release()
630 devinfo[i].ld_private.ops->free(&devinfo[i].ld_private); in nfs42_layoutstat_release()
638 kfree(data->args.devinfo); in nfs42_layoutstat_release()
/fs/fuse/
Dcuse.c270 static int cuse_parse_devinfo(char *p, size_t len, struct cuse_devinfo *devinfo) in cuse_parse_devinfo() argument
283 devinfo->name = val; in cuse_parse_devinfo()
288 if (!devinfo->name || !strlen(devinfo->name)) { in cuse_parse_devinfo()
324 struct cuse_devinfo devinfo = { }; in cuse_process_init_reply() local
341 &devinfo); in cuse_process_init_reply()
348 rc = alloc_chrdev_region(&devt, MINOR(devt), 1, devinfo.name); in cuse_process_init_reply()
350 rc = register_chrdev_region(devt, 1, devinfo.name); in cuse_process_init_reply()
368 dev_set_name(dev, "%s", devinfo.name); in cuse_process_init_reply()