/dragonfly/sys/dev/disk/nata/ |
H A D | ata-raid.c | 1015 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 D | ata-raid.h | 108 } 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 D | help.i386 | 46 # 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 D | ccdconfig.c | 203 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 D | mpt_cam.c | 394 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 D | mpt_config.c | 103 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 D | preen.c | 60 } *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 D | dm_target_dmirror.c | 89 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 D | dmirror_notes.txt | 44 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 D | efivar-dp-xlate.c | 68 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 D | Makefile | 3 FILES= 100.clean-disks \ 17 400.status-disks \
|
/dragonfly/sys/config/ |
H A D | VKERNEL64 | 69 pseudo-device md # Memory "disks" 70 pseudo-device vn # File image "disks" 77 device da # Direct Access (disks)
|
H A D | X86_64_GENERIC | 106 device da # Direct Access (disks) 286 pseudo-device md # Memory "disks" 287 pseudo-device vn # File image "disks"
|
H A D | LINT64 | 624 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 D | lvmdiskscan.c | 55 static void _count(struct device *dev, int *disks, int *parts) in _count() argument 60 (*disks)++; in _count()
|
/dragonfly/usr.sbin/installer/libinstaller/ |
H A D | survey.c | 148 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 D | natacontrol.c | 568 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 D | special_media | 122 KERN_DISKS=`sysctl kern.disks`
|
/dragonfly/sys/sys/ |
H A D | nata.h | 460 int disks[16]; member 476 } disks[16]; member
|
/dragonfly/sbin/fdisk/ |
H A D | fdisk.c | 68 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 D | zip | 115 #>4 uleshort !0xFFff \b, %u disks
|
H A D | amigaos | 119 # bm_ext; first bitmap extension block (Hard disks only)
|
/dragonfly/usr.bin/crunch/ |
H A D | README | 82 was good to put on your fixit or install disks. Thanks!
|
/dragonfly/usr.bin/m4/TEST/ |
H A D | test.m4 | 96 # some reasonable set of disks
|
/dragonfly/sys/kern/ |
H A D | subr_disk.c | 1044 SYSCTL_PROC(_kern, OID_AUTO, disks, CTLTYPE_STRING | CTLFLAG_RD, NULL, 0,
|