Searched defs:pool_name (Results 1 - 7 of 7) sorted by relevance

/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dzfs.c167 char *pool_name, *vdev_name; local
170 if (nvlist_lookup_string(nvl, FM_FMRI_ZFS_POOL_NAME, &pool_name) == 0) {
176 "%s://pool=%llx/vdev=%llx/pool_name=%s"
178 pool_guid, vdev_guid, pool_name, vdev_name);
181 "%s://pool=%llx/vdev=%llx/pool_name=%s",
183 pool_name);
187 "%s://pool=%llx/pool_name=%s",
188 FM_FMRI_SCHEME_ZFS, pool_guid, pool_name);
/osnet-11/usr/src/lib/libproject/common/
H A Dsetproject.c490 * A pool_name of NULL means to attempt to bind to the default pool.
495 bind_to_pool(const char *pool_name, pid_t pid, int force) argument
514 if (pool_name != NULL && pool_get_pool(conf, pool_name) != NULL) {
521 if (pool_set_binding(pool_name, P_PID, pid) != PO_SUCCESS) {
545 errno = pool_name == NULL ? EACCES : ESRCH;
557 errno = pool_name == NULL ? EACCES : ESRCH;
617 const char *pool_name = NULL; local
667 pool_name = kv_array->data[i].value;
685 if (bind_to_pool(pool_name, pi
[all...]
/osnet-11/usr/src/lib/libpower/common/
H A Dpm_suspend.c214 char pool_name[MAXPATHLEN]; local
263 (void) memset(pool_name, 0, MAXPATHLEN);
265 (void) strlcpy(pool_name, fp, size);
267 "%s%s/%s", PM_ZVOLPATH, pool_name, PM_DUMPNAME);
343 (void) strncpy(pool_name, fp, MAXPATHLEN);
344 if (p = strchr(pool_name, '/'))
352 if ((zpool_handle = zpool_open(lzfs, pool_name)) == NULL) {
363 pool_name);
/osnet-11/usr/src/lib/libpool/common/
H A Dpool.c181 pool_set_binding(const char *pool_name, idtype_t idtype, id_t id) argument
195 result = conf->pc_prov->pc_set_binding(conf, pool_name, idtype, id);
H A Dpool_kernel.c1484 pool_knl_set_binding(pool_conf_t *conf, const char *pool_name, idtype_t idtype, argument
1492 if ((pool = pool_get_pool(conf, pool_name)) == NULL)
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c1699 char *pool_name; local
1702 ZPOOL_CONFIG_POOL_NAME, &pool_name) == 0);
1703 if (strcmp(pool_name, import->poolname) == 0)
H A Dlibzfs_dataset.c246 zpool_add_handle(zfs_handle_t *zhp, const char *pool_name) argument
251 if ((zph = zpool_open_canfail(hdl, pool_name)) != NULL) {
260 zpool_find_handle(zfs_handle_t *zhp, const char *pool_name, int len) argument
266 (strncmp(pool_name, zpool_get_name(zph), len) != 0))
279 char *pool_name; local
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);
[all...]

Completed in 49 milliseconds