Lines Matching refs:newname

1523 zpool_import(libzfs_handle_t *hdl, nvlist_t *config, const char *newname,  in zpool_import()  argument
1533 newname)); in zpool_import()
1543 newname)); in zpool_import()
1547 ret = zpool_import_props(hdl, config, newname, props, in zpool_import()
1611 zpool_import_props(libzfs_handle_t *hdl, nvlist_t *config, const char *newname, in zpool_import_props() argument
1631 if (newname != NULL) { in zpool_import_props()
1632 if (!zpool_name_valid(hdl, B_FALSE, newname)) in zpool_import_props()
1635 newname)); in zpool_import_props()
1636 thename = (char *)newname; in zpool_import_props()
1697 zpool_rewind_exclaim(hdl, newname ? origname : thename, in zpool_import_props()
1703 if (newname == NULL) in zpool_import_props()
1767 newname ? origname : thename, -error, nv); in zpool_import_props()
1785 zpool_rewind_exclaim(hdl, newname ? origname : thename, in zpool_import_props()
2561 char *newname; in zpool_vdev_attach() local
2599 if ((newname = zpool_vdev_name(NULL, NULL, child[0], B_FALSE)) == NULL) in zpool_vdev_attach()
2608 (zpool_find_vdev(zhp, newname, &avail_spare, &l2cache, in zpool_vdev_attach()
2613 free(newname); in zpool_vdev_attach()
2617 free(newname); in zpool_vdev_attach()
2814 zpool_vdev_split(zpool_handle_t *zhp, char *newname, nvlist_t **newroot, in zpool_vdev_split() argument
2830 if (!zpool_name_valid(hdl, B_FALSE, newname)) in zpool_vdev_split()
2968 ZPOOL_CONFIG_POOL_NAME, newname) != 0 || in zpool_vdev_split()
2979 (void) strlcpy(zc.zc_string, newname, sizeof (zc.zc_string)); in zpool_vdev_split()