Lines Matching refs:pool
292 * For pool names, we have the same set of valid characters as described in
293 * dataset names, with the additional restriction that the pool name must begin
294 * with a letter. The pool names 'raidz' and 'mirror' are also reserved names
298 pool_namecheck(const char *pool, namecheck_err_t *why, char *what)
305 * ZPOOL_MAXNAMELEN is the maximum pool length used in the userland
310 if (strlen(pool) >= MAXNAMELEN) {
316 c = pool;
328 if (!(*pool >= 'a' && *pool <= 'z') &&
329 !(*pool >= 'A' && *pool <= 'Z')) {
335 if (strcmp(pool, "mirror") == 0 || strcmp(pool, "raidz") == 0) {
341 if (pool[0] == 'c' && (pool[1] >= '0' && pool[1] <= '9')) {