mirror_ds         239 fs/nfs/flexfilelayout/flexfilelayout.c 	nfs4_ff_layout_put_deviceid(mirror->mirror_ds);
mirror_ds         835 fs/nfs/flexfilelayout/flexfilelayout.c 		    nfs4_test_deviceid_unavailable(&mirror->mirror_ds->id_node))
mirror_ds         930 fs/nfs/flexfilelayout/flexfilelayout.c 	pgm->pg_bsize = mirror->mirror_ds->ds_versions[0].rsize;
mirror_ds        1004 fs/nfs/flexfilelayout/flexfilelayout.c 		pgm->pg_bsize = mirror->mirror_ds->ds_versions[0].wsize;
mirror_ds        2361 fs/nfs/flexfilelayout/flexfilelayout.c 	struct nfs4_pnfs_ds *ds = mirror->mirror_ds->ds;
mirror_ds        2427 fs/nfs/flexfilelayout/flexfilelayout.c 		if (IS_ERR_OR_NULL(mirror->mirror_ds))
mirror_ds        2434 fs/nfs/flexfilelayout/flexfilelayout.c 		dev = &mirror->mirror_ds->id_node; 
mirror_ds          80 fs/nfs/flexfilelayout/flexfilelayout.h 	struct nfs4_ff_layout_ds	*mirror_ds;
mirror_ds         157 fs/nfs/flexfilelayout/flexfilelayout.h 		struct nfs4_ff_layout_ds *mirror_ds = mirror->mirror_ds;
mirror_ds         159 fs/nfs/flexfilelayout/flexfilelayout.h 		if (!IS_ERR_OR_NULL(mirror_ds))
mirror_ds         160 fs/nfs/flexfilelayout/flexfilelayout.h 			return &mirror_ds->id_node;
mirror_ds         186 fs/nfs/flexfilelayout/flexfilelayout.h 	return mirror->mirror_ds->ds_versions[0].version;
mirror_ds         192 fs/nfs/flexfilelayout/flexfilelayout.h void nfs4_ff_layout_put_deviceid(struct nfs4_ff_layout_ds *mirror_ds);
mirror_ds         193 fs/nfs/flexfilelayout/flexfilelayout.h void nfs4_ff_layout_free_deviceid(struct nfs4_ff_layout_ds *mirror_ds);
mirror_ds          26 fs/nfs/flexfilelayout/flexfilelayoutdev.c void nfs4_ff_layout_put_deviceid(struct nfs4_ff_layout_ds *mirror_ds)
mirror_ds          28 fs/nfs/flexfilelayout/flexfilelayoutdev.c 	if (!IS_ERR_OR_NULL(mirror_ds))
mirror_ds          29 fs/nfs/flexfilelayout/flexfilelayoutdev.c 		nfs4_put_deviceid_node(&mirror_ds->id_node);
mirror_ds          32 fs/nfs/flexfilelayout/flexfilelayoutdev.c void nfs4_ff_layout_free_deviceid(struct nfs4_ff_layout_ds *mirror_ds)
mirror_ds          34 fs/nfs/flexfilelayout/flexfilelayoutdev.c 	nfs4_print_deviceid(&mirror_ds->id_node.deviceid);
mirror_ds          35 fs/nfs/flexfilelayout/flexfilelayoutdev.c 	nfs4_pnfs_ds_put(mirror_ds->ds);
mirror_ds          36 fs/nfs/flexfilelayout/flexfilelayoutdev.c 	kfree(mirror_ds->ds_versions);
mirror_ds          37 fs/nfs/flexfilelayout/flexfilelayoutdev.c 	kfree_rcu(mirror_ds, id_node.rcu);
mirror_ds         260 fs/nfs/flexfilelayout/flexfilelayoutdev.c 	if (IS_ERR_OR_NULL(mirror->mirror_ds))
mirror_ds         273 fs/nfs/flexfilelayout/flexfilelayoutdev.c 	memcpy(&dserr->deviceid, &mirror->mirror_ds->id_node.deviceid,
mirror_ds         325 fs/nfs/flexfilelayout/flexfilelayoutdev.c 	if (mirror->mirror_ds == NULL) {
mirror_ds         327 fs/nfs/flexfilelayout/flexfilelayoutdev.c 		struct nfs4_ff_layout_ds *mirror_ds = ERR_PTR(-ENODEV);
mirror_ds         333 fs/nfs/flexfilelayout/flexfilelayoutdev.c 			mirror_ds = FF_LAYOUT_MIRROR_DS(node);
mirror_ds         336 fs/nfs/flexfilelayout/flexfilelayoutdev.c 		if (cmpxchg(&mirror->mirror_ds, NULL, mirror_ds) &&
mirror_ds         337 fs/nfs/flexfilelayout/flexfilelayoutdev.c 		    mirror_ds != ERR_PTR(-ENODEV))
mirror_ds         341 fs/nfs/flexfilelayout/flexfilelayoutdev.c 	if (IS_ERR(mirror->mirror_ds))
mirror_ds         380 fs/nfs/flexfilelayout/flexfilelayoutdev.c 	ds = mirror->mirror_ds->ds;
mirror_ds         389 fs/nfs/flexfilelayout/flexfilelayoutdev.c 	status = nfs4_pnfs_ds_connect(s, ds, &mirror->mirror_ds->id_node,
mirror_ds         391 fs/nfs/flexfilelayout/flexfilelayoutdev.c 			     mirror->mirror_ds->ds_versions[0].version,
mirror_ds         392 fs/nfs/flexfilelayout/flexfilelayoutdev.c 			     mirror->mirror_ds->ds_versions[0].minor_version);
mirror_ds         399 fs/nfs/flexfilelayout/flexfilelayoutdev.c 		if (mirror->mirror_ds->ds_versions[0].rsize > max_payload)
mirror_ds         400 fs/nfs/flexfilelayout/flexfilelayoutdev.c 			mirror->mirror_ds->ds_versions[0].rsize = max_payload;
mirror_ds         401 fs/nfs/flexfilelayout/flexfilelayoutdev.c 		if (mirror->mirror_ds->ds_versions[0].wsize > max_payload)
mirror_ds         402 fs/nfs/flexfilelayout/flexfilelayoutdev.c 			mirror->mirror_ds->ds_versions[0].wsize = max_payload;
mirror_ds         425 fs/nfs/flexfilelayout/flexfilelayoutdev.c 	if (mirror && !mirror->mirror_ds->ds_versions[0].tightly_coupled) {
mirror_ds         448 fs/nfs/flexfilelayout/flexfilelayoutdev.c 	switch (mirror->mirror_ds->ds_versions[0].version) {
mirror_ds         559 fs/nfs/flexfilelayout/flexfilelayoutdev.c 			if (!mirror->mirror_ds)
mirror_ds         561 fs/nfs/flexfilelayout/flexfilelayoutdev.c 			if (IS_ERR(mirror->mirror_ds))
mirror_ds         563 fs/nfs/flexfilelayout/flexfilelayoutdev.c 			devid = &mirror->mirror_ds->id_node;
mirror_ds         580 fs/nfs/flexfilelayout/flexfilelayoutdev.c 		if (!mirror || IS_ERR(mirror->mirror_ds))
mirror_ds         582 fs/nfs/flexfilelayout/flexfilelayoutdev.c 		if (!mirror->mirror_ds)
mirror_ds         584 fs/nfs/flexfilelayout/flexfilelayoutdev.c 		devid = &mirror->mirror_ds->id_node;