Defined in 3 files as a macro:
Referenced in 251 files:
- external/cddl/osnet/dist/cmd/zdb/zdb.c, 2 times
- external/cddl/osnet/dist/lib/libzfs/common/libzfs_import.c, line 984
- external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c, 2 times
- external/cddl/osnet/dist/uts/common/fs/zfs/zvol.c, 18 times
- external/cddl/osnet/dist/uts/common/sys/sysmacros.h, 2 times
- external/gpl2/lvm2/dist/lib/device/dev-io.c, line 145
- lib/libc/gen/disklabel.c, line 140
- lib/libkvm/kvm.c, line 356
- lib/libpuffs/subr.c, line 105
- lib/libquota/quota_nfs.c, line 49
- lib/librefuse/refuse.c, line 350
- libexec/rpc.rquotad/rquotad.c, line 196
- sbin/apmlabel/apmlabel.c, 3 times
- sbin/atactl/atactl.c, 4 times
- sbin/ccdconfig/ccdconfig.c, line 476
- sbin/cgdconfig/cgdconfig.c, line 923
- sbin/disklabel/main.c, 8 times
- sbin/dkctl/dkctl.c, line 495
- sbin/dump/main.c, 2 times
- sbin/dump/tape.c, line 527
- sbin/fsck_ext2fs/setup.c, 2 times
- sbin/fsck_ffs/setup.c, line 152
- sbin/fsck_lfs/lfs.c, 2 times
- sbin/fsirand/fsirand.c, line 277
- sbin/mbrlabel/mbrlabel.c, line 126
- sbin/mount_portal/puffs_portal.c, line 565
- sbin/newfs_sysvbfs/newfs_sysvbfs.c, 3 times
- sbin/raidctl/raidctl.c, line 508
- sbin/resize_ffs/resize_ffs.c, 6 times
- sbin/savecore/savecore.c, 3 times
- sbin/scsictl/scsictl.c, line 513
- sbin/svhlabel/svhlabel.c, 2 times
- sbin/tunefs/tunefs.c, line 260
- sys/arch/acorn32/dev/md_hooks.c, line 86
- sys/arch/acorn32/mainbus/fd.c, 11 times
- sys/arch/acorn32/stand/lib/riscosdisk.c, 2 times
- sys/arch/acorn32/stand/lib/riscospart.c, 4 times
- sys/arch/acorn32/stand/nbfs/nbfs.c, line 204
- sys/arch/alpha/alpha/disksubr.c, 4 times
- sys/arch/alpha/stand/common/blkdev.c, 4 times
- sys/arch/amiga/amiga/disksubr.c, 2 times
- sys/arch/arc/arc/disksubr.c, 4 times
- sys/arch/arc/jazz/fd.c, 2 times
- sys/arch/arc/stand/boot/disk.c, 6 times
- sys/arch/arm/arm/disksubr.c, 5 times
- sys/arch/atari/atari/disksubr.c, line 86
- sys/arch/atari/dev/hdfd.c, 4 times
- sys/arch/atari/dev/md_root.c, line 290
- sys/arch/atari/stand/ahdilabel/ahdilabel.c, line 43
- sys/arch/atari/stand/ahdilabel/magic.c, 2 times
- sys/arch/atari/stand/ahdilabel/read.c, 2 times
- sys/arch/atari/stand/ahdilabel/write.c, 6 times
- sys/arch/atari/stand/edahdi/edahdi.c, 7 times
- sys/arch/bebox/stand/boot/fd.c, line 313
- sys/arch/bebox/stand/boot/inkernel.c, line 86
- sys/arch/bebox/stand/boot/sd.c, 5 times
- sys/arch/bebox/stand/boot/wd.c, 6 times
- sys/arch/bebox/stand/boot/wdc.c, 2 times
- sys/arch/cesfic/include/disklabel.h, line 37
- sys/arch/cobalt/cobalt/disksubr.c, 4 times
- sys/arch/cobalt/stand/boot/wd.c, 6 times
- sys/arch/cobalt/stand/boot/wdc.c, line 311
- sys/arch/dreamcast/dev/g1/gdrom.c, line 449
- sys/arch/dreamcast/dev/gdrom.c, line 515
- sys/arch/dreamcast/dev/maple/mmemcard.c, line 727
- sys/arch/emips/ebus/ace_ebus.c, 11 times
- sys/arch/emips/ebus/flash_ebus.c, 12 times
- sys/arch/emips/stand/common/ace.c, 5 times
- sys/arch/emips/stand/common/raw.c, line 118
- sys/arch/evbarm/fdt/fdt_machdep.c, line 718
- sys/arch/evbarm/smdk2xx0/smdk2410_machdep.c, line 425
- sys/arch/evbarm/smdk2xx0/smdk2800_machdep.c, line 358
- sys/arch/evbarm/stand/boot2440/dev_sdmmc.c, 5 times
- sys/arch/evbmips/evbmips/disksubr.c, 4 times
- sys/arch/evbmips/sbmips/disksubr.c, 4 times
- sys/arch/evbmips/stand/sbmips/common/blkdev.c, 5 times
- sys/arch/evbppc/evbppc/disksubr.c, 4 times
- sys/arch/ews4800mips/ews4800mips/disklabel_conv.c, 4 times
- sys/arch/ews4800mips/ews4800mips/disksubr.c, 2 times
- sys/arch/ews4800mips/ews4800mips/sector.c, 7 times
- sys/arch/ews4800mips/stand/common/bfs_subr.c, line 71
- sys/arch/ews4800mips/stand/common/bootfs.c, 5 times
- sys/arch/ews4800mips/stand/common/bootxx.c, line 124
- sys/arch/ews4800mips/stand/common/disk.c, 2 times
- sys/arch/ews4800mips/stand/common/ustarfs.c, line 149
- sys/arch/hp300/dev/rd.c, 5 times
- sys/arch/hp300/dev/spc.c, line 220
- sys/arch/hp300/hp300/disksubr.c, 2 times
- sys/arch/hp300/stand/common/rawfs.c, line 198
- sys/arch/hp300/stand/common/rd.c, 2 times
- sys/arch/hp300/stand/common/sd.c, 4 times
- sys/arch/hp300/stand/inst/inst.c, 4 times
- sys/arch/hpc/hpc/disksubr.c, 4 times
- sys/arch/hppa/hppa/disksubr.c, line 166
- sys/arch/hppa/stand/common/dk.c, 3 times
- sys/arch/hppa/stand/common/lif.c, line 163
- sys/arch/i386/stand/lib/biosdisk.c, line 193
- sys/arch/luna68k/stand/boot/disklabel.c, line 202
- sys/arch/luna68k/stand/boot/sd.c, 4 times
- sys/arch/luna68k/stand/boot/ufs_disksubr.c, 2 times
- sys/arch/mac68k/mac68k/disksubr.c, line 266
- sys/arch/macppc/macppc/disksubr.c, 3 times
- sys/arch/macppc/stand/ofwboot/ofdev.c, 14 times
- sys/arch/mipsco/stand/common/saio.c, 7 times
- sys/arch/mipsco/stand/installboot/installboot.c, 3 times
- sys/arch/mmeye/stand/boot/wd.c, 5 times
- sys/arch/mmeye/stand/boot/wdc.c, line 348
- sys/arch/mvme68k/stand/bootst/rawfs.c, line 226
- sys/arch/mvme68k/stand/installboot/installboot.c, 6 times
- sys/arch/mvme68k/stand/libsa/bugdev.c, 3 times
- sys/arch/news68k/news68k/disksubr.c, 2 times
- sys/arch/newsmips/dev/scsi_1185.c, 3 times
- sys/arch/newsmips/newsmips/disksubr.c, 2 times
- sys/arch/next68k/next68k/disksubr.c, 2 times
- sys/arch/ofppc/ofppc/disksubr.c, 4 times
- sys/arch/ofppc/stand/ofwboot/mbr.c, 6 times
- sys/arch/ofppc/stand/ofwboot/ofdev.c, 4 times
- sys/arch/ofppc/stand/ofwboot/rdb.c, 3 times
- sys/arch/playstation2/playstation2/disksubr.c, 4 times
- sys/arch/pmax/pmax/disksubr.c, 2 times
- sys/arch/pmax/stand/common/rz.c, 6 times
- sys/arch/prep/stand/boot/inkernel.c, line 79
- sys/arch/prep/stand/boot/sd.c, 5 times
- sys/arch/prep/stand/installboot/installboot.c, 7 times
- sys/arch/rs6000/stand/boot/inkernel.c, line 85
- sys/arch/sbmips/sbmips/disksubr.c, 4 times
- sys/arch/sbmips/stand/common/blkdev.c, 5 times
- sys/arch/sgimips/sgimips/disksubr.c, 3 times
- sys/arch/sgimips/stand/common/disk.c, 6 times
- sys/arch/sgimips/stand/common/iris_disk.c, 6 times
- sys/arch/sh3/sh3/disksubr.c, 4 times
- sys/arch/shark/stand/ofwboot/ofdev.c, 12 times
- sys/arch/sparc/dev/fd.c, 12 times
- sys/arch/sparc/sparc/pmap.c, line 7718
- sys/arch/sparc/stand/common/promdev.c, 4 times
- sys/arch/sparc/stand/ofwboot/ofdev.c, 7 times
- sys/arch/sparc64/dev/fdc.c, 12 times
- sys/arch/sparc64/dev/vdsk.c, 2 times
- sys/arch/sparc64/sparc64/pmap.c, line 2372
- sys/arch/sun3/dev/fd.c, 8 times
- sys/arch/sun3/dev/xd.c, line 1046
- sys/arch/sun3/dev/xy.c, 2 times
- sys/arch/sun68k/stand/tapeboot/rawfs.c, line 214
- sys/arch/vax/boot/boot/hp.c, 2 times
- sys/arch/vax/boot/boot/mfm.c, 2 times
- sys/arch/vax/boot/boot/ra.c, 2 times
- sys/arch/vax/boot/boot/rom.c, 2 times
- sys/arch/vax/mba/hp.c, 2 times
- sys/arch/vax/vax/disksubr.c, line 154
- sys/arch/vax/vsa/hdc9224.c, 5 times
- sys/arch/x68k/dev/fd.c, 4 times
- sys/arch/x68k/stand/libsa/sdcd.c, line 367
- sys/arch/x68k/x68k/disksubr.c, line 47
- sys/arch/x86/x86/x86_autoconf.c, 5 times
- sys/arch/xen/xen/xbd_xenbus.c, 2 times
- sys/arch/xen/xen/xbdback_xenbus.c, line 861
- sys/arch/zaurus/stand/zboot/diskprobe.c, 6 times
- sys/arch/zaurus/stand/zboot/unixdev.c, line 55
- sys/dev/ata/wd.c, 9 times
- sys/dev/ccd.c, 4 times
- sys/dev/dksubr.c, 4 times
- sys/dev/dkwedge/dk.c, 5 times
- sys/dev/dkwedge/dkwedge_apple.c, line 193
- sys/dev/dkwedge/dkwedge_bsdlabel.c, line 454
- sys/dev/dkwedge/dkwedge_gpt.c, line 129
- sys/dev/dkwedge/dkwedge_mbr.c, line 179
- sys/dev/dkwedge/dkwedge_rdb.c, 2 times
- sys/dev/dm/device-mapper.c, 4 times
- sys/dev/dm/dm_target_stripe.c, 4 times
- sys/dev/flash/flash.c, 4 times
- sys/dev/flash/flash_io.c, 6 times
- sys/dev/fss.c, line 294
- sys/dev/gpib/rd.c, 5 times
- sys/dev/ic/cac.c, line 358
- sys/dev/isa/fd.c, 4 times
- sys/dev/isa/mcd.c, 4 times
- sys/dev/ld.c, line 151
- sys/dev/mca/ed_mca.c, 8 times
- sys/dev/mca/edc_mca.c, 2 times
- sys/dev/md.c, 2 times
- sys/dev/md_root.c, line 59
- sys/dev/mscp/mscp_disk.c, 2 times
- sys/dev/ofw/ofdisk.c, 3 times
- sys/dev/qbus/rf.c, 3 times
- sys/dev/qbus/rl.c, 7 times
- sys/dev/raidframe/rf_netbsdkintf.c, 2 times
- sys/dev/scsipi/cd.c, line 1618
- sys/dev/scsipi/sd.c, 2 times
- sys/dev/spi/spiflash.c, 7 times
- sys/dev/sun/disksubr.c, line 151
- sys/dev/usb/umass_isdata.c, 3 times
- sys/dev/vme/xd.c, line 1223
- sys/dev/vme/xy.c, 2 times
- sys/dev/vnd.c, 8 times
- sys/fs/adosfs/adutil.c, 3 times
- sys/fs/adosfs/advfsops.c, 5 times
- sys/fs/adosfs/advnops.c, 4 times
- sys/fs/cd9660/cd9660_vfsops.c, line 310
- sys/fs/efs/efs_subr.c, line 190
- sys/fs/hfs/hfs_subr.c, 2 times
- sys/fs/msdosfs/msdosfs_vfsops.c, 2 times
- sys/fs/nfs/client/nfs_clbio.c, 7 times
- sys/fs/nfs/client/nfs_clvnops.c, 2 times
- sys/fs/nilfs/nilfs_subr.c, line 133
- sys/fs/ptyfs/ptyfs_vnops.c, line 379
- sys/fs/puffs/puffs_vfsops.c, 2 times
- sys/fs/smbfs/smbfs_io.c, line 337
- sys/fs/sysvbfs/bfs.c, 11 times
- sys/fs/sysvbfs/bfs_sysvbfs.c, 6 times
- sys/fs/sysvbfs/sysvbfs_vnops.c, line 926
- sys/fs/udf/udf.h, line 125
- sys/fs/udf/udf_readwrite.c, 5 times
- sys/fs/udf/udf_strat_direct.c, line 250
- sys/fs/udf/udf_strat_rmw.c, 2 times
- sys/fs/udf/udf_strat_sequential.c, line 383
- sys/fs/unionfs/unionfs_vnops.c, line 1391
- sys/fs/v7fs/v7fs_io_kern.c, 6 times
- sys/kern/subr_disk.c, 7 times
- sys/kern/subr_disk_mbr.c, 7 times
- sys/kern/subr_disk_open.c, line 110
- sys/kern/subr_disklabel.c, line 62
- sys/kern/vfs_bio.c, line 250
- sys/kern/vfs_wapbl.c, 2 times
- sys/lib/libsa/cd9660.c, line 76
- sys/lib/libsa/disklabel.c, line 53
- sys/lib/libsa/ext2fs.c, line 420
- sys/lib/libsa/minixfs3.c, line 460
- sys/lib/libsa/ufs.c, 2 times
- sys/miscfs/fdesc/fdesc_vnops.c, 2 times
- sys/miscfs/genfs/genfs_io.c, line 1722
- sys/miscfs/genfs/genfs_vfsops.c, 3 times
- sys/miscfs/kernfs/kernfs_vnops.c, 4 times
- sys/miscfs/procfs/procfs_vnops.c, 2 times
- sys/rump/librump/rumpvfs/rumpfs.c, 4 times
- sys/stand/efiboot/efiblock.c, 3 times
- sys/sys/bootblock.h, line 1062
- sys/sys/disk.h, 2 times
- sys/ufs/ext2fs/ext2fs.h, line 87
- sys/ufs/ffs/ffs_vfsops.c, 5 times
- sys/ufs/lfs/lfs.h, line 318
- sys/ufs/lfs/lfs_vfsops.c, 5 times
- sys/ufs/ufs/dir.h, line 76
- tools/compat/compat_defs.h, line 1220
- usr.bin/vndcompress/common.h, line 105
- usr.bin/vndcompress/vndcompress.c, 8 times
- usr.sbin/makefs/ffs/ffs_alloc.c, line 123
- usr.sbin/mdconfig/mdconfig.c, line 60
- usr.sbin/quot/quot.c, 2 times
- usr.sbin/sysinst/arch/acorn32/md.c, 3 times
- usr.sbin/sysinst/arch/cats/md.c, line 69
- usr.sbin/sysinst/disks.c, line 274