Home
last modified time | relevance | path

Searched refs:put_unaligned (Results 1 – 25 of 67) sorted by relevance

123

/Linux-v5.15/lib/lz4/
Dlz4defs.h122 put_unaligned(value, (U16 *)memPtr); in LZ4_write16()
127 put_unaligned(value, (U32 *)memPtr); in LZ4_write32()
156 put_unaligned(a, (U64 *)dst); in LZ4_copy8()
161 put_unaligned(a, (U32 *)dst); in LZ4_copy8()
162 put_unaligned(b, (U32 *)dst + 1); in LZ4_copy8()
/Linux-v5.15/arch/microblaze/include/asm/
Dflat.h70 put_unaligned(val_hi, p); in flat_put_addr_at_rp()
71 put_unaligned(val_lo, p+1); in flat_put_addr_at_rp()
74 put_unaligned(addr, p); in flat_put_addr_at_rp()
/Linux-v5.15/fs/cifs/
Dcifs_unicode.c534 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16()
539 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16()
542 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16()
545 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16()
548 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16()
551 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16()
566 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16()
570 put_unaligned(0, &target[j]); /* Null terminate target unicode string */ in cifsConvertToUTF16()
/Linux-v5.15/include/asm-generic/
Duaccess.h51 put_unaligned(*(u16 *)from, (u16 __force *)to); in __put_user_fn()
54 put_unaligned(*(u32 *)from, (u32 __force *)to); in __put_user_fn()
57 put_unaligned(*(u64 *)from, (u64 __force *)to); in __put_user_fn()
75 put_unaligned(*((type *)src), (type *)(dst)); \
Dunaligned.h23 #define put_unaligned(val, ptr) __put_unaligned_t(typeof(*(ptr)), (val), (ptr)) macro
/Linux-v5.15/lib/lzo/
Dlzodefs.h23 put_unaligned(get_unaligned((const u32 *)(src)), (u32 *)(dst))
26 put_unaligned(get_unaligned((const u64 *)(src)), (u64 *)(dst))
/Linux-v5.15/lib/zstd/
Dmem.h67 ZSTD_STATIC void ZSTD_write16(void *memPtr, U16 value) { put_unaligned(value, (U16 *)memPtr); } in ZSTD_write16()
69 ZSTD_STATIC void ZSTD_write32(void *memPtr, U32 value) { put_unaligned(value, (U32 *)memPtr); } in ZSTD_write32()
71 ZSTD_STATIC void ZSTD_write64(void *memPtr, U64 value) { put_unaligned(value, (U64 *)memPtr); } in ZSTD_write64()
/Linux-v5.15/arch/sh/kernel/
Dmodule.c55 put_unaligned(value, location); in apply_relocate_add()
61 put_unaligned(value, location); in apply_relocate_add()
/Linux-v5.15/lib/842/
D842_compress.c197 put_unaligned(cpu_to_be16(o << 8 | d), (__be16 *)out); in add_bits()
199 put_unaligned(cpu_to_be32(o << 24 | d << 8), (__be32 *)out); in add_bits()
201 put_unaligned(cpu_to_be32(o << 24 | d), (__be32 *)out); in add_bits()
203 put_unaligned(cpu_to_be64(o << 56 | d << 24), (__be64 *)out); in add_bits()
205 put_unaligned(cpu_to_be64(o << 56 | d << 16), (__be64 *)out); in add_bits()
207 put_unaligned(cpu_to_be64(o << 56 | d << 8), (__be64 *)out); in add_bits()
209 put_unaligned(cpu_to_be64(o << 56 | d), (__be64 *)out); in add_bits()
D842_decompress.c145 put_unaligned(cpu_to_be16((u16)v), (__be16 *)p->out); in do_data()
148 put_unaligned(cpu_to_be32((u32)v), (__be32 *)p->out); in do_data()
151 put_unaligned(cpu_to_be64((u64)v), (__be64 *)p->out); in do_data()
/Linux-v5.15/drivers/misc/bcm-vk/
Dbcm_vk_sg.c141 put_unaligned(sg_addr, (u64 *)&sgdata->address); in bcm_vk_dma_alloc()
152 put_unaligned(sg_addr, (u64 *)&sgdata->address); in bcm_vk_dma_alloc()
156 put_unaligned((u64)dma->handle, &vkdata->address); in bcm_vk_dma_alloc()
/Linux-v5.15/arch/ia64/include/asm/
Dio.h214 put_unaligned(inw(port), dp++); in insw()
223 put_unaligned(inl(port), dp++); in insl()
/Linux-v5.15/arch/xtensa/include/asm/
Dflat.h15 put_unaligned(addr, (__force u32 *)rp); in flat_put_addr_at_rp()
/Linux-v5.15/arch/h8300/include/asm/
Dflat.h32 put_unaligned((addr & 0x00ffffff) | (*(char *)p << 24), p); in flat_put_addr_at_rp()
/Linux-v5.15/fs/ksmbd/
Dunicode.c337 put_unaligned(0, &target[j]); in smbConvertToUTF16()
380 put_unaligned(dst_char, &target[j]); in smbConvertToUTF16()
/Linux-v5.15/fs/ntfs3/lib/
Ddecompress_common.h32 put_unaligned(get_unaligned((const size_t *)src), (size_t *)dst); in copy_unaligned_word()
308 put_unaligned(v, (size_t *)dst); in lz_copy()
/Linux-v5.15/arch/sh/include/asm/
Dflat.h22 put_unaligned(addr, (__force u32 *)rp); in flat_put_addr_at_rp()
/Linux-v5.15/drivers/hid/
Dhid-uclogic-rdesc.c854 put_unaligned(cpu_to_le32(v), (s32 *)p); in uclogic_rdesc_template_apply()
/Linux-v5.15/lib/
Drandom32.c79 put_unaligned(prandom_u32_state(state), (u32 *) ptr); in prandom_bytes_state()
406 put_unaligned(siprand_u32(state), (u32 *)ptr); in prandom_bytes()
/Linux-v5.15/fs/lockd/
Dmon.c268 put_unaligned(ns, p); in nsm_init_private()
269 put_unaligned((unsigned long)nsm, p + 1); in nsm_init_private()
/Linux-v5.15/include/rdma/
Diba.h53 put_unaligned(cpu_to_be64((_iba_get64(ptr) & ~mask) | prep_value), ptr); in _iba_set64()
/Linux-v5.15/net/core/
Dnetpoll.c463 put_unaligned(htons(ip_len), &(iph->tot_len)); in netpoll_send_udp()
469 put_unaligned(np->local_ip.ip, &(iph->saddr)); in netpoll_send_udp()
470 put_unaligned(np->remote_ip.ip, &(iph->daddr)); in netpoll_send_udp()
/Linux-v5.15/drivers/spi/
Dspi-sh-msiof.c508 put_unaligned(sh_msiof_read(p, SIRFDR) >> fs, &buf_16[k]); in sh_msiof_spi_read_fifo_16u()
528 put_unaligned(sh_msiof_read(p, SIRFDR) >> fs, &buf_32[k]); in sh_msiof_spi_read_fifo_32u()
548 put_unaligned(swab32(sh_msiof_read(p, SIRFDR) >> fs), &buf_32[k]); in sh_msiof_spi_read_fifo_s32u()
874 put_unaligned(swab32(*src++), dst); in copy_bswap32()
893 put_unaligned(swahw32(*src++), dst); in copy_wswap32()
/Linux-v5.15/net/802/
Dmrp.c338 put_unaligned(MRP_END_MARK, endmark); in mrp_pdu_append_end_mark()
396 put_unaligned(0, &vah->lenflags); in mrp_pdu_append_vecattr_hdr()
470 put_unaligned(cpu_to_be16(++len), &mrp_cb(app->pdu)->vah->lenflags); in mrp_pdu_append_vecattr_event()
/Linux-v5.15/arch/arc/include/asm/
Dio.h115 put_unaligned(x, buf++); \

123