Lines Matching defs:alloctype
461 * Allocate a new vdev. The 'alloctype' is used to control whether we are
467 int alloctype)
486 if (alloctype == VDEV_ALLOC_LOAD) {
495 } else if (alloctype == VDEV_ALLOC_SPARE) {
498 } else if (alloctype == VDEV_ALLOC_L2CACHE) {
501 } else if (alloctype == VDEV_ALLOC_ROOTPOOL) {
604 (alloctype == VDEV_ALLOC_LOAD || alloctype == VDEV_ALLOC_SPLIT)) {
615 if (parent && !parent->vdev_parent && alloctype != VDEV_ALLOC_ATTACH) {
616 ASSERT(alloctype == VDEV_ALLOC_LOAD ||
617 alloctype == VDEV_ALLOC_ADD ||
618 alloctype == VDEV_ALLOC_SPLIT ||
619 alloctype == VDEV_ALLOC_ROOTPOOL);
628 (alloctype == VDEV_ALLOC_LOAD || alloctype == VDEV_ALLOC_L2CACHE ||
629 alloctype == VDEV_ALLOC_ROOTPOOL)) {
630 if (alloctype == VDEV_ALLOC_LOAD) {
637 if (alloctype == VDEV_ALLOC_ROOTPOOL) {