Defined in 1 files as a variable:
Defined in 1 files as a typedef:
Defined in 2 files as a struct:
Defined in 1 files as a prototype:
Defined in 2 files as a member:
Defined in 2 files as a label:
Defined in 1 files as a function:
Referenced in 264 files:
- distrib/utils/edlabel/edlabel.c, 27 times
- external/bsd/libarchive/dist/libarchive/archive_read_open_filename.c, line 232
- external/cddl/osnet/dist/cmd/zpool/zpool_vdev.c, line 413
- external/gpl2/lvm2/dist/lib/device/dev-io.c, 2 times
- external/gpl3/gdb/dist/sim/ppc/pk_disklabel.c, 8 times
- include/disktab.h, line 46
- include/util.h, 3 times
- lib/libc/gen/disklabel.c, 3 times
- lib/librumpuser/rumpuser_file.c, line 145
- lib/libutil/disklabel_dkcksum.c, line 47
- lib/libutil/disklabel_scan.c, line 49
- sbin/apmlabel/apmlabel.c, line 65
- sbin/cgdconfig/cgdconfig.c, line 794
- sbin/disklabel/bswap.c, 7 times
- sbin/disklabel/bswap.h, 5 times
- sbin/disklabel/dkcksum.c, 2 times
- sbin/disklabel/dkcksum.h, 2 times
- sbin/disklabel/extern.h, 6 times
- sbin/disklabel/interact.c, 31 times
- sbin/disklabel/main.c, 15 times
- sbin/disklabel/printlabel.c, 3 times
- sbin/dkscan_bsdlabel/dkscan_util.c, 2 times
- sbin/dkscan_bsdlabel/dkscan_util.h, 2 times
- sbin/fdisk/fdisk.c, 19 times
- sbin/fsck/fsck.c, line 555
- sbin/fsck/partutil.c, 3 times
- sbin/fsck_v7fs/fsck_v7fs.c, line 65
- sbin/fsirand/fsirand.c, 3 times
- sbin/gpt/migrate.c, line 175
- sbin/mbrlabel/mbrlabel.c, line 65
- sbin/mount/mount.c, line 710
- sbin/newfs_sysvbfs/newfs_sysvbfs.c, line 59
- sbin/newfs_udf/newfs_udf.c, line 301
- sbin/newfs_v7fs/newfs_v7fs.c, line 63
- sbin/resize_ffs/resize_ffs.c, line 2117
- sbin/scan_ffs/scan_ffs.c, line 445
- sbin/svhlabel/svhlabel.c, line 69
- sbin/swapctl/swapctl.c, line 662
- sys/arch/acorn32/mainbus/fd.c, 5 times
- sys/arch/acorn32/stand/lib/riscosdisk.c, line 64
- sys/arch/acorn32/stand/lib/riscospart.c, line 147
- sys/arch/acorn32/stand/lib/riscospart.h, line 29
- sys/arch/alpha/alpha/disksubr.c, 6 times
- sys/arch/alpha/stand/common/blkdev.c, line 118
- sys/arch/amiga/amiga/disksubr.c, 8 times
- sys/arch/amiga/dev/fd.c, 17 times
- sys/arch/arc/arc/disksubr.c, 10 times
- sys/arch/arc/jazz/fd.c, 4 times
- sys/arch/arc/stand/boot/disk.c, 2 times
- sys/arch/arm/arm/disksubr.c, 10 times
- sys/arch/arm/arm/disksubr_acorn.c, 2 times
- sys/arch/arm/arm/disksubr_mbr.c, 2 times
- sys/arch/arm/include/disklabel.h, 3 times
- sys/arch/atari/atari/disksubr.c, 13 times
- sys/arch/atari/dev/fd.c, 6 times
- sys/arch/atari/dev/hdfd.c, 8 times
- sys/arch/atari/dev/md_root.c, line 152
- sys/arch/atari/include/disklabel.h, 3 times
- sys/arch/atari/stand/ahdilabel/cksum.c, line 39
- sys/arch/atari/stand/ahdilabel/magic.c, 3 times
- sys/arch/atari/stand/ahdilabel/privahdi.h, 2 times
- sys/arch/atari/stand/ahdilabel/read.c, 4 times
- sys/arch/atari/stand/bootxx/bootxx.c, 4 times
- sys/arch/atari/stand/bootxxx/bootxxx.c, 2 times
- sys/arch/atari/stand/edahdi/edahdi.c, 5 times
- sys/arch/atari/stand/installboot/disklabel.c, 10 times
- sys/arch/atari/stand/installboot/installboot.c, 11 times
- sys/arch/atari/stand/installboot/installboot.h, 2 times
- sys/arch/atari/stand/libsa/diskio.c, line 56
- sys/arch/atari/stand/tostools/aptck/ahdilbl.h, 2 times
- sys/arch/atari/stand/tostools/aptck/disklbl.c, 5 times
- sys/arch/atari/stand/tostools/file2swp/file2swp.c, line 155
- sys/arch/atari/stand/tostools/libtos/ahdilbl.h, 4 times
- sys/arch/atari/stand/tostools/libtos/bsdlabel.c, 6 times
- sys/arch/atari/stand/xxboot/ahdi-xxboot/xxboot.ahdi.S, line 112
- sys/arch/atari/stand/xxboot/fdboot/fdboot.S, line 113
- sys/arch/atari/stand/xxboot/sdboot/sdboot.S, line 96
- sys/arch/atari/stand/xxboot/wdboot/wdboot.S, line 91
- sys/arch/bebox/stand/boot/sd.c, 5 times
- sys/arch/bebox/stand/boot/sdvar.h, line 148
- sys/arch/bebox/stand/boot/wd.c, 4 times
- sys/arch/bebox/stand/boot/wdvar.h, line 73
- sys/arch/cobalt/cobalt/disksubr.c, 10 times
- sys/arch/cobalt/stand/boot/wd.c, 4 times
- sys/arch/cobalt/stand/boot/wdvar.h, line 78
- sys/arch/dreamcast/dev/maple/mmemcard.c, 3 times
- sys/arch/emips/ebus/ace_ebus.c, 10 times
- sys/arch/emips/ebus/flash_ebus.c, 9 times
- sys/arch/emips/stand/common/ace.c, 2 times
- sys/arch/evbarm/stand/boot2440/dev_sdmmc.c, 3 times
- sys/arch/evbmips/evbmips/disksubr.c, 8 times
- sys/arch/evbmips/sbmips/disksubr.c, 10 times
- sys/arch/evbmips/stand/sbmips/common/blkdev.c, line 108
- sys/arch/evbppc/evbppc/disksubr.c, 10 times
- sys/arch/ews4800mips/ews4800mips/disklabel_conv.c, 5 times
- sys/arch/ews4800mips/ews4800mips/disksubr.c, 6 times
- sys/arch/ews4800mips/include/disklabel.h, 6 times
- sys/arch/hp300/dev/rd.c, 9 times
- sys/arch/hp300/hp300/disksubr.c, 10 times
- sys/arch/hp300/stand/common/rd.c, 2 times
- sys/arch/hp300/stand/common/sd.c, 2 times
- sys/arch/hp300/stand/inst/inst.c, 8 times
- sys/arch/hpc/hpc/disksubr.c, 10 times
- sys/arch/hpc/stand/libsa/winblk.c, line 69
- sys/arch/hpcmips/stand/libsa/winblk.c, line 69
- sys/arch/hppa/hppa/disksubr.c, 13 times
- sys/arch/hppa/stand/common/dev_hppa.h, line 10
- sys/arch/hppa/stand/common/dk.c, 3 times
- sys/arch/hppa/stand/xxboot/main.c, 2 times
- sys/arch/hppa/stand/xxboot/start.S, line 150
- sys/arch/i386/stand/bootxx/boot1.c, line 54
- sys/arch/i386/stand/lib/biosdisk.c, 3 times
- sys/arch/landisk/landisk/autoconf.c, line 85
- sys/arch/landisk/stand/boot/biosdisk.c, 7 times
- sys/arch/landisk/stand/bootxx/boot1.c, line 54
- sys/arch/luna68k/luna68k/disksubr.c, 11 times
- sys/arch/luna68k/stand/boot/disklabel.c, 6 times
- sys/arch/luna68k/stand/boot/parse.c, line 137
- sys/arch/luna68k/stand/boot/samachdep.h, line 207
- sys/arch/luna68k/stand/boot/sd.c, 3 times
- sys/arch/luna68k/stand/boot/ufs_disksubr.c, 5 times
- sys/arch/mac68k/mac68k/disksubr.c, 24 times
- sys/arch/mac68k/obio/iwm_fd.c, 6 times
- sys/arch/macppc/macppc/disksubr.c, 27 times
- sys/arch/macppc/stand/ofwboot/ofdev.c, 3 times
- sys/arch/mipsco/mipsco/disksubr.c, 9 times
- sys/arch/mipsco/stand/common/saio.c, 2 times
- sys/arch/mmeye/stand/boot/wd.c, 4 times
- sys/arch/mmeye/stand/boot/wdvar.h, line 112
- sys/arch/mvme68k/mvme68k/disksubr.c, 8 times
- sys/arch/mvme68k/stand/libsa/bugdev.c, 3 times
- sys/arch/news68k/news68k/disksubr.c, 10 times
- sys/arch/newsmips/newsmips/disksubr.c, 10 times
- sys/arch/next68k/next68k/disksubr.c, 13 times
- sys/arch/ofppc/ofppc/disksubr.c, 15 times
- sys/arch/ofppc/stand/ofwboot/mbr.c, 5 times
- sys/arch/ofppc/stand/ofwboot/mbr.h, line 40
- sys/arch/ofppc/stand/ofwboot/ofdev.c, line 196
- sys/arch/ofppc/stand/ofwboot/rdb.c, 3 times
- sys/arch/ofppc/stand/ofwboot/rdb.h, line 37
- sys/arch/or1k/include/disklabel.h, 3 times
- sys/arch/playstation2/playstation2/disksubr.c, 10 times
- sys/arch/pmax/pmax/disksubr.c, 12 times
- sys/arch/pmax/stand/common/rz.c, 2 times
- sys/arch/prep/stand/boot/sd.c, 5 times
- sys/arch/prep/stand/boot/sdvar.h, line 148
- sys/arch/riscv/include/disklabel.h, 3 times
- sys/arch/sandpoint/stand/altboot/dsk.c, 10 times
- sys/arch/sbmips/sbmips/disksubr.c, 10 times
- sys/arch/sbmips/stand/common/blkdev.c, line 108
- sys/arch/sgimips/sgimips/disksubr.c, 8 times
- sys/arch/sgimips/stand/common/disk.c, 2 times
- sys/arch/sgimips/stand/common/iris_disk.c, 3 times
- sys/arch/sgimips/stand/sgivol/sgivol.c, line 81
- sys/arch/sh3/sh3/disksubr.c, 24 times
- sys/arch/shark/stand/ofwboot/ofdev.c, 2 times
- sys/arch/sparc/dev/fd.c, 6 times
- sys/arch/sparc/stand/common/promdev.c, 2 times
- sys/arch/sparc/stand/ofwboot/ofdev.c, 6 times
- sys/arch/sparc64/dev/fdc.c, 6 times
- sys/arch/sun3/dev/fd.c, 4 times
- sys/arch/sun3/dev/xd.c, 2 times
- sys/arch/sun3/dev/xy.c, 3 times
- sys/arch/vax/boot/boot/hp.c, 2 times
- sys/arch/vax/boot/boot/mfm.c, 5 times
- sys/arch/vax/boot/boot/ra.c, 2 times
- sys/arch/vax/boot/boot/rom.c, 4 times
- sys/arch/vax/boot/xxboot/bootxx.c, 3 times
- sys/arch/vax/boot/xxboot/start.S, 2 times
- sys/arch/vax/mba/hp.c, 5 times
- sys/arch/vax/vax/disksubr.c, 9 times
- sys/arch/vax/vsa/hdc9224.c, 7 times
- sys/arch/x68k/dev/bmd.c, 4 times
- sys/arch/x68k/dev/fd.c, 6 times
- sys/arch/x68k/stand/boot_ufs/boot.S, line 45
- sys/arch/x68k/stand/boot_ustar/boot_ustar.S, 2 times
- sys/arch/x68k/stand/installboot/installboot.c, 5 times
- sys/arch/x68k/stand/libsa/sdcd.c, line 118
- sys/arch/x68k/stand/newdisk/newdisk.c, line 74
- sys/arch/x68k/stand/xxboot/boot.S, line 47
- sys/arch/x68k/x68k/disksubr.c, 14 times
- sys/arch/x86/x86/x86_autoconf.c, line 278
- sys/arch/zaurus/stand/zboot/disk.h, line 83
- sys/arch/zaurus/stand/zboot/diskprobe.c, 3 times
- sys/arch/zaurus/stand/zboot/unixdev.c, 5 times
- sys/arch/zaurus/zaurus/autoconf.c, line 95
- sys/compat/linux/arch/i386/linux_machdep.c, line 788
- sys/compat/linux/common/linux_blkio.c, line 72
- sys/compat/linux/common/linux_hdio.c, line 75
- sys/compat/sunos/sunos_ioctl.c, 2 times
- sys/compat/sunos32/sunos32_ioctl.c, 2 times
- sys/dev/ata/atavar.h, line 337
- sys/dev/ata/wd.c, 3 times
- sys/dev/ccd.c, 6 times
- sys/dev/cgd.c, line 849
- sys/dev/dksubr.c, 3 times
- sys/dev/dkvar.h, line 115
- sys/dev/dkwedge/dkwedge_bsdlabel.c, 4 times
- sys/dev/gpib/rd.c, 10 times
- sys/dev/isa/fd.c, 2 times
- sys/dev/isa/mcd.c, 7 times
- sys/dev/mca/ed_mca.c, 9 times
- sys/dev/md.c, line 529
- sys/dev/mscp/mscp_disk.c, 12 times
- sys/dev/ofw/ofdisk.c, 8 times
- sys/dev/qbus/rf.c, 2 times
- sys/dev/qbus/rl.c, 9 times
- sys/dev/raidframe/rf_netbsdkintf.c, line 2769
- sys/dev/scsipi/cd.c, 2 times
- sys/dev/scsipi/sd.c, 2 times
- sys/dev/sun/disksubr.c, 14 times
- sys/dev/vme/xd.c, 4 times
- sys/dev/vme/xy.c, 5 times
- sys/dev/vnd.c, 8 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc, line 472
- sys/fs/adosfs/advfsops.c, line 164
- sys/fs/cd9660/cd9660_vfsops.c, line 353
- sys/kern/init_main.c, line 871
- sys/kern/subr_disk.c, 8 times
- sys/kern/subr_disk_mbr.c, 9 times
- sys/kern/subr_disklabel.c, 2 times
- sys/lib/libsa/disklabel.c, 2 times
- sys/lib/libsa/dkcksum.c, line 42
- sys/lib/libsa/stand.h, 3 times
- sys/rump/librump/rumpvfs/rumpblk.c, 3 times
- sys/stand/efiboot/efiblock.c, 10 times
- sys/sys/disk.h, 3 times
- sys/sys/disklabel.h, 9 times
- sys/sys/disklabel_acorn.h, 3 times
- sys/sys/dkio.h, 4 times
- sys/ufs/lfs/ulfs_extern.h, line 42
- sys/ufs/ufs/ufs_extern.h, line 42
- usr.sbin/bad144/bad144.c, 6 times
- usr.sbin/diskpart/diskpart.c, 12 times
- usr.sbin/fstyp/fstyp.c, line 153
- usr.sbin/installboot/arch/hp300.c, line 87
- usr.sbin/installboot/arch/hppa.c, 2 times
- usr.sbin/mscdlabel/main.c, line 130
- usr.sbin/sunlabel/sunlabel.c, 3 times
- usr.sbin/sysinst/arch/acorn32/md.c, 10 times
- usr.sbin/sysinst/arch/alpha/md.c, 7 times
- usr.sbin/sysinst/arch/cats/md.c, 10 times
- usr.sbin/sysinst/arch/emips/md.c, 10 times
- usr.sbin/sysinst/arch/evbsh3/md.c, 10 times
- usr.sbin/sysinst/arch/ews4800mips/md.c, 10 times
- usr.sbin/sysinst/arch/hp300/md.c, 9 times
- usr.sbin/sysinst/arch/hppa/md.c, 10 times
- usr.sbin/sysinst/arch/luna68k/md.c, 10 times
- usr.sbin/sysinst/arch/mac68k/md.c, 11 times
- usr.sbin/sysinst/arch/macppc/md.c, 10 times
- usr.sbin/sysinst/arch/mipsco/md.c, 10 times
- usr.sbin/sysinst/arch/mvme68k/md.c, 10 times
- usr.sbin/sysinst/arch/news68k/md.c, 10 times
- usr.sbin/sysinst/arch/newsmips/md.c, 10 times
- usr.sbin/sysinst/arch/pmax/md.c, 10 times
- usr.sbin/sysinst/arch/sgimips/md.c, 10 times
- usr.sbin/sysinst/arch/shark/md.c, 10 times
- usr.sbin/sysinst/arch/vax/md.c, 10 times
- usr.sbin/sysinst/arch/x68k/md.c, 9 times
- usr.sbin/sysinst/defs.h, line 761
- usr.sbin/sysinst/disklabel.c, line 44
- usr.sbin/sysinst/geom.c, line 118
- usr.sbin/sysinst/util.c, line 431
- usr.sbin/vnconfig/vnconfig.c, line 290