/illumos-gate/usr/src/test/zfs-tests/tests/functional/online_offline/ |
H A D | online_offline_002_neg.ksh | 75 disks=($DISKLIST) 89 log_must zpool online $TESTPOOL ${disks[$i]} 90 check_state $TESTPOOL ${disks[$i]} "online" || \ 97 log_must zpool offline $TESTPOOL ${disks[$j]} 98 check_state $TESTPOOL ${disks[$j]} "offline" || \ 104 log_must zpool offline $TESTPOOL ${disks[$i]} 105 check_state $TESTPOOL ${disks[$i]} "offline" || \ 112 log_mustnot zpool offline $TESTPOOL ${disks[$j]} 113 check_state $TESTPOOL ${disks[$j]} "online" || \ 115 check_state $TESTPOOL ${disks[$i]} "offline" || \ [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/grub/ |
H A D | asmstub.c | 87 struct geometry *disks = 0; variable 154 assert (disks == 0); in grub_stage2() 155 disks = malloc (NUM_DISKS * sizeof (*disks)); in grub_stage2() 156 assert (disks); in grub_stage2() 159 disks[i].flags = -1; in grub_stage2() 203 if (disks[i].flags != -1) in grub_stage2() 208 ioctl (disks[i].flags, BLKFLSBUF, 0); in grub_stage2() 214 close (disks[i].flags); in grub_stage2() 223 free (disks); in grub_stage2() 224 disks = 0; in grub_stage2() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_labelclear/ |
H A D | labelclear.cfg | 20 typeset disks=(${DISKS[*]}) 21 typeset disk1=${disks[0]} 22 typeset disk2=${disks[1]} 23 typeset disk3=${disks[2]}
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | path.c | 192 for (i = 0; pp->disks[i] && pp->states[i] != -1; i++) { in add_path_state() 193 if (pp->disks[i]->devid != NULL && in add_path_state() 194 devid_compare(pp->disks[i]->devid, devid) == 0) { in add_path_state() 230 for (i = 0; pp->disks[i] && pp->states[i] != -1; i++) { in add_wwn() 231 if (pp->disks[i]->devid != NULL && in add_wwn() 232 devid_compare(pp->disks[i]->devid, devid) == 0) { in add_wwn() 290 for (cnt = 0; pp->disks[cnt]; cnt++); in get_assoc_drives() 299 for (i = 0; pp->disks[i]; i++) { in get_assoc_drives() 300 drives[i] = cache_get_desc(DM_DRIVE, pp->disks[i], NULL, NULL, in get_assoc_drives()
|
H A D | cache.c | 205 free(cp->disks); in cache_free_controller() 288 free(pp->disks); in cache_free_path() 510 for (i = 0; cp->disks[i]; i++) { in clr_ctrl_disk_ptr() 511 if (dp == cp->disks[i]) { in clr_ctrl_disk_ptr() 514 for (j = i; cp->disks[j]; j++) { in clr_ctrl_disk_ptr() 515 cp->disks[j] = cp->disks[j + 1]; in clr_ctrl_disk_ptr() 528 for (i = 0; pp->disks[i]; i++) { in clr_path_disk_ptr() 529 if (dp == pp->disks[i]) { in clr_path_disk_ptr() 532 for (j = i; pp->disks[j]; j++) { in clr_path_disk_ptr() 533 pp->disks[j] = pp->disks[j + 1]; in clr_path_disk_ptr()
|
H A D | controller.c | 244 for (cnt = 0; cp->disks[cnt]; cnt++); in get_assoc_drives() 253 for (i = 0; cp->disks[i]; i++) { in get_assoc_drives() 254 drives[i] = cache_get_desc(DM_DRIVE, cp->disks[i], NULL, NULL, in get_assoc_drives()
|
H A D | findevs.c | 389 cp->disks = (disk_t **)calloc(1, sizeof (disk_t *)); in add_controller() 390 if (cp->disks == NULL) { in add_controller() 394 cp->disks[0] = NULL; in add_controller() 673 if (add_ptr2array(diskp, (void ***)&cp->disks) != 0) { in add_disk2controller() 732 if (add_ptr2array(dp, (void ***)&pp->disks) != 0) { in add_disk2path() 856 if (cp->disks != NULL && cp->disks[0] != NULL) { in remove_controller() 869 for (i = 0; cp->disks[i]; i++) { in remove_controller() 870 disk_t *dp = cp->disks[i]; in remove_controller()
|
H A D | disks_private.h | 71 struct disk **disks; member 91 struct disk **disks; member
|
/illumos-gate/usr/src/boot/i386/loader/ |
H A D | help.i386 | 17 # Tset Snum_ide_disks DSet the number of IDE disks 23 When booting from a SCSI disk on a system with one or more IDE disks, 24 and where the IDE disks are the default boot device, it is necessary 25 to tell the kernel how many IDE disks there are in order to have it 34 confused, eg. by a mix of SCSI and IDE disks, or IDE disks with
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | media-cdrw.p5m | 28 value="utility for writing to CD-R/RW and DVD{+-}R/RW disks" 30 value="utility for writing to CD-R/RW and DVD{+-}R/RW disks" 45 desc="utility for writing to CD-R/RW and DVD{+-}R/RW disks" \ 46 name="utility for writing to CD-R/RW and DVD{+-}R/RW disks"
|
/illumos-gate/usr/src/boot/common/ |
H A D | bcache.c | 123 int disks = bcache_numdev; in bcache_allocate() local 125 if (disks == 0) in bcache_allocate() 126 disks = 1; /* safe guard */ in bcache_allocate() 136 i = fls(disks) - 1; /* highbit - 1 */ in bcache_allocate() 137 if (disks > (1 << i)) /* next power of 2 */ in bcache_allocate()
|
/illumos-gate/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_diskmgt.c | 685 dm_descriptor_t *disks = dm_get_descriptors(DM_DRIVE, filter, &error); in dmgt_avail_disk_iter() local 693 for (i = 0; disks != NULL && disks[i] != 0; i++) { in dmgt_avail_disk_iter() 694 dm_descriptor_t disk = (dm_descriptor_t)disks[i]; in dmgt_avail_disk_iter() 732 dm_free_descriptors(disks); in dmgt_avail_disk_iter()
|
/illumos-gate/usr/src/test/zfs-tests/doc/ |
H A D | README | 49 - Three scratch disks (15GB, tests with ufs need 512B native or 512e) 50 - Specify the disks you wish to use in the $DISKS variable, as a 52 - Use the '-a' option to the zfstest script and all unused disks on
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
H A D | cherrystone.c | 618 picl_nodehdl_t *disks; in print_disk() local 622 &disks); in print_disk() 631 err = picl_get_propval_by_name(disks[i], "FaultInformation", in print_disk() 644 free(disks); in print_disk() 648 free(disks); in print_disk()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/inheritance/ |
H A D | inherit_001_pos.ksh | 57 typeset disks=$3 60 create_pool "$dataset" "$disks"
|
/illumos-gate/usr/src/cmd/format/ |
H A D | format.dat | 26 # disks, disk types, and partition maps. 54 # This is the list of Sun supported disks for embedded SCSI. 151 # Following is a list of sample partition tables for embedded SCSI disks.
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_reopen/ |
H A D | zpool_reopen.shlib | 18 # Clear labels on the given disks 20 function clear_labels #disks
|
/illumos-gate/usr/src/test/zfs-tests/include/ |
H A D | libtest.shlib | 134 # Given a list of disks, setup storage pools and datasets. 181 # Given a list of disks, setup a storage pool, file system and 192 # Given a list of disks, setup a storage pool,file system 203 # Given a list of disks, setup a storage pool,file system, 335 # Given a pair of disks, set up a storage pool and dataset for the mirror 357 # We create a number($1) of 2 way mirrors using the pairs of disks named 378 # We create a number($1) of 2 raidz pools using the pairs of disks named 409 # Given a minimum of two disks, set up a storage pool and dataset for the raid-z 410 # $1 the list of disks 415 disks=(${disklist[*]}) [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/ |
H A D | littleneck.c | 787 picl_nodehdl_t *disks; in lneck_env_print_disk() local 792 &disks); in lneck_env_print_disk() 803 err = picl_get_propval_by_name(disks[i], PICL_PROP_NAME, name, in lneck_env_print_disk() 817 err = picl_get_propval_by_name(disks[i], "FaultInformation", in lneck_env_print_disk()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/ |
H A D | fcal_leds.conf | 32 n-disks: 2
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/frutree/ |
H A D | piclfrutree.info | 105 * create the fru modules for disks in the fru tree 111 * _fru_parent for the hard disks
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_offline/ |
H A D | zpool_offline_001_pos.ksh | 47 set -A disks $DISKLIST
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/refreserv/ |
H A D | refreserv_raidz.ksh | 91 typeset -a disks=(${alldisks[0..$((ndisks - 1))]})
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/frutree/ |
H A D | piclfrutree.info | 123 * create the fru modules for disks in the fru tree 132 * _fru_parent for the hard disks
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/daktari/common/ |
H A D | daktari.c | 934 picl_nodehdl_t *disks; in dak_env_print_disk() local 942 &disks); in dak_env_print_disk() 956 err = picl_get_propval_by_name(disks[i], PICL_PROP_NAME, name, in dak_env_print_disk() 975 err = fill_device_from_id(disks[i], "PSVC_PARENT", in dak_env_print_disk()
|