Home
last modified time | relevance | path

Searched refs:disks (Results 1 – 25 of 68) sorted by relevance

123

/illumos-gate/usr/src/test/zfs-tests/tests/functional/online_offline/
H A Donline_offline_002_neg.ksh75 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" || \
119 log_must zpool online $TESTPOOL ${disks[$i]}
[all …]
/illumos-gate/usr/src/grub/grub-0.97/grub/
H A Dasmstub.c87 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()
214 close (disks[i].flags); in grub_stage2()
223 free (disks); in grub_stage2()
224 disks = 0; in grub_stage2()
809 disks[drive].flags = -1; in get_diskinfo()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_labelclear/
H A Dlabelclear.cfg20 typeset disks=(${DISKS[*]})
21 typeset disk1=${disks[0]}
22 typeset disk2=${disks[1]}
23 typeset disk3=${disks[2]}
/illumos-gate/usr/src/boot/i386/loader/
H A Dhelp.i38617 # 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/lib/libdiskmgt/common/
H A Dpath.c192 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 Dcache.c201 free(cp->disks); in cache_free_controller()
283 free(pp->disks); in cache_free_path()
505 for (i = 0; cp->disks[i]; i++) { in clr_ctrl_disk_ptr()
506 if (dp == cp->disks[i]) { in clr_ctrl_disk_ptr()
509 for (j = i; cp->disks[j]; j++) { in clr_ctrl_disk_ptr()
510 cp->disks[j] = cp->disks[j + 1]; in clr_ctrl_disk_ptr()
523 for (i = 0; pp->disks[i]; i++) { in clr_path_disk_ptr()
524 if (dp == pp->disks[i]) { in clr_path_disk_ptr()
527 for (j = i; pp->disks[j]; j++) { in clr_path_disk_ptr()
528 pp->disks[j] = pp->disks[j + 1]; in clr_path_disk_ptr()
H A Dcontroller.c244 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 Dfindevs.c387 cp->disks = (disk_t **)calloc(1, sizeof (disk_t *)); in add_controller()
388 if (cp->disks == NULL) { in add_controller()
392 cp->disks[0] = NULL; in add_controller()
671 if (add_ptr2array(diskp, (void ***)&cp->disks) != 0) { in add_disk2controller()
730 if (add_ptr2array(dp, (void ***)&pp->disks) != 0) { in add_disk2path()
854 if (cp->disks != NULL && cp->disks[0] != NULL) { in remove_controller()
867 for (i = 0; cp->disks[i]; i++) { in remove_controller()
868 disk_t *dp = cp->disks[i]; in remove_controller()
H A Ddisks_private.h70 struct disk **disks; member
90 struct disk **disks; member
/illumos-gate/usr/src/pkg/manifests/
H A Dmedia-cdrw.p5m28 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 Dbcache.c123 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 Dlibzfs_jni_diskmgt.c685 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 DREADME49 - 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 Dcherrystone.c618 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 Dinherit_001_pos.ksh57 typeset disks=$3
60 create_pool "$dataset" "$disks"
/illumos-gate/usr/src/cmd/format/
H A Dformat.dat26 # 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 Dzpool_reopen.shlib18 # Clear labels on the given disks
20 function clear_labels #disks
/illumos-gate/usr/src/test/zfs-tests/include/
H A Dlibtest.shlib133 # Given a list of disks, setup storage pools and datasets.
191 # Given a list of disks, setup a storage pool,file system
202 # Given a list of disks, setup a storage pool,file system,
409 # $1 the list of disks
414 disks=(${disklist[*]})
416 if [[ ${#disks[*]} -lt 2 ]]; then
417 log_fail "A raid-z requires a minimum of two disks."
1852 # disks as the parameter. It works by locating disks that are in use
1855 # $@ given disks to find which are free, default is all disks in
1900 for disk in $disks; do
[all …]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dlittleneck.c787 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 Dfcal_leds.conf32 n-disks: 2
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/frutree/
H A Dpiclfrutree.info105 * 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 Dzpool_offline_001_pos.ksh47 set -A disks $DISKLIST
/illumos-gate/usr/src/test/zfs-tests/tests/functional/refreserv/
H A Drefreserv_raidz.ksh91 typeset -a disks=(${alldisks[0..$((ndisks - 1))]})
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/frutree/
H A Dpiclfrutree.info123 * 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 Ddaktari.c934 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()

123