Searched refs:mirror_ds (Results 1 – 3 of 3) sorted by relevance
23 void nfs4_ff_layout_put_deviceid(struct nfs4_ff_layout_ds *mirror_ds) in nfs4_ff_layout_put_deviceid() argument25 if (mirror_ds) in nfs4_ff_layout_put_deviceid()26 nfs4_put_deviceid_node(&mirror_ds->id_node); in nfs4_ff_layout_put_deviceid()29 void nfs4_ff_layout_free_deviceid(struct nfs4_ff_layout_ds *mirror_ds) in nfs4_ff_layout_free_deviceid() argument31 nfs4_print_deviceid(&mirror_ds->id_node.deviceid); in nfs4_ff_layout_free_deviceid()32 nfs4_pnfs_ds_put(mirror_ds->ds); in nfs4_ff_layout_free_deviceid()33 kfree(mirror_ds->ds_versions); in nfs4_ff_layout_free_deviceid()34 kfree_rcu(mirror_ds, id_node.rcu); in nfs4_ff_layout_free_deviceid()188 if (mirror == NULL || mirror->mirror_ds == NULL) { in ff_layout_mirror_valid()193 if (mirror->mirror_ds->ds == NULL) { in ff_layout_mirror_valid()[all …]
76 struct nfs4_ff_layout_ds *mirror_ds; member125 FF_LAYOUT_LSEG(lseg)->mirror_array[idx]->mirror_ds == NULL) in FF_LAYOUT_DEVID_NODE()127 return &FF_LAYOUT_LSEG(lseg)->mirror_array[idx]->mirror_ds->id_node; in FF_LAYOUT_DEVID_NODE()171 return FF_LAYOUT_COMP(lseg, ds_idx)->mirror_ds->ds_versions[0].version; in nfs4_ff_layout_ds_version()177 void nfs4_ff_layout_put_deviceid(struct nfs4_ff_layout_ds *mirror_ds);178 void nfs4_ff_layout_free_deviceid(struct nfs4_ff_layout_ds *mirror_ds);
178 if (mirror->mirror_ds != pos->mirror_ds) in ff_layout_add_mirror()231 nfs4_ff_layout_put_deviceid(mirror->mirror_ds); in ff_layout_free_mirror()363 node = &fls->mirror_array[i]->mirror_ds->id_node; in ff_layout_mark_devices_valid()460 fls->mirror_array[i]->mirror_ds = in ff_layout_alloc_lseg()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()2161 struct nfs4_pnfs_ds *ds = mirror->mirror_ds->ds; in ff_layout_encode_layoutstats()2204 if (!mirror->mirror_ds) in ff_layout_mirror_prepare_stats()2209 dev = &mirror->mirror_ds->id_node; in ff_layout_mirror_prepare_stats()