Home
last modified time | relevance | path

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

123

/titanic_44/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" || \
115 check_state $TESTPOOL ${disks[$i]} "offline" || \
[all …]
/titanic_44/usr/src/grub/grub-0.97/grub/
H A Dasmstub.c84 struct geometry *disks = 0; variable
151 assert (disks == 0); in grub_stage2()
152 disks = malloc (NUM_DISKS * sizeof (*disks)); in grub_stage2()
153 assert (disks); in grub_stage2()
156 disks[i].flags = -1; in grub_stage2()
200 if (disks[i].flags != -1) in grub_stage2()
205 ioctl (disks[i].flags, BLKFLSBUF, 0); in grub_stage2()
211 close (disks[i].flags); in grub_stage2()
220 free (disks); in grub_stage2()
221 disks = 0; in grub_stage2()
[all …]
/titanic_44/usr/src/lib/libdiskmgt/common/
H A Dpath.c194 for (i = 0; pp->disks[i] && pp->states[i] != -1; i++) { in add_path_state()
195 if (pp->disks[i]->devid != NULL && in add_path_state()
196 devid_compare(pp->disks[i]->devid, devid) == 0) { in add_path_state()
232 for (i = 0; pp->disks[i] && pp->states[i] != -1; i++) { in add_wwn()
233 if (pp->disks[i]->devid != NULL && in add_wwn()
234 devid_compare(pp->disks[i]->devid, devid) == 0) { in add_wwn()
292 for (cnt = 0; pp->disks[cnt]; cnt++); in get_assoc_drives()
301 for (i = 0; pp->disks[i]; i++) { in get_assoc_drives()
302 drives[i] = cache_get_desc(DM_DRIVE, pp->disks[i], NULL, NULL, in get_assoc_drives()
H A Dcache.c203 free(cp->disks); in cache_free_controller()
285 free(pp->disks); in cache_free_path()
507 for (i = 0; cp->disks[i]; i++) { in clr_ctrl_disk_ptr()
508 if (dp == cp->disks[i]) { in clr_ctrl_disk_ptr()
511 for (j = i; cp->disks[j]; j++) { in clr_ctrl_disk_ptr()
512 cp->disks[j] = cp->disks[j + 1]; in clr_ctrl_disk_ptr()
525 for (i = 0; pp->disks[i]; i++) { in clr_path_disk_ptr()
526 if (dp == pp->disks[i]) { in clr_path_disk_ptr()
529 for (j = i; pp->disks[j]; j++) { in clr_path_disk_ptr()
530 pp->disks[j] = pp->disks[j + 1]; in clr_path_disk_ptr()
H A Dcontroller.c246 for (cnt = 0; cp->disks[cnt]; cnt++); in get_assoc_drives()
255 for (i = 0; cp->disks[i]; i++) { in get_assoc_drives()
256 drives[i] = cache_get_desc(DM_DRIVE, cp->disks[i], NULL, NULL, in get_assoc_drives()
H A Dfindevs.c429 cp->disks = (disk_t **)calloc(1, sizeof (disk_t *)); in add_controller()
430 if (cp->disks == NULL) { in add_controller()
434 cp->disks[0] = NULL; in add_controller()
691 if (add_ptr2array(diskp, (void ***)&cp->disks) != 0) { in add_disk2controller()
750 if (add_ptr2array(dp, (void ***)&pp->disks) != 0) { in add_disk2path()
874 if (cp->disks != NULL && cp->disks[0] != NULL) { in remove_controller()
887 for (i = 0; cp->disks[i]; i++) { in remove_controller()
888 disk_t *dp = cp->disks[i]; in remove_controller()
H A Ddisks_private.h68 struct disk **disks; member
88 struct disk **disks; member
/titanic_44/usr/src/pkg/manifests/
H A Dmedia-cdrw.mf28 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"
/titanic_44/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_diskmgt.c681 dm_descriptor_t *disks = dm_get_descriptors(DM_DRIVE, filter, &error); in dmgt_avail_disk_iter() local
689 for (i = 0; disks != NULL && disks[i] != NULL; i++) { in dmgt_avail_disk_iter()
690 dm_descriptor_t disk = (dm_descriptor_t)disks[i]; in dmgt_avail_disk_iter()
728 dm_free_descriptors(disks); in dmgt_avail_disk_iter()
/titanic_44/usr/src/test/zfs-tests/doc/
H A DREADME47 - Three scratch disks
48 - Specify the disks you wish to use in the $DISKS variable, as a
50 - Use the '-a' option to the zfstest script and all unused disks on
/titanic_44/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/
H A Dcherrystone.c620 picl_nodehdl_t *disks; in print_disk() local
624 &disks); in print_disk()
633 err = picl_get_propval_by_name(disks[i], "FaultInformation", in print_disk()
646 free(disks); in print_disk()
650 free(disks); in print_disk()
/titanic_44/usr/src/test/zfs-tests/tests/functional/inheritance/
H A Dinherit_001_pos.ksh56 typeset disks=$3
59 create_pool "$dataset" "$disks"
/titanic_44/usr/src/test/zfs-tests/include/
H A Dlibtest.shlib120 # Given a list of disks, setup storage pools and datasets.
167 # Given a list of disks, setup a storage pool, file system and
178 # Given a list of disks, setup a storage pool,file system
189 # Given a list of disks, setup a storage pool,file system,
279 # Given a pair of disks, set up a storage pool and dataset for the mirror
301 # We create a number($1) of 2 way mirrors using the pairs of disks named
322 # We create a number($1) of 2 raidz pools using the pairs of disks named
353 # Given a minimum of two disks, set up a storage pool and dataset for the raid-z
354 # $1 the list of disks
359 disks=(${disklist[*]})
[all …]
/titanic_44/usr/src/cmd/format/
H A Dformat.dat28 # disks, disk types, and partition maps.
56 # This is the list of Sun supported disks for embedded SCSI.
153 # Following is a list of sample partition tables for embedded SCSI disks.
H A Dstartup.c2846 struct disk_info **disks; in sort_disk_list() local
2865 disks = (struct disk_info **) in sort_disk_list()
2868 dp = disks; in sort_disk_list()
2877 qsort((void *) disks, n, sizeof (struct disk_info *), in sort_disk_list()
2883 dp = disks; in sort_disk_list()
2893 (void) destroy_data((void *)disks); in sort_disk_list()
/titanic_44/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/
H A Dfcal_leds.conf34 n-disks: 2
/titanic_44/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dlittleneck.c789 picl_nodehdl_t *disks; in lneck_env_print_disk() local
794 &disks); in lneck_env_print_disk()
805 err = picl_get_propval_by_name(disks[i], PICL_PROP_NAME, name, in lneck_env_print_disk()
819 err = picl_get_propval_by_name(disks[i], "FaultInformation", in lneck_env_print_disk()
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_offline/
H A Dzpool_offline_001_pos.ksh42 set -A disks $DISKLIST
/titanic_44/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
/titanic_44/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
/titanic_44/usr/src/lib/libprtdiag_psr/sparc/daktari/common/
H A Ddaktari.c936 picl_nodehdl_t *disks; in dak_env_print_disk() local
944 &disks); in dak_env_print_disk()
958 err = picl_get_propval_by_name(disks[i], PICL_PROP_NAME, name, in dak_env_print_disk()
977 err = fill_device_from_id(disks[i], "PSVC_PARENT", in dak_env_print_disk()
/titanic_44/usr/src/test/zfs-tests/tests/functional/migration/
H A Dmigration.cfg48 # In this case there are at least enough disks to use.
/titanic_44/usr/src/test/zfs-tests/tests/functional/interop/
H A Dinterop.cfg62 # In this case there are at least enough disks to use.
/titanic_44/usr/src/cmd/picl/plugins/sun4u/mpxu/frutree/
H A Dpiclfrutree.info190 /* extra disks */
198 /* add disk fru nodes for disks which are present */
208 /* add disk fru nodes for SAS disks which are present */
214 /* add cdrom fru nodes for disks which are present */
/titanic_44/usr/src/cmd/devfsadm/
H A DMakefile.com88 COMPAT_LINKS = disks tapes ports audlinks devlinks drvconfig

123