/usr/include/asm
NameSizeModeActions
a.out.h6930644editdlrm
auxvec.h2810644editdlrm
bitsperlong.h2290644editdlrm
boot.h2600644editdlrm
bootparam.h29700644editdlrm
byteorder.h1370644editdlrm
debugreg.h29040644editdlrm
e820.h22590644editdlrm
errno.h310644editdlrm
fcntl.h310644editdlrm
hyperv.h81030644editdlrm
ioctl.h310644editdlrm
ioctls.h320644editdlrm
ipcbuf.h320644editdlrm
ist.h7900644editdlrm
kvm.h62120644editdlrm
kvm_para.h23050644editdlrm
ldt.h12430644editdlrm
mce.h52410644editdlrm
mman.h1700644editdlrm
msgbuf.h320644editdlrm
msr-index.h234120644editdlrm
msr.h3110644editdlrm
mtrr.h37880644editdlrm
param.h310644editdlrm
poll.h300644editdlrm
posix_types.h920644editdlrm
posix_types_32.h13160644editdlrm
posix_types_64.h13060644editdlrm
prctl.h1900644editdlrm
processor-flags.h36560644editdlrm
ptrace-abi.h17970644editdlrm
ptrace.h11920644editdlrm
resource.h340644editdlrm
sembuf.h6990644editdlrm
setup.h820644editdlrm
shmbuf.h320644editdlrm
sigcontext.h54030644editdlrm
sigcontext32.h16840644editdlrm
siginfo.h1980644editdlrm
signal.h29580644editdlrm
socket.h320644editdlrm
sockios.h330644editdlrm
stat.h23240644editdlrm
statfs.h3530644editdlrm
swab.h11790644editdlrm
termbits.h340644editdlrm
termios.h330644editdlrm
types.h1140644editdlrm
ucontext.h3390644editdlrm
unistd.h820644editdlrm
unistd_32.h106920644editdlrm
unistd_64.h242380644editdlrm
vm86.h30550644editdlrm
vsyscall.h3750644editdlrm
Edit: /usr/include/asm/swab.h (1179B)
#ifndef _ASM_X86_SWAB_H #define _ASM_X86_SWAB_H #include static __inline__ __u32 __arch_swab32(__u32 val) { #ifdef __i386__ # ifdef CONFIG_X86_BSWAP __asm__("bswap %0" : "=r" (val) : "0" (val)); # else __asm__("xchgb %b0,%h0\n\t" /* swap lower bytes */ "rorl $16,%0\n\t" /* swap words */ "xchgb %b0,%h0" /* swap higher bytes */ : "=q" (val) : "0" (val)); # endif #else /* __i386__ */ __asm__("bswapl %0" : "=r" (val) : "0" (val)); #endif return val; } #define __arch_swab32 __arch_swab32 static __inline__ __u64 __arch_swab64(__u64 val) { #ifdef __i386__ union { struct { __u32 a; __u32 b; } s; __u64 u; } v; v.u = val; # ifdef CONFIG_X86_BSWAP __asm__("bswapl %0 ; bswapl %1 ; xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a), "1" (v.s.b)); # else v.s.a = __arch_swab32(v.s.a); v.s.b = __arch_swab32(v.s.b); __asm__("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a), "1" (v.s.b)); # endif return v.u; #else /* __i386__ */ __asm__("bswapq %0" : "=r" (val) : "0" (val)); return val; #endif } #define __arch_swab64 __arch_swab64 #endif /* _ASM_X86_SWAB_H */