Lines Matching defs:pool
399 * For pool names, we have the same set of valid characters as described in
400 * dataset names, with the additional restriction that the pool name must begin
401 * with a letter. The pool names 'raidz' and 'mirror' are also reserved names
407 pool_namecheck(const char *pool, namecheck_err_t *why, char *what)
413 * If we're creating a pool with version >= SPA_VERSION_DSL_SCRUB (v11)
416 * Play it safe and enforce this limit even if the pool version is < 11
419 if (strlen(pool) >= (ZFS_MAX_DATASET_NAME_LEN - 2 -
426 c = pool;
438 if (!(*pool >= 'a' && *pool <= 'z') &&
439 !(*pool >= 'A' && *pool <= 'Z')) {
445 if (strcmp(pool, "mirror") == 0 ||
446 strcmp(pool, "raidz") == 0 ||
447 strcmp(pool, "draid") == 0) {