Lines Matching defs:zpool
288 * zpool - pointer zpool name.
298 be_make_root_ds(const char *zpool, const char *be_name, char *be_root_ds,
301 (void) snprintf(be_root_ds, be_root_ds_size, "%s/%s/%s", zpool,
310 * zonepath - pointer zpool name.
330 * zpool - pointer zpool name.
340 be_make_container_ds(const char *zpool, char *container_ds,
343 (void) snprintf(container_ds, container_ds_size, "%s/%s", zpool,
860 "failed to find zpool analog\n"));
881 * Iterate through all potential BEs in this zpool
922 const char *zpool = zpool_get_name(zlp);
928 be_make_container_ds(zpool, be_container_ds, sizeof (be_container_ds));
939 * Get handle to this zpool's BE container dataset.
951 * Iterate through all potential BEs in this zpool
957 if ((bt->obe_zpool = strdup(zpool)) == NULL) {
1056 const char *zpool;
1062 * This code determines what the zpool analog should be for
1065 * the 'zpool' we have to derive it differently than we
1078 zpool = strdup(zpool_analog);
1084 zpool = zpool_get_name(zlp);
1088 be_make_container_ds(zpool, be_container_ds, sizeof (be_container_ds));
1564 * Description: This function takes a dataset name and replaces the zpool
1566 * zpool passed in.
2029 const char *zpool = zpool_get_name(zlp);
2035 be_make_container_ds(zpool, be_container_ds, sizeof (be_container_ds));
2045 rpd->pool_list[rpd->pool_count - 1] = strdup(zpool);