Home
last modified time | relevance | path

Searched refs:get_unaligned (Results 1 – 25 of 93) sorted by relevance

1234

/Linux-v5.15/lib/lzo/
Dlzo1x_compress.c61 dv64 = get_unaligned((u64 *)ir); in lzo1x_1_do_compress()
62 dv64 |= get_unaligned((u64 *)ir + 1); in lzo1x_1_do_compress()
63 dv64 |= get_unaligned((u64 *)ir + 2); in lzo1x_1_do_compress()
64 dv64 |= get_unaligned((u64 *)ir + 3); in lzo1x_1_do_compress()
69 dv64 = get_unaligned((u64 *)ir); in lzo1x_1_do_compress()
168 v = get_unaligned((const u64 *) (ip + m_len)) ^ in lzo1x_1_do_compress()
169 get_unaligned((const u64 *) (m_pos + m_len)); in lzo1x_1_do_compress()
173 v = get_unaligned((const u64 *) (ip + m_len)) ^ in lzo1x_1_do_compress()
174 get_unaligned((const u64 *) (m_pos + m_len)); in lzo1x_1_do_compress()
188 v = get_unaligned((const u32 *) (ip + m_len)) ^ in lzo1x_1_do_compress()
[all …]
Dlzodefs.h23 put_unaligned(get_unaligned((const u32 *)(src)), (u32 *)(dst))
26 put_unaligned(get_unaligned((const u64 *)(src)), (u64 *)(dst))
/Linux-v5.15/arch/microblaze/include/asm/
Dflat.h37 val_hi = get_unaligned(p); in flat_get_addr_from_rp()
38 val_lo = get_unaligned(p+1); in flat_get_addr_from_rp()
44 *addr = get_unaligned(p); in flat_get_addr_from_rp()
62 unsigned long val_hi = get_unaligned(p); in flat_put_addr_at_rp()
63 unsigned long val_lo = get_unaligned(p + 1); in flat_put_addr_at_rp()
/Linux-v5.15/lib/lz4/
Dlz4defs.h107 return get_unaligned((const U16 *)ptr); in LZ4_read16()
112 return get_unaligned((const U32 *)ptr); in LZ4_read32()
117 return get_unaligned((const size_t *)ptr); in LZ4_read_ARCH()
154 U64 a = get_unaligned((const U64 *)src); in LZ4_copy8()
158 U32 a = get_unaligned((const U32 *)src); in LZ4_copy8()
159 U32 b = get_unaligned((const U32 *)src + 1); in LZ4_copy8()
/Linux-v5.15/lib/zstd/
Dmem.h59 ZSTD_STATIC U16 ZSTD_read16(const void *memPtr) { return get_unaligned((const U16 *)memPtr); } in ZSTD_read16()
61 ZSTD_STATIC U32 ZSTD_read32(const void *memPtr) { return get_unaligned((const U32 *)memPtr); } in ZSTD_read32()
63 ZSTD_STATIC U64 ZSTD_read64(const void *memPtr) { return get_unaligned((const U64 *)memPtr); } in ZSTD_read64()
65 ZSTD_STATIC size_t ZSTD_readST(const void *memPtr) { return get_unaligned((const size_t *)memPtr); } in ZSTD_readST()
/Linux-v5.15/lib/842/
D842_decompress.c60 ((s) == 2 ? be16_to_cpu(get_unaligned((__be16 *)d)) : \
61 (s) == 4 ? be32_to_cpu(get_unaligned((__be32 *)d)) : \
62 (s) == 8 ? be64_to_cpu(get_unaligned((__be64 *)d)) : \
112 *d = be16_to_cpu(get_unaligned((__be16 *)in)) >> (16 - bits); in next_bits()
114 *d = be32_to_cpu(get_unaligned((__be32 *)in)) >> (32 - bits); in next_bits()
116 *d = be64_to_cpu(get_unaligned((__be64 *)in)) >> (64 - bits); in next_bits()
D842_compress.c110 be##b##_to_cpu(get_unaligned((__be##b *)((p)->in + (o))))
514 last = ~get_unaligned((u64 *)p->in); in sw842_compress()
517 next = get_unaligned((u64 *)p->in); in sw842_compress()
/Linux-v5.15/drivers/net/ethernet/dec/tulip/
Deeprom.c287 u32 base15 = get_unaligned((u16*)&p[7]); in tulip_parse_eeprom()
289 (get_unaligned((u16*)&p[9])<<16) + base15; in tulip_parse_eeprom()
291 (get_unaligned((u16*)&p[11])<<16) + base15; in tulip_parse_eeprom()
293 mtable->csr15dir = get_unaligned((u16*)&p[3])<<16; in tulip_parse_eeprom()
294 mtable->csr15val = get_unaligned((u16*)&p[5])<<16; in tulip_parse_eeprom()
/Linux-v5.15/include/asm-generic/
Duaccess.h25 *(u16 *)to = get_unaligned((u16 __force *)from); in __get_user_fn()
28 *(u32 *)to = get_unaligned((u32 __force *)from); in __get_user_fn()
31 *(u64 *)to = get_unaligned((u64 __force *)from); in __get_user_fn()
68 *((type *)dst) = get_unaligned((type *)(src)); \
Dunaligned.h22 #define get_unaligned(ptr) __get_unaligned_t(typeof(*(ptr)), (ptr)) macro
/Linux-v5.15/lib/
Dhexdump.c141 get_unaligned(ptr8 + j)); in hex_dump_to_buffer()
152 get_unaligned(ptr4 + j)); in hex_dump_to_buffer()
163 get_unaligned(ptr2 + j)); in hex_dump_to_buffer()
/Linux-v5.15/net/dccp/
Doptions.c138 opt_val = get_unaligned((__be32 *)value); in dccp_parse_options()
163 opt_val = get_unaligned((__be32 *)value); in dccp_parse_options()
181 __be16 opt_val2 = get_unaligned((__be16 *)value); in dccp_parse_options()
184 opt_val = get_unaligned((__be32 *)value); in dccp_parse_options()
199 __be16 opt_val2 = get_unaligned((__be16 *)value); in dccp_parse_options()
202 opt_val = get_unaligned((__be32 *)value); in dccp_parse_options()
/Linux-v5.15/arch/sh/kernel/
Dmodule.c53 value = get_unaligned(location); in apply_relocate_add()
59 value = get_unaligned(location); in apply_relocate_add()
Ddwarf.c130 u32 val = get_unaligned(src); in dwarf_read_addr()
247 decoded_addr += get_unaligned((u32 *)addr); in dwarf_read_encoded_value()
272 initial_len = get_unaligned((u32 *)addr); in dwarf_entry_len()
287 *len = get_unaligned((u64 *)addr + 4); in dwarf_entry_len()
452 delta = get_unaligned((u16 *)current_insn); in dwarf_cfa_execute_insns()
457 delta = get_unaligned((u32 *)current_insn); in dwarf_cfa_execute_insns()
1058 entry_type = get_unaligned((u32 *)p); in dwarf_parse_section()
/Linux-v5.15/drivers/platform/surface/
Dsurface_acpi_notify.c495 if (get_unaligned(&rqsx->cdl) != b->len - sizeof(struct gsb_data_rqsx)) { in san_validate_rqsx()
497 type, b->len, get_unaligned(&rqsx->cdl)); in san_validate_rqsx()
501 if (get_unaligned(&rqsx->cdl) > SAN_GSB_MAX_RQSX_PAYLOAD) { in san_validate_rqsx()
503 type, get_unaligned(&rqsx->cdl)); in san_validate_rqsx()
578 rqst.length = get_unaligned(&gsb_rqst->cdl); in san_rqst()
618 evt.length = get_unaligned(&gsb_rqsg->cdl); in san_rqsg()
/Linux-v5.15/net/ceph/
Ddecode.c172 sa_family_t family = get_unaligned(&addr->in_addr.ss_family); in ceph_entity_addr_encoding_len()
180 sa_family_t family = get_unaligned(&addr->in_addr.ss_family); in ceph_encode_entity_addr()
/Linux-v5.15/arch/ia64/include/asm/
Dio.h243 outw(get_unaligned(sp++), port); in outsw()
253 outl(get_unaligned(sp++), port); in outsl()
/Linux-v5.15/arch/xtensa/include/asm/
Dflat.h10 *addr = get_unaligned((__force u32 *)rp); in flat_get_addr_from_rp()
/Linux-v5.15/arch/h8300/include/asm/
Dflat.h22 u32 val = get_unaligned((__force u32 *)rp); in flat_get_addr_from_rp()
/Linux-v5.15/arch/sh/include/asm/
Dflat.h17 *addr = get_unaligned((__force u32 *)rp); in flat_get_addr_from_rp()
/Linux-v5.15/fs/isofs/
Djoliet.c26 while ((ch = get_unaligned(ip)) && len) { in uni16_to_x8()
/Linux-v5.15/drivers/misc/bcm-vk/
Dbcm_vk_sg.c52 data = get_unaligned(&vkdata->address); in bcm_vk_dma_alloc()
241 addr = get_unaligned(&vkdata[i].address); in bcm_vk_dma_free()
/Linux-v5.15/include/linux/mtd/
Dmap.h328 r.x[0] = get_unaligned((uint16_t *)ptr); in map_word_load()
330 r.x[0] = get_unaligned((uint32_t *)ptr); in map_word_load()
333 r.x[0] = get_unaligned((uint64_t *)ptr); in map_word_load()
/Linux-v5.15/fs/hpfs/
Dhpfs_fn.h157 return le32_to_cpu(get_unaligned((__le32 *)((char *)ea + 9 + ea->namelen))); in ea_sec()
162 return le32_to_cpu(get_unaligned((__le32 *)((char *)ea + 5 + ea->namelen))); in ea_len()
/Linux-v5.15/security/apparmor/
Dpolicy_unpack.c229 size = le16_to_cpu(get_unaligned((__le16 *) e->pos)); in unpack_u16_chunk()
325 *data = le32_to_cpu(get_unaligned((__le32 *) e->pos)); in unpack_u32()
343 *data = le64_to_cpu(get_unaligned((__le64 *) e->pos)); in unpack_u64()
361 size = (int)le16_to_cpu(get_unaligned((__le16 *) e->pos)); in unpack_array()
379 size = le32_to_cpu(get_unaligned((__le32 *) e->pos)); in unpack_blob()

1234