Home
last modified time | relevance | path

Searched refs:swab (Results 1 – 18 of 18) sorted by relevance

/linux/lib/
H A Dfind_bit.c20 #include <linux/swab.h>
257 return FIND_FIRST_BIT(~addr[idx], swab, size); in _find_first_zero_bit_le()
267 return FIND_NEXT_BIT(~addr[idx], swab, size, offset); in _find_next_zero_bit_le()
276 return FIND_NEXT_BIT(addr[idx], swab, size, offset); in _find_next_bit_le()
/linux/include/linux/
H A Dswab.h10 # define swab __swab macro
H A Dfind.h540 val = swab(val) | ~GENMASK(size - 1, offset); in find_next_zero_bit_le()
553 unsigned long val = swab(*(const unsigned long *)addr) | ~GENMASK(size - 1, 0); in find_first_zero_bit_le()
573 val = swab(val) & GENMASK(size - 1, offset); in find_next_bit_le()
/linux/fs/bcachefs/
H A Dreflink.h31 .swab = bch2_ptr_swab, \
H A Dextents.h425 .swab = bch2_ptr_swab, \
432 .swab = bch2_ptr_swab, \
445 .swab = bch2_ptr_swab, \
H A Dbkey_methods.h28 void (*swab)(struct bkey_s); member
H A Dbkey_methods.c323 if (ops->swab) in bch2_bkey_swab_val()
324 ops->swab(k); in bch2_bkey_swab_val()
H A Dbackpointers.h29 .swab = bch2_backpointer_swab, \
H A Dec.h20 .swab = bch2_ptr_swab, \
H A Dalloc_background.h281 .swab = bch2_alloc_v4_swab, \
H A Ddisk_accounting.h99 .swab = bch2_accounting_swab, \
/linux/include/uapi/asm-generic/
H A DKbuild32 mandatory-y += swab.h
/linux/include/drm/
H A Ddrm_format_helper.h86 bool swab);
/linux/drivers/gpu/drm/
H A Ddrm_format_helper.c479 bool swab) in drm_fb_xrgb8888_to_rgb565() argument
487 if (swab) in drm_fb_xrgb8888_to_rgb565()
/linux/fs/cramfs/
H A DREADME148 etc. macros as used by ext2fs. We don't need to swab the compressed
/linux/drivers/char/
H A Drandom.c1121 (regs ? instruction_pointer(regs) : _RET_IP_) ^ swab(irq)); in add_interrupt_randomness()
/linux/Documentation/dev-tools/
H A Dcheckuapi.rst319 mandatory-y += swab.h
/linux/mm/
H A Dslub.c477 encoded = (unsigned long)ptr ^ s->random ^ swab(ptr_addr); in freelist_ptr_encode()
490 decoded = (void *)(ptr.v ^ s->random ^ swab(ptr_addr)); in freelist_ptr_decode()