/freebsd-10.2-release/contrib/ipfilter/tools/ |
H A D | ippool.c | 153 char *poolname = NULL; local 175 poolname = optarg; 237 if (poolname == NULL) { 238 fprintf(stderr, "poolname not given with add/remove node\n"); 245 err = load_poolnode(role, poolname, &pnode, ttl, ioctl); 247 err = remove_poolnode(role, poolname, &pnode, ioctl); 251 err = load_hashnode(role, poolname, &hnode, ttl, ioctl); 253 err = remove_hashnode(role, poolname, &hnode, ioctl); 268 char *poolname; local 275 poolname 658 char *kernel, *core, *poolname; local [all...] |
H A D | ippool_y.y | 54 static char poolname[FR_GROUPLEN]; 226 number: IPT_NUM '=' YY_NUMBER { sprintf(poolname, "%u", $3); 227 $$ = poolname; 229 | IPT_NAME '=' YY_STR { strncpy(poolname, $3, 231 poolname[FR_GROUPLEN-1]='\0'; 233 $$ = poolname;
|
/freebsd-10.2-release/cddl/contrib/opensolaris/cmd/zinject/ |
H A D | zinject.h | 58 int level, zinject_record_t *record, char *poolname, char *dataset);
|
H A D | translate.c | 316 int level, zinject_record_t *record, char *poolname, char *dataset) 358 (void) strcpy(poolname, object); 398 (void) strcpy(poolname, dataset); 399 if ((slash = strchr(poolname, '/')) != NULL) 315 translate_record(err_type_t type, const char *object, const char *range, int level, zinject_record_t *record, char *poolname, char *dataset) argument
|
/freebsd-10.2-release/sys/boot/zfs/ |
H A D | zfs.c | 589 static char poolname[ZFS_MAXNAMELEN]; local 606 memcpy(poolname, np, sep - np); 607 poolname[sep - np] = '\0'; 616 spa = spa_find_by_name(poolname); 671 static char poolname[ZFS_MAXNAMELEN]; local 685 memcpy(poolname, name, len); 686 poolname[len] = '\0'; 688 spa = spa_find_by_name(poolname);
|
/freebsd-10.2-release/cddl/contrib/opensolaris/cmd/zpool/ |
H A D | zpool_main.c | 498 char *poolname; local 532 poolname = argv[0]; 537 if ((zhp = zpool_open(g_zfs, poolname)) == NULL) 542 poolname); 565 print_vdev_tree(zhp, poolname, poolnvroot, 0, B_FALSE); 596 char *poolname; local 613 poolname = argv[0]; 615 if ((zhp = zpool_open(g_zfs, poolname)) == NULL) 774 char *poolname; local 886 poolname 3180 char *poolname, *old_disk, *new_disk; local 3306 char *poolname, *path; local 3496 char *poolname; local 3574 char *poolname; local 3713 char *poolname; local 4527 static char *poolname = NULL; local 4549 root_pool_upgrade_check(zpool_handle_t *zhp, char *poolname, int size) argument [all...] |
/freebsd-10.2-release/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_config.c | 349 check_restricted(const char *poolname) argument 366 namelen = strlen(poolname); 371 if (len == namelen && 0 == strncmp(cur, poolname, len)) {
|
H A D | libzfs_import.c | 1137 * poolname or guid (but not both) are provided by the caller when trying 1286 if (iarg->poolname != NULL) { 1292 strcmp(iarg->poolname, pname) == 0; 1365 * poolname or guid (but not both) are provided by the caller when trying 1370 char *poolname, uint64_t guid) 1382 verify(poolname == NULL || guid == 0); 1440 if (poolname != NULL && strcmp(poolname, name) != 0) 1482 if (import->poolname != NULL) { 1487 if (strcmp(pool_name, import->poolname) 1369 zpool_find_import_cached(libzfs_handle_t *hdl, const char *cachefile, char *poolname, uint64_t guid) argument [all...] |
H A D | libzfs_pool.c | 445 zpool_valid_proplist(libzfs_handle_t *hdl, const char *poolname, argument 561 if (strval[0] != '\0' && !bootfs_name_valid(poolname, 569 if ((zhp = zpool_open_canfail(hdl, poolname)) == NULL) { 571 "could not open pool '%s'"), poolname); 4121 char poolname[ZPOOL_MAXNAMELEN]; local 4150 (void) strncpy(poolname, volname, p - volname); 4151 poolname[p - volname] = '\0'; 4154 if ((zhp = zpool_open(hdl, poolname)) == NULL) { 4156 "could not open pool '%s'"), poolname); 4164 "could not obtain vdev configuration for '%s'"), poolname); [all...] |
H A D | libzfs.h | 369 char *poolname; /* name of a pool to find */ member in struct:importargs 373 int unique : 1; /* does 'poolname' already exist? */
|
/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfs_ioctl.c | 3351 zfs_ioc_snapshot(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl) argument 3359 if ((error = zfs_check_userprops(poolname, props)) != 0) 3363 zfs_earlier_version(poolname, SPA_VERSION_SNAP_PROPS)) 3368 poollen = strlen(poolname); 3385 if (strncmp(name, poolname, poollen) != 0 || 3413 char *poolname; local 3416 * The poolname in the ioctl is not set, we get it from the TSD, 3422 poolname = tsd_get(zfs_allow_log_key); 3424 error = spa_open(poolname, &spa, FTAG); 3425 strfree(poolname); 3533 zfs_ioc_destroy_snaps(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl) argument 3581 zfs_ioc_bookmark(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl) argument 3631 zfs_ioc_destroy_bookmarks(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl) argument 6404 char *poolname = arg; local [all...] |
H A D | zfs_vfsops.c | 1486 * "poolname/root-dataset-objnum". 1576 getpoolname(const char *osname, char *poolname) argument 1584 (void) strcpy(poolname, osname); 1588 (void) strncpy(poolname, osname, p - osname); 1589 poolname[p - osname] = '\0';
|
H A D | spa.c | 4362 char *poolname; local 4367 if (nvlist_lookup_string(tryconfig, ZPOOL_CONFIG_POOL_NAME, &poolname)) 4393 poolname) == 0); 4424 "%s/%s", poolname, ++cp);
|
/freebsd-10.2-release/cddl/contrib/opensolaris/cmd/zhack/ |
H A D | zhack.c | 159 g_importargs.poolname = g_pool;
|
/freebsd-10.2-release/sys/cddl/contrib/opensolaris/common/zfs/ |
H A D | zfs_ioctl_compat.c | 800 char *poolname, *snapname;
|