Searched refs:new_ds (Results 1 – 1 of 1) sorted by relevance
50 struct nfs4_ff_layout_ds *new_ds = NULL; in nfs4_ff_alloc_deviceid_node() local62 new_ds = kzalloc(sizeof(struct nfs4_ff_layout_ds), gfp_flags); in nfs4_ff_alloc_deviceid_node()63 if (!new_ds) in nfs4_ff_alloc_deviceid_node()66 nfs4_init_deviceid_node(&new_ds->id_node, in nfs4_ff_alloc_deviceid_node()149 new_ds->ds_versions = ds_versions; in nfs4_ff_alloc_deviceid_node()150 new_ds->ds_versions_cnt = version_count; in nfs4_ff_alloc_deviceid_node()152 new_ds->ds = nfs4_pnfs_ds_add(&dsaddrs, gfp_flags); in nfs4_ff_alloc_deviceid_node()153 if (!new_ds->ds) in nfs4_ff_alloc_deviceid_node()167 return new_ds; in nfs4_ff_alloc_deviceid_node()182 kfree(new_ds); in nfs4_ff_alloc_deviceid_node()