Lines Matching defs:pool_name
246 zpool_add_handle(zfs_handle_t *zhp, const char *pool_name)
251 if ((zph = zpool_open_canfail(hdl, pool_name)) != NULL) {
260 zpool_find_handle(zfs_handle_t *zhp, const char *pool_name, int len)
266 (strncmp(pool_name, zpool_get_name(zph), len) != 0))
279 char *pool_name;
284 pool_name = zfs_alloc(zhp->zfs_hdl, len);
285 (void) strlcpy(pool_name, zhp->zfs_name, len);
287 zph = zpool_find_handle(zhp, pool_name, len);
289 zph = zpool_add_handle(zhp, pool_name);
291 free(pool_name);