Defined in 1 files as a prototype:
Defined in 6 files as a macro:
Defined in 4 files as a function:
Referenced in 101 files:
- common/lib/libc/arch/aarch64/gen/byte_swap_2.S, line 35
- common/lib/libc/arch/alpha/gen/byte_swap_2.S, line 38
- common/lib/libc/arch/arm/gen/byte_swap_2.S, line 35
- common/lib/libc/arch/i386/gen/byte_swap_2.S, 2 times
- common/lib/libc/arch/m68k/gen/bswap16.S, line 32
- common/lib/libc/arch/mips/gen/byte_swap_2.S, line 50
- common/lib/libc/arch/vax/gen/bswap16.S, line 37
- common/lib/libc/arch/x86_64/gen/byte_swap_2.S, 2 times
- common/lib/libc/gen/bswap16.c, line 16
- crypto/external/bsd/heimdal/dist/lib/krb5/store.c, 2 times
- external/bsd/libarchive/dist/libarchive/archive_read_support_format_lha.c, 6 times
- external/bsd/llvm/dist/clang/test/CodeGen/builtins.c, line 116
- external/bsd/smbfs/dist/include/netsmb/smb_lib.h, 2 times
- external/bsd/wpa/dist/src/utils/common.h, line 31
- external/gpl2/lvm2/dist/include/xlate.h, line 26
- external/gpl2/lvm2/dist/lib/mm/xlate.h, line 26
- external/public-domain/xz/dist/src/common/tuklib_integer.h, 3 times
- lib/libukfs/ukfs_disklabel.c, 3 times
- sbin/disklabel/bswap.c, 12 times
- sbin/disklabel/bswap.h, 2 times
- sbin/dump/dump.h, line 159
- sbin/fsck_ffs/dir.c, line 201
- sbin/fsck_ffs/fsck.h, line 373
- sbin/fsck_ffs/utilities.c, line 630
- sbin/newfs/mkfs.c, 2 times
- sbin/resize_ffs/resize_ffs.c, line 1695
- sbin/restore/dirs.c, 2 times
- sbin/restore/tape.c, 8 times
- sys/arch/amiga/amiga/amiga_bus_simple_1word.c, 4 times
- sys/arch/amiga/amiga/amiga_bus_simple_4.c, 2 times
- sys/arch/amiga/dev/if_ed_zbus.c, line 238
- sys/arch/amiga/pci/empb.c, 2 times
- sys/arch/amiga/pci/empb_bsm.c, 7 times
- sys/arch/arm/arm32/kobj_machdep.c, line 339
- sys/arch/arm/include/locore.h, line 235
- sys/arch/atari/dev/wdc_mb.c, 2 times
- sys/arch/evbppc/pmppc/dev/if_cs_mainbus.c, 3 times
- sys/arch/hpc/stand/include/machine/endian.h, 6 times
- sys/arch/mac68k/mac68k/bus_space.c, 4 times
- sys/arch/mac68k/mac68k/disksubr.c, line 337
- sys/arch/macppc/macppc/disksubr.c, line 662
- sys/arch/mips/alchemy/au_himem_space.c, 4 times
- sys/arch/mips/alchemy/au_wired_space.c, 4 times
- sys/arch/mmeye/dev/rtciic.c, 2 times
- sys/arch/mmeye/stand/boot/wdvar.h, line 91
- sys/arch/ofppc/ofppc/disksubr.c, line 761
- sys/arch/powerpc/powerpc/trap.c, line 957
- sys/arch/prep/prep/platform.c, 2 times
- sys/arch/prep/prep/residual.c, line 962
- sys/arch/sandpoint/stand/altboot/dsk.c, line 314
- sys/arch/sh3/sh3/disksubr.c, 8 times
- sys/arch/sh3/sh3/sh3_bus_space.c, 5 times
- sys/dev/ata/ata.c, 3 times
- sys/dev/audio/audio.c, 2 times
- sys/dev/audio/linear.c, 4 times
- sys/dev/dkwedge/dkwedge_bsdlabel.c, 2 times
- sys/dev/i2c/ibmhawk.c, 4 times
- sys/dev/ic/arn5008.c, 9 times
- sys/dev/ic/arn5416.c, line 150
- sys/dev/ic/arn9285.c, line 169
- sys/dev/ic/arn9287.c, line 146
- sys/dev/ic/arn9380.c, 4 times
- sys/dev/ic/isp_netbsd.h, 8 times
- sys/dev/ic/mx98905.c, line 328
- sys/dev/ic/ne2000.c, line 763
- sys/dev/ic/rtl8169.c, 2 times
- sys/dev/ic/we.c, line 478
- sys/dev/isa/if_ec.c, line 716
- sys/dev/isa/if_ep_isa.c, 2 times
- sys/dev/pci/if_sip.c, 3 times
- sys/dev/pci/if_vge.c, line 1325
- sys/dev/rasops/rasops.c, line 935
- sys/dev/usb/ohci.c, line 122
- sys/dev/usb/udl.c, line 1771
- sys/external/isc/atheros_hal/ic/ah_osdep.h, line 146
- sys/fs/nilfs/nilfs_bswap.h, line 49
- sys/fs/udf/udf_bswap.h, line 49
- sys/fs/v7fs/v7fs_endian.c, line 114
- sys/kern/subr_disk_mbr.c, 2 times
- sys/lib/libkern/arch/ia64/bswap16.S, line 35
- sys/lib/libsa/ext2fs.c, 22 times
- sys/lib/libsa/minixfs3.c, 11 times
- sys/lib/libsa/minixfs3.h, line 141
- sys/sys/bswap.h, 2 times
- sys/sys/endian.h, 6 times
- sys/ufs/ext2fs/ext2fs.h, 2 times
- sys/ufs/ext2fs/ext2fs_bswap.c, 23 times
- sys/ufs/ffs/ffs_bswap.c, 10 times
- sys/ufs/lfs/lfs_accessors.h, 2 times
- sys/ufs/lfs/ulfs_bswap.h, line 54
- sys/ufs/ufs/ufs_bswap.h, line 53
- tests/include/machine/t_bswap.c, 8 times
- tools/compat/compat_defs.h, 4 times
- usr.bin/audio/common/libaudio.h, 4 times
- usr.bin/elf2aout/elf2aout.c, 10 times
- usr.bin/elf2ecoff/elf2ecoff.c, 21 times
- usr.sbin/dumpfs/dumpfs.c, line 259
- usr.sbin/installboot/ffs.c, line 420
- usr.sbin/makefs/cd9660/cd9660_conversion.c, 4 times
- usr.sbin/paxctl/paxctl.c, 3 times
- usr.sbin/pwd_mkdb/pwd_mkdb.c, line 193