Lines Matching defs:newname
1526 zpool_import(libzfs_handle_t *hdl, nvlist_t *config, const char *newname,
1536 newname));
1546 newname));
1550 ret = zpool_import_props(hdl, config, newname, props,
1587 * zpool_find_import(). The 'newname' parameters control whether the pool
1591 zpool_import_props(libzfs_handle_t *hdl, nvlist_t *config, const char *newname,
1648 if (newname != NULL) {
1649 if (!zpool_name_valid(hdl, B_FALSE, newname))
1652 newname));
1653 thename = (char *)newname;
1712 zpool_rewind_exclaim(hdl, newname ? origname : thename,
1718 if (newname == NULL)
1766 newname ? origname : thename, -error, nv);
1784 zpool_rewind_exclaim(hdl, newname ? origname : thename,
2630 char *newname;
2681 if ((newname = zpool_vdev_name(NULL, NULL, child[0],
2689 new_vdev = zpool_find_vdev(zhp, newname, &avail_spare, &l2cache,
2703 * If the target is not a hot spare but we can still find 'newname' in
2726 free(newname);
2925 zpool_vdev_split(zpool_handle_t *zhp, char *newname, nvlist_t **newroot,
2941 if (!zpool_name_valid(hdl, B_FALSE, newname))
3081 ZPOOL_CONFIG_POOL_NAME, newname) != 0 ||
3092 (void) strlcpy(zc.zc_string, newname, sizeof (zc.zc_string));