Home
last modified time | relevance | path

Searched refs:ds_versions (Results 1 – 3 of 3) sorted by relevance

/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayoutdev.c36 kfree(mirror_ds->ds_versions); in nfs4_ff_layout_free_deviceid()
51 struct nfs4_ff_ds_version *ds_versions = NULL; in nfs4_ff_alloc_deviceid_node() local
102 ds_versions = kcalloc(version_count, in nfs4_ff_alloc_deviceid_node()
105 if (!ds_versions) in nfs4_ff_alloc_deviceid_node()
114 ds_versions[i].version = be32_to_cpup(p++); in nfs4_ff_alloc_deviceid_node()
115 ds_versions[i].minor_version = be32_to_cpup(p++); in nfs4_ff_alloc_deviceid_node()
116 ds_versions[i].rsize = nfs_io_size(be32_to_cpup(p++), in nfs4_ff_alloc_deviceid_node()
118 ds_versions[i].wsize = nfs_io_size(be32_to_cpup(p++), in nfs4_ff_alloc_deviceid_node()
120 ds_versions[i].tightly_coupled = be32_to_cpup(p); in nfs4_ff_alloc_deviceid_node()
122 if (ds_versions[i].rsize > NFS_MAX_FILE_IO_SIZE) in nfs4_ff_alloc_deviceid_node()
[all …]
H A Dflexfilelayout.h40 struct nfs4_ff_ds_version *ds_versions; member
186 return mirror->mirror_ds->ds_versions[0].version; in nfs4_ff_layout_ds_version()
H A Dflexfilelayout.c876 pgm->pg_bsize = mirror->mirror_ds->ds_versions[0].rsize; in ff_layout_pg_init_read()
938 pgm->pg_bsize = mirror->mirror_ds->ds_versions[0].wsize; in ff_layout_pg_init_write()