Home
last modified time | relevance | path

Searched refs:swap16 (Results 1 – 3 of 3) sorted by relevance

/xen/xen/arch/x86/boot/
A Dmkelf32.c123 #undef swap16
128 #define swap32(_v) (((u32)swap16((u16)(_v))<<16)|(u32)swap16((u32)((_v)>>16)))
137 eh->e_type = swap16(eh->e_type); in endianadjust_ehdr32()
138 eh->e_machine = swap16(eh->e_machine); in endianadjust_ehdr32()
144 eh->e_ehsize = swap16(eh->e_ehsize); in endianadjust_ehdr32()
146 eh->e_phnum = swap16(eh->e_phnum); in endianadjust_ehdr32()
148 eh->e_shnum = swap16(eh->e_shnum); in endianadjust_ehdr32()
156 eh->e_type = swap16(eh->e_type); in endianadjust_ehdr64()
163 eh->e_ehsize = swap16(eh->e_ehsize); in endianadjust_ehdr64()
165 eh->e_phnum = swap16(eh->e_phnum); in endianadjust_ehdr64()
[all …]
/xen/stubdom/grub/
A Dosdep.h6 #define swap16(x) bswap_16(x) macro
15 #define htons(x) swap16(x)
16 #define ntohs(x) swap16(x)
/xen/xen/common/libelf/
A Dlibelf-private.h59 #define bswap_16(x) swap16(x)

Completed in 4 milliseconds