Searched refs:disks (Results 1 - 12 of 12) sorted by relevance

/osnet-11/usr/src/grub/grub2/tests/
H A Dgrub_script_expansion.in20 disks=`echo ls | @builddir@/grub-shell`
22 for d in $disks; do
37 for d in $disks; do
/osnet-11/usr/src/grub/grub-0.97/grub/
H A Dasmstub.c84 struct geometry *disks = 0; variable in typeref:struct:geometry
151 assert (disks == 0);
152 disks = malloc (NUM_DISKS * sizeof (*disks));
153 assert (disks);
156 disks[i].flags = -1;
200 if (disks[i].flags != -1)
205 ioctl (disks[i].flags, BLKFLSBUF, 0);
211 close (disks[i].flags);
220 free (disks);
[all...]
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dpath.c194 for (i = 0; pp->disks[i] && pp->states[i] != -1; i++) {
195 if (pp->disks[i]->devid != NULL &&
196 devid_compare(pp->disks[i]->devid, devid) == 0) {
232 for (i = 0; pp->disks[i] && pp->states[i] != -1; i++) {
233 if (pp->disks[i]->devid != NULL &&
234 devid_compare(pp->disks[i]->devid, devid) == 0) {
292 for (cnt = 0; pp->disks[cnt]; cnt++);
301 for (i = 0; pp->disks[i]; i++) {
302 drives[i] = cache_get_desc(DM_DRIVE, pp->disks[i], NULL, NULL,
H A Dcache.c88 * (e.g. slices & disks getting repartitioned) there are no events which would
204 free(cp->disks);
291 free(pp->disks);
573 for (i = 0; cp->disks[i]; i++) {
574 if (dp == cp->disks[i]) {
577 for (j = i; cp->disks[j]; j++) {
578 cp->disks[j] = cp->disks[j + 1];
591 for (i = 0; pp->disks[i]; i++) {
592 if (dp == pp->disks[
[all...]
H A Dcontroller.c242 for (cnt = 0; cp->disks[cnt]; cnt++);
251 for (i = 0; cp->disks[i]; i++) {
252 drives[i] = cache_get_desc(DM_DRIVE, cp->disks[i], NULL, NULL,
H A Ddisks_private.h74 struct disk **disks; member in struct:path
94 struct disk **disks; member in struct:controller_info
H A Dfindevs.c135 * disks, controllers and paths on the system. This model is returned in the
428 cp->disks = (disk_t **)calloc(1, sizeof (disk_t *));
429 if (cp->disks == NULL) {
433 cp->disks[0] = NULL;
478 * Add other controllers for multipath disks.
690 if (add_ptr2array(diskp, (void ***)&cp->disks) != 0) {
749 if (add_ptr2array(dp, (void ***)&pp->disks) != 0) {
1028 /* IDE disks use SCSI nexus as the type, so handle this special case */
1156 * we should have found all of the disks
1198 * disks
[all...]
/osnet-11/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_diskmgt.c680 /* Search for fixed disks */
681 dm_descriptor_t *disks = dm_get_descriptors(DM_DRIVE, filter, &error); local
689 for (i = 0; disks != NULL && disks[i] != NULL; i++) {
690 dm_descriptor_t disk = (dm_descriptor_t)disks[i];
728 dm_free_descriptors(disks);
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Dmdraid_linux.c115 grub_uint32_t nr_disks; /* Total disks in the raid set. */
129 grub_uint32_t active_disks; /* Number of currently active disks. */
130 grub_uint32_t working_disks; /* Number of working disks. */
131 grub_uint32_t failed_disks; /* Number of failed disks. */
132 grub_uint32_t spare_disks; /* Number of spare disks. */
151 struct grub_raid_disk_09 disks[SB_DISKS]; member in struct:grub_raid_super_09
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dshared.h629 extern struct geometry *disks;
H A Dbuiltins.c1797 /* Hard disks. */
1992 disks[current_drive].cylinders = num_cylinder;
1993 disks[current_drive].heads = num_head;
1994 disks[current_drive].sectors = num_sector;
1997 disks[current_drive].total_sectors = num_total_sector;
1999 disks[current_drive].total_sectors
2003 geom = disks[current_drive];
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/
H A DTemp.pm1721 command is expected to fail on NFS disks.

Completed in 495 milliseconds