Searched refs:poolname (Results 1 - 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/cmd/ipf/tools/
H A Dippool.c142 char *poolname = NULL, *s; local
180 poolname = optarg;
206 if (poolname == NULL) {
207 fprintf(stderr, "poolname not given with add/remove node\n");
212 err = load_poolnode(0, poolname, &node, ioctl);
214 err = remove_poolnode(0, poolname, &node, ioctl);
224 char *poolname; local
231 poolname = NULL;
247 poolname = optarg;
283 if (poolname
384 char *kernel, *core, *poolname; local
[all...]
H A Dippool_y.y55 static char poolname[FR_GROUPLEN];
190 number: IPT_NUM '=' YY_NUMBER { snprintf(poolname, FR_GROUPLEN, "%u", $3);
191 $$ = poolname;
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_014_pos.ksh65 typeset poolname=$2
70 if [[ "name: '$poolname'" != "$labelname" ]]; then
H A Dzpool_import.kshlib203 typeset poolname=$1
207 status=$(zpool status $poolname 2>&1)
210 log_note "zpool status $poolname failed: $status"
232 expected="$poolname $expected"
255 typeset poolname=$1
262 check_pool_config -q $poolname "$expectedconfig"
267 check_pool_config $poolname "$expectedconfig"
360 typeset poolname=$(echo "$line" | awk '{print $3}')
362 if [[ $poolname == $pool ]]; then
/illumos-gate/usr/src/test/zfs-tests/tests/functional/xattr/
H A Dxattr_012_pos.ksh53 poolname=$1
54 psize=$(zpool list -H -o allocated $poolname)
/illumos-gate/usr/src/cmd/zinject/
H A Dzinject.h58 int level, zinject_record_t *record, char *poolname, char *dataset);
H A Dtranslate.c242 int level, zinject_record_t *record, char *poolname, char *dataset)
282 (void) strcpy(poolname, object);
322 (void) strcpy(poolname, dataset);
323 if ((slash = strchr(poolname, '/')) != NULL)
241 translate_record(err_type_t type, const char *object, const char *range, int level, zinject_record_t *record, char *poolname, char *dataset) argument
/illumos-gate/usr/src/cmd/pools/poolbind/
H A Dpoolbind.c211 char *poolname; local
269 if ((poolname = pool_get_binding(id)) == NULL) {
274 (void) printf("%ld\t%s\n", id, poolname);
275 free(poolname);
/illumos-gate/usr/src/lib/libzutil/common/
H A Dlibzutil.h66 const char *poolname; /* name of a pool to find */ member in struct:importargs
H A Dzutil_import.c1155 * poolname or guid (but not both) are provided by the caller when trying
1270 if (iarg->poolname != NULL) {
1276 strcmp(iarg->poolname, pname) == 0;
1336 * poolname or guid (but not both) are provided by the caller when trying
1341 const char *poolname, uint64_t guid)
1353 verify(poolname == NULL || guid == 0);
1411 if (poolname != NULL && strcmp(poolname, name) != 0)
1466 verify(import->poolname == NULL || import->guid == 0);
1470 import->poolname, impor
1340 zpool_find_import_cached(libpc_handle_t *hdl, const char *cachefile, const char *poolname, uint64_t guid) argument
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_add/
H A Dadd_nested_replacing_spare.ksh86 zpool status | nawk -v poolname="$TESTPOOL" -v type="$type" 'BEGIN {s=""}
87 $1 ~ poolname {c=4}; (c && c--) { s=s$1":" }
88 END { if (s != poolname":"type"-0:spare-0:replacing-0:") exit 1; }'
/illumos-gate/usr/src/test/zfs-tests/tests/perf/scripts/
H A Dio.d71 self->poolname = stringof(self->os->os_spa->spa_name);
76 / self->poolname == $$1 /
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_config.c340 zpool_skip_pool(const char *poolname) argument
348 int namelen = strlen(poolname);
361 if (len == namelen && 0 == strncmp(cur, poolname, len))
375 if (len == namelen && 0 == strncmp(cur, poolname, len)) {
H A Dlibzfs_pool.c432 zpool_valid_proplist(libzfs_handle_t *hdl, const char *poolname, argument
572 if (!bootfs_name_valid(poolname, strval)) {
579 if ((zhp = zpool_open_canfail(hdl, poolname)) == NULL) {
581 "could not open pool '%s'"), poolname);
4731 char poolname[ZFS_MAX_DATASET_NAME_LEN]; local
4760 (void) strncpy(poolname, volname, p - volname);
4761 poolname[p - volname] = '\0';
4764 if ((zhp = zpool_open(hdl, poolname)) == NULL) {
4766 "could not open pool '%s'"), poolname);
4774 "could not obtain vdev configuration for '%s'"), poolname);
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzcp.c954 zcp_pool_error(zcp_run_info_t *ri, const char *poolname) argument
959 poolname);
996 zcp_eval_open(zcp_run_info_t *ri, const char *poolname) argument
1007 error = dsl_pool_hold(poolname, FTAG, &dp);
1009 zcp_pool_error(ri, poolname);
1032 zcp_eval(const char *poolname, const char *program, boolean_t sync, argument
1150 err = dsl_sync_task_sig(poolname, NULL, zcp_eval_sync,
1153 zcp_pool_error(&runinfo, poolname);
1155 zcp_eval_open(&runinfo, poolname);
H A Dzfs_ioctl.c3501 zfs_ioc_snapshot(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl) argument
3509 if ((error = zfs_check_userprops(poolname, props)) != 0)
3513 zfs_earlier_version(poolname, SPA_VERSION_SNAP_PROPS))
3517 poollen = strlen(poolname);
3534 if (strncmp(name, poolname, poollen) != 0 ||
3566 char *poolname; local
3569 * The poolname in the ioctl is not set, we get it from the TSD,
3575 poolname = tsd_get(zfs_allow_log_key);
3577 error = spa_open(poolname, &spa, FTAG);
3578 strfree(poolname);
3683 zfs_ioc_destroy_snaps(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl) argument
3718 zfs_ioc_bookmark(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl) argument
3776 zfs_ioc_destroy_bookmarks(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl) argument
3816 zfs_ioc_channel_program(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl) argument
3855 zfs_ioc_pool_checkpoint(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl) argument
3870 zfs_ioc_pool_discard_checkpoint(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl) argument
3964 zfs_ioc_pool_initialize(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl) argument
4042 zfs_ioc_pool_trim(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl) argument
7417 char *poolname = arg; local
[all...]
H A Dspa_misc.c2135 char *poolname = NULL; local
2147 &poolname);
2148 if (poolname == NULL)
2149 poolname = spa_name(spa);
2151 spa->spa_imp_kstat = kstat_create("zfs_import", 0, poolname,
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c685 char *poolname; local
745 poolname = argv[0];
750 if ((zhp = zpool_open(g_zfs, poolname)) == NULL)
755 poolname);
798 print_vdev_tree(zhp, poolname, poolnvroot, 0, "",
838 char *poolname; local
874 poolname = argv[0];
876 if ((zhp = zpool_open(g_zfs, poolname)) == NULL)
1106 char *poolname; local
1259 poolname
2656 const char *poolname; member in struct:target_exists_args
5511 char *poolname, *old_disk, *new_disk; local
5676 char *poolname, *path; local
5896 char *poolname; local
5974 char *poolname; local
6115 char *poolname; local
6435 char *poolname = argv[0]; local
6480 char *poolname; local
[all...]
/illumos-gate/usr/src/boot/lib/libstand/zfs/
H A Dzfs.c723 static char poolname[ZFS_MAXNAMELEN]; local
740 memcpy(poolname, np, sep - np);
741 poolname[sep - np] = '\0';
750 spa = spa_find_by_name(poolname);
869 static char poolname[ZFS_MAXNAMELEN]; local
883 memcpy(poolname, name, len);
884 poolname[len] = '\0';
886 spa = spa_find_by_name(poolname);
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddsl_crypt.h198 int dsl_crypto_recv_raw(const char *poolname, uint64_t dsobj, uint64_t fromobj,
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c744 char *poolname = NULL; local
793 if ((poolname = strtok(mntsp, "/")) == NULL) {
798 if ((zpoolp = zpool_open(g_zfs, poolname)) == NULL) {
799 (void) fprintf(stderr, gettext("Cannot open %s\n"), poolname);
/illumos-gate/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c1237 lzc_initialize(const char *poolname, pool_initialize_func_t cmd_type, argument
1246 error = lzc_ioctl(ZFS_IOC_POOL_INITIALIZE, poolname, args, errlist);
1277 lzc_trim(const char *poolname, pool_trim_func_t cmd_type, uint64_t rate, argument
1288 error = lzc_ioctl(ZFS_IOC_POOL_TRIM, poolname, args, errlist);
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c1140 uint64_t lofi, char *poolname, char *psetname, uint_t sched, uint_t cputype,
1164 (void) strlcpy(zone->zsz_pool, poolname, sizeof (zone->zsz_pool));
2046 char poolname[ZS_POOLNAME_MAX]; local
2067 (void) strlcpy(poolname, "pool_default", sizeof (poolname));
2068 (void) strlcpy(psetname, "pset_default", sizeof (poolname));
2090 (void) strlcpy(poolname, (char *)string, sizeof (poolname));
2138 (void) strlcpy(pool, poolname, poollen);
2404 char poolname[ZS_POOLNAME_MA local
1134 zsd_mark_zone_found(zsd_ctl_t *ctl, zsd_zone_t *zone, uint64_t cpu_shares, uint64_t cpu_cap, uint64_t ram_cap, uint64_t locked_cap, uint64_t vm_cap, uint64_t processes_cap, uint64_t processes, uint64_t lwps_cap, uint64_t lwps, uint64_t shm_cap, uint64_t shm, uint64_t shmids_cap, uint64_t shmids, uint64_t semids_cap, uint64_t semids, uint64_t msgids_cap, uint64_t msgids, uint64_t lofi_cap, uint64_t lofi, char *poolname, char *psetname, uint_t sched, uint_t cputype, uint_t iptype) argument
[all...]
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c2144 char poolname[MAXPATHLEN]; local
2153 error = zonecfg_get_pool(handle, poolname, sizeof (poolname));
2154 if (error == Z_NO_ENTRY || (error == Z_OK && strlen(poolname) == 0)) {
2170 "zone will not be bound to pool '%s'."), poolname);
2191 pool = pool_get_pool(poolconf, poolname);
2196 "using default pool"), poolname);
5355 char poolname[MAXPATHLEN]; local
5358 err2 = zonecfg_get_pool(handle, poolname, sizeof (poolname));
[all...]
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c4574 char poolname[MAXPATHLEN]; local
4581 error = zonecfg_get_pool(handle, poolname, sizeof (poolname));
4582 if (error == Z_NO_ENTRY || (error == Z_OK && strlen(poolname) == 0)) {
4614 pool = pool_get_pool(poolconf, poolname);
4623 if (pool_set_binding(poolname, P_ZONEID, zoneid) != PO_SUCCESS) {
4624 /* if bind fails, return poolname for the error msg */
4625 (void) strlcpy(pool_err, poolname, err_size);
4649 /* lookup the poolname in zonecfg */
4717 * Retrieve the specified pool's thread scheduling class. 'poolname' mus
4732 get_pool_sched_class(char *poolname, char *class, int clsize) argument
4781 char poolname[MAXPATHLEN]; local
[all...]

Completed in 135 milliseconds

12