Lines Matching refs:pool
803 find_volume_spare_pool(int fd, const char *name, int *pool)
822 * Check for an existing pool other than pool 0 (used for
827 *pool = 1 << (ffs(info->VolumeSettings.HotSparePool &
834 * Try to find a free pool. First, figure out which pools are
856 /* Find the pool with the lowest use count. */
863 /* Add this pool to the volume. */
872 warnx("Failed to add spare pool %d to %s", new_pool,
878 *pool = (1 << new_pool);
889 int error, fd, i, nsdisks, pool;
908 error = find_volume_spare_pool(fd, av[2], &pool);
912 pool = MPI_RAID_HOT_SPARE_POOL_0;
952 info->PhysDiskSettings.HotSparePool = pool;