Searched refs:HotSparePool (Results 1 - 9 of 9) sorted by relevance

/freebsd-10.3-release/usr.sbin/mptutil/
H A Dmpt_show.c257 print_spare_pools(U8 HotSparePool) argument
261 if (HotSparePool == 0) {
265 for (i = 0; HotSparePool != 0; i++) {
266 if (HotSparePool & 1) {
268 if (HotSparePool == 1)
272 HotSparePool >>= 1;
350 if (vinfo->VolumeSettings.HotSparePool != 0) {
352 print_spare_pools(vinfo->VolumeSettings.HotSparePool);
366 printf(" backs pool %d\n", ffs(spare->HotSparePool) - 1);
H A Dmpt_config.c538 vol->VolumeSettings.HotSparePool = MPI_RAID_HOT_SPARE_POOL_0;
825 if ((info->VolumeSettings.HotSparePool & ~MPI_RAID_HOT_SPARE_POOL_0) !=
827 *pool = 1 << (ffs(info->VolumeSettings.HotSparePool &
850 if (info->VolumeSettings.HotSparePool & (1 << (j + 1)))
867 info->VolumeSettings.HotSparePool |= (1 << new_pool);
952 info->PhysDiskSettings.HotSparePool = pool;
1007 if (info->PhysDiskSettings.HotSparePool == 0) {
1149 vol->VolumeSettings.Settings, vol->VolumeSettings.HotSparePool);
H A Dmpt_drive.c60 info->PhysDiskSettings.HotSparePool == 0)
/freebsd-10.3-release/sys/dev/mpr/mpi/
H A Dmpi2_raid.h153 U8 HotSparePool; /* 0x00 */ member in struct:_MPI2_RAID_ACTION_HOT_SPARE
H A Dmpi2_cnfg.h1566 U8 HotSparePool; /* 0x01 */ member in struct:_MPI2_RAIDVOL0_SETTINGS
1571 /* RAID Volume Page 0 HotSparePool defines, also used in RAID Physical Disk */
1702 U8 HotSparePool; /* 0x02 */ member in struct:_MPI2_RAIDPHYSDISK0_SETTINGS
1707 /* use MPI2_RAID_HOT_SPARE_POOL_ defines for the HotSparePool field */
2960 U8 HotSparePool; /* 0x04 */ member in struct:_MPI2_RAIDCONFIG0_CONFIG_ELEMENT
/freebsd-10.3-release/sys/dev/mps/mpi/
H A Dmpi2_raid.h139 U8 HotSparePool; /* 0x00 */ member in struct:_MPI2_RAID_ACTION_HOT_SPARE
H A Dmpi2_cnfg.h1332 U8 HotSparePool; /* 0x01 */ member in struct:_MPI2_RAIDVOL0_SETTINGS
1337 /* RAID Volume Page 0 HotSparePool defines, also used in RAID Physical Disk */
1468 U8 HotSparePool; /* 0x02 */ member in struct:_MPI2_RAIDPHYSDISK0_SETTINGS
1473 /* use MPI2_RAID_HOT_SPARE_POOL_ defines for the HotSparePool field */
2678 U8 HotSparePool; /* 0x04 */ member in struct:_MPI2_RAIDCONFIG0_CONFIG_ELEMENT
/freebsd-10.3-release/sys/dev/mpt/
H A Dmpt_raid.c1112 if (vol_pg->VolumeSettings.HotSparePool != 0) {
1114 powerof2(vol_pg->VolumeSettings.HotSparePool)
1120 if ((vol_pg->VolumeSettings.HotSparePool & mask) == 0)
1207 if (disk_pg->PhysDiskSettings.HotSparePool == 0)
1210 powerof2(disk_pg->PhysDiskSettings.HotSparePool)
1216 if ((disk_pg->PhysDiskSettings.HotSparePool & mask) == 0)
/freebsd-10.3-release/sys/dev/mpt/mpilib/
H A Dmpi_cnfg.h1156 U8 HotSparePool; /* 02h */ member in struct:_IOC_5_HOT_SPARE
2308 U8 HotSparePool; /* 01h */ /* MPI_RAID_HOT_SPARE_POOL_ */ member in struct:_RAID_VOL0_SETTINGS
2327 /* RAID Volume Page 0 HotSparePool defines, also used in RAID Physical Disk */
2428 U8 HotSparePool; /* 02h */ /* MPI_RAID_HOT_SPARE_POOL_ */ member in struct:_RAID_PHYS_DISK0_SETTINGS

Completed in 147 milliseconds