Searched refs:ds_versions (Results 1 – 3 of 3) sorted by relevance
33 kfree(mirror_ds->ds_versions); in nfs4_ff_layout_free_deviceid()48 struct nfs4_ff_ds_version *ds_versions = NULL; in nfs4_ff_alloc_deviceid_node() local99 ds_versions = kzalloc(version_count * sizeof(struct nfs4_ff_ds_version), in nfs4_ff_alloc_deviceid_node()101 if (!ds_versions) in nfs4_ff_alloc_deviceid_node()110 ds_versions[i].version = be32_to_cpup(p++); in nfs4_ff_alloc_deviceid_node()111 ds_versions[i].minor_version = be32_to_cpup(p++); in nfs4_ff_alloc_deviceid_node()112 ds_versions[i].rsize = nfs_block_size(be32_to_cpup(p++), NULL); in nfs4_ff_alloc_deviceid_node()113 ds_versions[i].wsize = nfs_block_size(be32_to_cpup(p++), NULL); in nfs4_ff_alloc_deviceid_node()114 ds_versions[i].tightly_coupled = be32_to_cpup(p); in nfs4_ff_alloc_deviceid_node()116 if (ds_versions[i].rsize > NFS_MAX_FILE_IO_SIZE) in nfs4_ff_alloc_deviceid_node()[all …]
37 struct nfs4_ff_ds_version *ds_versions; member171 return FF_LAYOUT_COMP(lseg, ds_idx)->mirror_ds->ds_versions[0].version; in nfs4_ff_layout_ds_version()
897 pgm->pg_bsize = mirror->mirror_ds->ds_versions[0].rsize; in ff_layout_pg_init_read()959 pgm->pg_bsize = mirror->mirror_ds->ds_versions[0].wsize; in ff_layout_pg_init_write()