Home
last modified time | relevance | path

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

12

/dragonfly/sys/dev/disk/nata/
H A Data-raid.c1015 if ((rdp->disks[i].flags & AR_DF_PRESENT) && rdp->disks[i].dev) { in ata_raid_status()
1016 status->disks[i].lun = device_get_unit(rdp->disks[i].dev); in ata_raid_status()
1072 rdp->disks[disk].sectors = HPTV3_LBA(rdp->disks[disk].dev); in ata_raid_create()
1077 rdp->disks[disk].sectors = INTEL_LBA(rdp->disks[disk].dev); in ata_raid_create()
1082 rdp->disks[disk].sectors = ITE_LBA(rdp->disks[disk].dev); in ata_raid_create()
1087 rdp->disks[disk].sectors = JMICRON_LBA(rdp->disks[disk].dev); in ata_raid_create()
1093 rdp->disks[disk].sectors = PROMISE_LBA(rdp->disks[disk].dev); in ata_raid_create()
1098 rdp->disks[disk].sectors = SIS_LBA(rdp->disks[disk].dev); in ata_raid_create()
1104 rdp->disks[disk].sectors = VIA_LBA(rdp->disks[disk].dev); in ata_raid_create()
1123 rdp->disks[disk].sectors = PROMISE_LBA(rdp->disks[disk].dev); in ata_raid_create()
[all …]
H A Data-raid.h108 } disks[MAX_DISKS]; member
449 u_int32_t disks[JM_MAX_DISKS]; member
765 u_int8_t disks; member
819 u_int32_t disks[8]; member
/dragonfly/stand/boot/pc32/loader/
H A Dhelp.i38646 # Tset Snum_ide_disks DSet the number of IDE disks
52 When booting from a SCSI disk on a system with one or more IDE disks,
53 and where the IDE disks are the default boot device, it is necessary
54 to tell the kernel how many IDE disks there are in order to have it
63 confused, e.g. by a mix of SCSI and IDE disks, or IDE disks with
/dragonfly/sbin/ccdconfig/
H A Dccdconfig.c203 char *ccd, *cp, *cp2, **disks; in do_single() local
269 disks = malloc(argc * sizeof(char *)); in do_single()
270 if (disks == NULL) { in do_single()
277 disks[i++] = cp; in do_single()
280 free(disks); in do_single()
286 ccio.ccio_disks = disks; in do_single()
292 free(disks); in do_single()
300 if ((cp2 = strrchr(disks[i], '/')) != NULL) in do_single()
303 cp2 = disks[i]; in do_single()
315 free(disks); in do_single()
/dragonfly/usr.sbin/mptutil/
H A Dmpt_cam.c394 struct mpt_standalone_disk *disks; in mpt_fetch_disks() local
487 disks = calloc(ccb.cdm.num_matches, sizeof(*disks)); in mpt_fetch_disks()
493 disks[count].bus = 0; in mpt_fetch_disks()
494 disks[count].target = r->target_id; in mpt_fetch_disks()
495 snprintf(disks[count].devname, sizeof(disks[count].devname), in mpt_fetch_disks()
498 dev = cam_open_device(disks[count].devname, O_RDWR); in mpt_fetch_disks()
500 fetch_scsi_capacity(dev, &disks[count]); in mpt_fetch_disks()
501 fetch_scsi_inquiry(dev, &disks[count]); in mpt_fetch_disks()
510 *disksp = disks; in mpt_fetch_disks()
H A Dmpt_config.c103 mpt_lookup_standalone_disk(const char *name, struct mpt_standalone_disk *disks, in mpt_lookup_standalone_disk() argument
119 if (disks[i].bus == (U8)bus && in mpt_lookup_standalone_disk()
120 disks[i].target == (U8)id) { in mpt_lookup_standalone_disk()
131 if (strcmp(name, disks[i].devname) == 0) { in mpt_lookup_standalone_disk()
1003 struct mpt_standalone_disk *disks; in pd_create() local
1019 error = mpt_fetch_disks(fd, &ndisks, &disks); in pd_create()
1025 if (mpt_lookup_standalone_disk(av[1], disks, ndisks, &i) < 0) { in pd_create()
1031 if (mpt_lock_physdisk(&disks[i]) < 0) in pd_create()
1034 if (mpt_create_physdisk(fd, &disks[i], &PhysDiskNum) < 0) { in pd_create()
1039 free(disks); in pd_create()
/dragonfly/sbin/fsck/
H A Dpreen.c60 } *disks; variable
116 nextdisk = disks; in checkfstab()
125 for (dk = disks; dk; dk = dk->next) in checkfstab()
166 nextdisk = disks; in checkfstab()
207 for (dk = disks, dkp = &disks; dk; dkp = &dk->next, dk = dk->next) { in finddisk()
/dragonfly/sys/dev/disk/dm/dmirror/
H A Ddm_target_dmirror.c89 dmirror_disk_t disks[4]; member
158 disk = &config->disks[i]; in dmirror_write()
252 disk = &config->disks[i]; in dmirror_read()
277 disk = &config->disks[i]; in dmirror_read()
295 m_disk = &config->disks[i]; in dmirror_read()
H A Ddmirror_notes.txt44 on both disks making up the mirror. In addition, each disk will
45 store the segment state for BOTH disks.
56 disks? So we can 'remember' the state of the dead disk on the
/dragonfly/lib/libefivar/
H A Defivar-dp-xlate.c68 char disks[1024], efimedia[128], dev_path[256], part[256]; in find_slice_by_efimedia() local
77 if (sysctlbyname("kern.disks", disks, &len, NULL, 0) < 0) in find_slice_by_efimedia()
79 disk_ptr = disks; in find_slice_by_efimedia()
428 char disk_path[1024], disks[1024], efimedia[128]; in find_slice_efimedia() local
438 if (sysctlbyname("kern.disks", disks, &len, NULL, 0) < 0) in find_slice_efimedia()
440 disk_ptr = disks; in find_slice_efimedia()
/dragonfly/etc/periodic/daily/
H A DMakefile3 FILES= 100.clean-disks \
17 400.status-disks \
/dragonfly/sys/config/
H A DVKERNEL6469 pseudo-device md # Memory "disks"
70 pseudo-device vn # File image "disks"
77 device da # Direct Access (disks)
H A DX86_64_GENERIC106 device da # Direct Access (disks)
286 pseudo-device md # Memory "disks"
287 pseudo-device vn # File image "disks"
H A DLINT64624 device da #SCSI direct access devices (aka disks)
705 # Optional enable of doing SES passthrough on other devices (e.g., disks)
707 # Normally disabled because a lot of newer SCSI disks report themselves
722 pseudo-device vn # File image "disks"
965 # Network controlled disks
/dragonfly/contrib/lvm2/dist/tools/
H A Dlvmdiskscan.c55 static void _count(struct device *dev, int *disks, int *parts) in _count() argument
60 (*disks)++; in _count()
/dragonfly/usr.sbin/installer/libinstaller/
H A Dsurvey.c148 char disks[256], line[256]; in survey_storage() local
176 if (sysctlbyname("kern.disks", disks, &len, NULL, 0) < 0) { in survey_storage()
179 disk_ptr = disks; in survey_storage()
/dragonfly/sbin/natacontrol/
H A Dnatacontrol.c568 config.disks[disk] = dev; in main()
595 if (!(sscanf(argv[3], "ad%d", &config.disks[0]) == 1)) { in main()
683 lun = status.disks[i].lun; in main()
684 state = status.disks[i].state; in main()
/dragonfly/usr.sbin/autofs/autofs/
H A Dspecial_media122 KERN_DISKS=`sysctl kern.disks`
/dragonfly/sys/sys/
H A Dnata.h460 int disks[16]; member
476 } disks[16]; member
/dragonfly/sbin/fdisk/
H A Dfdisk.c68 static const char *disks[] = variable
229 for(i = 0; disks[i]; i++) in main()
231 disk = disks[i]; in main()
/dragonfly/contrib/file/magic/Magdir/
H A Dzip115 #>4 uleshort !0xFFff \b, %u disks
H A Damigaos119 # bm_ext; first bitmap extension block (Hard disks only)
/dragonfly/usr.bin/crunch/
H A DREADME82 was good to put on your fixit or install disks. Thanks!
/dragonfly/usr.bin/m4/TEST/
H A Dtest.m496 # some reasonable set of disks
/dragonfly/sys/kern/
H A Dsubr_disk.c1044 SYSCTL_PROC(_kern, OID_AUTO, disks, CTLTYPE_STRING | CTLFLAG_RD, NULL, 0,

12