Searched refs:disk (Results 276 - 300 of 398) sorted by relevance

<<111213141516

/netbsd-current/usr.sbin/sysinst/
H A Dpart_edit.c906 parts->disk,
917 args[0] = parts->disk;
959 * Use the whole disk for NetBSD, but (if any) create required helper
1196 set_default_sizemult(parts->disk, MEG, parts->bytes_per_sector);
/netbsd-current/sbin/dkctl/
H A Ddkctl.c51 #include <sys/disk.h>
/netbsd-current/sbin/fsck_ext2fs/
H A Dsetup.c73 #include <sys/disk.h>
496 * Calculate a prototype superblock based on information in the disk label.
/netbsd-current/sys/dev/
H A Dld.c49 #include <sys/disk.h>
139 /* don't attach a disk that we cannot handle */
145 /* Initialise dk and disk structure. */
162 /* Attach dk and disk subsystems */
175 /* Discover wedges on this disk. */
201 * If the disk is still open, back out before we commit to
256 /* Detach from the disk list. */
/netbsd-current/sys/dev/qbus/
H A Drl.c28 * RL11/RLV11/RLV12 disk controller driver and
29 * RL01/RL02 disk device driver.
32 * Handle disk errors more gracefully
46 #include <sys/disk.h>
331 /* Check that the disk actually is useable */
339 * If this is the first open; read in where on the disk we are.
351 /* Get disk label */
581 * Start routine. First position the disk to the given position,
620 * Check if we have to position disk first.
/netbsd-current/sbin/mount/
H A Dmount.c65 #include <sys/disk.h>
708 /* Deduce the filesystem type from the disk label. */
/netbsd-current/sys/dev/usb/
H A Dumass_scsipi.c48 #include <sys/disk.h> /* XXX */
/netbsd-current/sys/arch/xen/xen/
H A Dhypervisor.c118 #include <sys/disk.h>
/netbsd-current/sys/arch/amiga/amiga/
H A Ddisksubr.c75 #include <sys/disk.h>
122 * Attempt to read a disk label from a device
210 msg = "NetBSD disk label corrupted";
296 * raw partition gets the entire disk
502 * Write disk label back to device after modification.
503 * this means write out the Rigid disk blocks to represent the
/netbsd-current/sys/arch/macppc/macppc/
H A Ddisksubr.c103 * 2) /sbin/disklabel expects the whole disk to be in "D", we put it in
115 #include <sys/disk.h>
146 * Find an entry in the disk label that is unused and return it
310 * C: Whole disk
320 * disk. This whole algorithm should probably be changed in the future.
388 * Scan the disk buffer in four byte strides for a native BSD
405 * Read in the first #(NUM_PARTS + 1) blocks of the disk.
426 * Hunt the label, starting at the beginning of the disk.
463 * dig up *BSD/i386 disk labels that may be present on the disk
[all...]
/netbsd-current/sys/dev/flash/
H A Dflash.c56 #include <sys/disk.h>
/netbsd-current/sys/dev/mca/
H A Dedc_mca.c42 * - test with > 1 disk (this is supported by some controllers)
59 #include <sys/disk.h>
257 * Integrated ESDI controller supports only one disk, other
426 * setup, now just kick disk controller to do the transfer.
H A Ded_mca.c51 #include <sys/disk.h>
129 * Just check if it's possible to identify the disk.
168 aprint_error(": IDENTIFY failed, no disk found\n");
188 * Initialize and attach the disk structure.
317 * If any partition is open, but the disk has been invalidated,
435 * Fabricate a default disk label, and try to read the correct one.
615 struct ed_softc *ed; /* disk unit to do the I/O */
616 struct disklabel *lp; /* disk's disklabel */
636 /* Convert to disk sectors. Request must be a multiple of size. */
/netbsd-current/sys/kern/
H A Dsubr_disk_mbr.c35 * Code to find a NetBSD label on a disk that contains an i386 style MBR.
39 * disk, if that fails then a label is faked up from the MBR.
69 #include <sys/disk.h>
85 * LABELSECTOR and LABELOFFSET are only used if the disk doesn't have a label.
108 int found_mbr; /* set if disk has a valid mbr */
204 /* Check end of partition is inside disk limits */
208 a->msg = "mbr partition exceeds disk size";
382 * Attempt to read a disk label from a device
409 /* minimal requirements for architypal disk label */
425 * Set partition 'a' to be the whole disk
[all...]
H A Dinit_main.c170 #include <sys/disk.h>
524 /* Initialize the disk wedge subsystem. */
/netbsd-current/sys/dev/i2o/
H A Dld_iop.c49 #include <sys/disk.h>
/netbsd-current/sbin/newfs/
H A Dnewfs.c91 #include <sys/disk.h>
146 const char lmsg[] = "%s: can't read disk label; disk type must be specified";
148 const char lmsg[] = "%s: can't read disk label";
916 " [disk-type]");
/netbsd-current/sys/dev/sdmmc/
H A Dld_sdmmc.c44 #include <sys/disk.h>
304 * Defer attachment of ld + disk subsystem to a thread.
356 * Block new xfers, or fail if the disk is still open and the
376 /* Done! Destroy the disk. */
/netbsd-current/sys/compat/netbsd32/
H A Dnetbsd32_ioctl.h31 #include <sys/disk.h>
573 unsigned int vnd_osize; /* (returned) size of disk */
574 netbsd32_uint64 vnd_size; /* (returned) size of disk */
584 #define VNDIOCSET32 _IOWR('F', 0, struct netbsd32_vnd_ioctl) /* enable disk */
585 #define VNDIOCCLR32 _IOW('F', 1, struct netbsd32_vnd_ioctl) /* disable disk */
592 unsigned int vnd_size; /* (returned) size of disk */
700 /* From sys/disk.h, sys/dkio.h */
/netbsd-current/sys/arch/sh3/sh3/
H A Ddisksubr.c43 #include <sys/disk.h>
290 * Attempt to read a disk label from a device
316 /* minimal requirements for archtypal disk label */
418 /* next, dig out disk label */
426 /* if successful, locate disk label within block and validate */
428 msg = "disk label I/O error";
439 msg = "disk label corrupted";
452 msg = "disk label corrupted";
469 msg = "disk label corrupted";
483 msg = "no disk labe
[all...]
/netbsd-current/sys/arch/hppa/stand/xxboot/
H A Dstart.S97 andcm %r1,%r2,%r6 ; r6 = tmp disk buffer
107 ; read disk blocks which contains ipl part 2 and part 3
/netbsd-current/sys/arch/atari/dev/
H A Dhdfd.c106 #include <sys/disk.h>
226 int size; /* size of disk in sectors */
247 /* software state, per disk (with up to 4 disks per ctlr) */
250 struct disk sc_dk;
399 * Print the location of a disk drive (called just before attaching the
552 * Initialize and attach the disk structure.
629 /* If exactly at end of disk, return EOF. */
633 /* If past end of disk, return EINVAL. */
1531 * Obtain a disklabel. Either a real one from the disk or, if there
1554 * If there is no label on the disk
[all...]
/netbsd-current/sys/arch/hp300/dev/
H A Drd.c71 * CS80/SS80 disk driver
86 #include <sys/disk.h>
529 * Initialize and attach the disk structure.
861 struct disk *dk = &sc->sc_dkdev;
1463 int sectorsize; /* size of a disk sector */
1494 * Convert to disk sectors. Request must be a multiple of size.
/netbsd-current/sys/dev/ic/
H A Dmfi.c1977 DNPRINTF(MFI_D_IOCTL, "disk\n");
2084 DNPRINTF(MFI_D_IOCTL, "%s: invalid logical disk state %#x\n",
2147 int arr, vol, disk; local
2190 /* offset disk into pd list */
2191 disk = bd->bd_diskid % ld[vol].mlc_parm.mpa_no_drv_per_span;
2196 bd->bd_target = ar[arr].pd[disk].mar_enc_slot;
2197 switch (ar[arr].pd[disk].mar_pd_state){
2230 mbox.s[0] = ar[arr].pd[disk].mar_pd.mfp_id;
3370 * of change are removing a disk. Once the command returns then
/netbsd-current/external/gpl2/lvm2/dist/
H A Dconfigure.in93 AC_CHECK_HEADERS(machine/endian.h sys/disk.h,,AC_MSG_ERROR(bailing out)) ;;

Completed in 295 milliseconds

<<111213141516