/illumos-gate/usr/src/cmd/pools/poolbind/ |
H A D | poolbind.c | 83 " poolbind -p pool_name -e command [arguments...]\n" 84 " poolbind -p pool_name " 112 char *pool_name = NULL; local 149 pool_name = optarg; 165 if (flags & eFLAG && pool_name == NULL) 179 exec_cmd(pool_name, argv); 182 process_ids(pool_name, flags, idtype, idstr, argc, argv); 188 exec_cmd(char *pool_name, char *argv[]) argument 190 if (pool_set_binding(pool_name, P_PID, getpid()) != PO_SUCCESS) { 191 warn(gettext("binding to pool '%s': %s\n"), pool_name, 203 process_ids(char *pool_name, uint_t flags, idtype_t idtype, char *idstr, int argc, char *argv[]) argument [all...] |
/illumos-gate/usr/src/lib/libproject/common/ |
H A D | setproject.c | 460 * A pool_name of NULL means to attempt to bind to the default pool. 465 bind_to_pool(const char *pool_name, pid_t pid, int force) argument 484 if (pool_name != NULL && pool_get_pool(conf, pool_name) != NULL) { 491 if (pool_set_binding(pool_name, P_PID, pid) != PO_SUCCESS) { 515 errno = pool_name == NULL ? EACCES : ESRCH; 527 errno = pool_name == NULL ? EACCES : ESRCH; 587 const char *pool_name = NULL; local 637 pool_name = kv_array->data[i].value; 655 if (bind_to_pool(pool_name, pi [all...] |
/illumos-gate/usr/src/cmd/pools/poolstat/ |
H A D | poolstat.c | 756 * If 'pool_name' is defined find all resources bound to this pool. 759 get_resources(const char *pool_name, const char *rtype, uint_t *nelem) argument 783 if (pool_name != NULL) { 784 /* collect resources associated to 'pool_name' */ 786 if ((pool = pool_get_pool(conf, pool_name)) == NULL) 787 die(gettext(ERR_STATS_POOL_N), pool_name); local
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | pool.c | 405 char pool_name[40]; local 418 (void) snprintf(pool_name, sizeof (pool_name), "pool_%lld", 420 (void) nvlist_add_string(pool->pool_props, "pool.name", pool_name);
|
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool.c | 184 pool_set_binding(const char *pool_name, idtype_t idtype, id_t id) argument 198 result = conf->pc_prov->pc_set_binding(conf, pool_name, idtype, id);
|
H A D | pool_kernel.c | 1486 pool_knl_set_binding(pool_conf_t *conf, const char *pool_name, idtype_t idtype, argument 1494 if ((pool = pool_get_pool(conf, pool_name)) == NULL)
|
/illumos-gate/usr/src/cmd/power/ |
H A D | handlers.c | 1012 char pool_name[MAXPATHLEN]; local 1018 (void) strncpy(pool_name, arg, MAXPATHLEN); 1019 if ((p = strchr(pool_name, '/')) != NULL) 1027 if ((zpool_handle = zpool_open(lzfs, pool_name)) == NULL) { 1028 mesg(MERR, "couldn't open pool '%s'\n", pool_name);
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | zoneadmd.c | 111 char pool_name[MAXNAMELEN]; variable
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_import.c | 1431 char *pool_name; local 1434 ZPOOL_CONFIG_POOL_NAME, &pool_name) == 0); 1435 if (strcmp(pool_name, import->poolname) == 0)
|
H A D | libzfs_dataset.c | 248 zpool_add_handle(zfs_handle_t *zhp, const char *pool_name) argument 253 if ((zph = zpool_open_canfail(hdl, pool_name)) != NULL) { 262 zpool_find_handle(zfs_handle_t *zhp, const char *pool_name, int len) argument 268 (strncmp(pool_name, zpool_get_name(zph), len) != 0)) 281 char *pool_name; local 286 pool_name = zfs_alloc(zhp->zfs_hdl, len); 287 (void) strlcpy(pool_name, zhp->zfs_name, len); 289 zph = zpool_find_handle(zhp, pool_name, len); 291 zph = zpool_add_handle(zhp, pool_name); 293 free(pool_name); [all...] |
/illumos-gate/usr/src/boot/sys/boot/zfs/ |
H A D | zfsimpl.c | 916 const char *pool_name; local 985 DATA_TYPE_STRING, 0, &pool_name)) { 1006 spa->spa_name = strdup(pool_name);
|