Searched refs:disk (Results 51 - 75 of 160) sorted by relevance

1234567

/openbsd-current/sys/arch/loongson/loongson/
H A Dhibernate_machdep.c24 #include <sys/disk.h>
/openbsd-current/gnu/usr.bin/perl/vms/
H A Dmyconfig.com11 $! @MYCONFIG [node::][which$disk:][[dir.subdir]]CONFIG.SH !or
12 $! @MYCONFIG/OUTPUT=MYCONFIG.OUT [node::][w$disk:][[dir]]CONFIG.SH
/openbsd-current/lib/libutil/
H A Dreadlabel.c29 #include <sys/disk.h>
60 /* Perform disk mapping if device is given as a DUID. */
/openbsd-current/sys/arch/alpha/alpha/
H A Ddisksubr.c39 #include <sys/disk.h>
42 * Attempt to read a disk label from a device
101 * Write disk label back to device after modification.
/openbsd-current/sys/arch/alpha/stand/boot/
H A DMakefile10 SRCS = start.S boot.c disk.c conf.c prom.c prom_disp.S OSFpal.c
/openbsd-current/sys/arch/alpha/stand/nboot/
H A DMakefile17 SRCS+= conf.c devopen.c disk.c machdep.c prom.c promcons.c \
/openbsd-current/share/man/man9/
H A DMakefile15 delay.9 disk.9 disklabel.9 dma_alloc.9 dohooks.9 \
/openbsd-current/sbin/fdisk/
H A Dmisc.c30 #include "disk.h"
140 secpercyl = disk.dk_sectors * disk.dk_heads;
H A Dgpt.c33 #include "disk.h"
400 disk.dk_name, gh.gh_lba_start, gh.gh_lba_end, size);
484 "of %s\n", pn, disk.dk_name);
623 if (disk.dk_bootprt.prt_ns > 0) {
627 "EFI System Area", disk.dk_bootprt.prt_ns);
630 if (prt_ns < disk.dk_bootprt.prt_ns) {
632 disk.dk_bootprt.prt_ns);
748 /* Refresh in-kernel disklabel from the updated disk information. */
749 if (ioctl(disk.dk_fd, DIOCRLDINFO, 0) == -1)
H A Duser.c32 #include "disk.h"
52 {"write", 1, Xwrite, "Write partition table to disk"},
87 printf("%s%s: %d> ", disk.dk_name, modified ? "*" : "",
/openbsd-current/regress/usr.sbin/installboot/
H A DMakefile41 # how distrib/$(arch -s)/*/install.md:md_prep_disklabel() formats the root disk
59 DISKFILES != jot -w disk%d.img -- ${NDISKS}
147 ${DRY_RUN} -- disk stage1 stage2 too many 2>/dev/null
/openbsd-current/sbin/dump/
H A Dtraverse.c184 mapfiles(ino_t maxino, int64_t *tapesize, char *disk, char * const *dirv) argument
235 while (strcmp(path, disk) != 0) {
399 * Scan a disk block containing directory information looking to see if
763 * Read a chunk of data from the disk.
834 disk, strerror(errno), (long long)blkno, size);
837 "got=%d\n", disk, (long long)blkno, size, cnt);
840 BREADEMAX, disk);
862 "count=%u\n", disk, strerror(errno),
867 "got=%d\n", disk, (long long)(offset + i) / DEV_BSIZE,
/openbsd-current/gnu/usr.bin/perl/cpan/Win32API-File/
H A DFile.pm1272 Your entire first hard disk. Doesn't work under Windows 95. This
1273 allows you to read or write raw sectors of your hard disk and to use
1275 to the hard disk. Writing raw sectors and certain other operations
1279 doesn't prevent access to the partitions on the disk nor their file
1281 a partition and can use the file system on the disk as usual.
1301 The raw floppy disk. Doesn't work under Windows 95. This allows
1302 you to read or write raw sectors of the floppy disk and to use
1304 to the floppy disk or drive.
1444 as ejecting a tape or formatting a disk. Like most routines, returns
1573 An ordinary hard disk partitio
[all...]
/openbsd-current/sys/arch/amd64/amd64/
H A Ddisksubr.c37 #include <sys/disk.h>
50 * Attempt to read a disk label from a device
124 * Write disk label back to device after modification.
/openbsd-current/sys/arch/i386/i386/
H A Ddisksubr.c37 #include <sys/disk.h>
50 * Attempt to read a disk label from a device
124 * Write disk label back to device after modification.
/openbsd-current/sys/arch/macppc/macppc/
H A Dautoconf.c65 #include <sys/disk.h>
139 { "/disk@", "sd", T_DISK },
140 { "/disk", "wd", T_DISK },
166 * Boot names look like: '/pci/scsi@c/disk@0,0/bsd'
167 * '/pci/mac-io/ide@20000/disk@0,0/bsd
168 * '/pci/mac-io/ide/disk/bsd
H A Ddisksubr.c38 #include <sys/disk.h>
44 * Attempt to read a disk label from a device
170 /* next, dig out disk label */
182 * Write disk label back to device after modification.
/openbsd-current/sys/dev/
H A Ddiskmap.c29 #include <sys/disk.h>
68 * Map a request for a disk to the correct device. We should be
H A Drd.c28 #include <sys/disk.h>
56 struct disk sc_dk;
130 /* Attach disk. */
142 /* Detach disk. */
328 strncpy(lp->d_typename, "RAM disk", sizeof(lp->d_typename));
/openbsd-current/regress/sbin/bioctl/
H A DMakefile5 CHUNKFILE = disk.img
/openbsd-current/usr.bin/vmstat/
H A Ddkstats.c37 #include <sys/disk.h>
96 static struct disk *dk_drivehead = NULL;
151 * Read the disk statistics for each disk in the disk list.
158 struct disk cur_disk, *p;
178 /* Re-read the disk names. */
416 * track disk statistics.
423 struct disk cur_disk, *p;
454 /* Get a pointer to the first disk
[all...]
/openbsd-current/usr.sbin/nsd/
H A Dudb.h32 * Structures that are 'on-disk', are denoted with _d. Except rel_ptr which
33 * is also on-disk.
298 * UDB alloc info on disk.
309 * this to be written to memory (and thus disk) immediately. */
323 /** real pointer to space allocation info on disk; fixedsize struct */
324 udb_alloc_d* disk; member in struct:udb_alloc
375 * most important bits (write to disk, sockets) can be done first.
476 * Create empty UDB allocate structure to write to disk to initialize file.
482 * Create new udb allocator, with specific data on disk
484 * @param disk
[all...]
/openbsd-current/sys/kern/
H A Dsubr_hibernate.c26 #include <sys/disk.h>
73 /* Hibernate info as read from disk during resume */
850 * (this information is needed to know how much to write to disk)
890 /* Write hibernate info to disk */
940 /* Write (zeroed) hibernate info to disk */
961 union hibernate_info *disk)
965 if (mine->nranges != disk->nranges) {
970 if (bcmp(mine->kern_hash, disk->kern_hash, SHA256_DIGEST_LENGTH) != 0) {
976 if ((mine->ranges[i].base != disk->ranges[i].base) ||
977 (mine->ranges[i].end != disk
960 hibernate_compare_signature(union hibernate_info *mine, union hibernate_info *disk) argument
[all...]
/openbsd-current/gnu/usr.bin/perl/Porting/
H A Dpod_lib.pl249 Read a file from disk, pass the contents to the callback, and either update
250 the file on disk (if changed) or generate TAP output to confirm that the
251 version on disk is up to date. C<die>s if the file contains any C<NUL> bytes.
611 # Do we expect to find generated pods on disk?
/openbsd-current/libexec/security/
H A Dsecurity684 # Check for block and character disk devices that are readable or writeable
899 foreach my $disk (sort keys %disks) {
900 $check_title = "======\n$disk diffs (-OLD +NEW)\n======";
901 my $filename = BACKUP_DIR . "disklabel.$disk";
902 system "disklabel $disk > $filename";
945 $check_title = "Checking disk ownership and permissions.";

Completed in 202 milliseconds

1234567