Home
last modified time | relevance | path

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

123

/Linux-v6.6/lib/lz4/
Dlz4defs.h124 put_unaligned(value, (U16 *)memPtr); in LZ4_write16()
129 put_unaligned(value, (U32 *)memPtr); in LZ4_write32()
158 put_unaligned(a, (U64 *)dst); in LZ4_copy8()
163 put_unaligned(a, (U32 *)dst); in LZ4_copy8()
164 put_unaligned(b, (U32 *)dst + 1); in LZ4_copy8()
/Linux-v6.6/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-v6.6/fs/smb/client/
Dcifs_unicode.c533 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16()
538 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16()
541 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16()
544 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16()
547 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16()
550 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16()
565 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16()
569 put_unaligned(0, &target[j]); /* Null terminate target unicode string */ in cifsConvertToUTF16()
/Linux-v6.6/lib/crypto/
Dutils.c45 put_unaligned(l, (u64 *)dst); in __crypto_xor()
59 put_unaligned(l, (u32 *)dst); in __crypto_xor()
73 put_unaligned(l, (u16 *)dst); in __crypto_xor()
/Linux-v6.6/include/asm-generic/
Duaccess.h52 put_unaligned(*(u16 *)from, (u16 __force *)to); in __put_user_fn()
55 put_unaligned(*(u32 *)from, (u32 __force *)to); in __put_user_fn()
58 put_unaligned(*(u64 *)from, (u64 __force *)to); in __put_user_fn()
76 put_unaligned(*((type *)src), (type *)(dst)); \
Dunaligned.h23 #define put_unaligned(val, ptr) __put_unaligned_t(typeof(*(ptr)), (val), (ptr)) macro
/Linux-v6.6/lib/lzo/
Dlzodefs.h23 put_unaligned(get_unaligned((const u32 *)(src)), (u32 *)(dst))
26 put_unaligned(get_unaligned((const u64 *)(src)), (u64 *)(dst))
/Linux-v6.6/include/crypto/
Dutils.h27 put_unaligned(l, d++); in crypto_xor()
48 put_unaligned(l, d++); in crypto_xor_cpy()
/Linux-v6.6/drivers/hid/
Dhid-uclogic-rdesc.c1230 put_unaligned((__force u32)cpu_to_le32(v), (s32 *)p); in uclogic_rdesc_template_apply()
1235 put_unaligned((__u8)0x2A, p); /* Usage Maximum */ in uclogic_rdesc_template_apply()
1236 put_unaligned((__force u16)cpu_to_le16(v), (s16 *)(p + 1)); in uclogic_rdesc_template_apply()
/Linux-v6.6/arch/sh/kernel/
Dmodule.c55 put_unaligned(value, location); in apply_relocate_add()
61 put_unaligned(value, location); in apply_relocate_add()
/Linux-v6.6/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-v6.6/lib/zstd/common/
Dmem.h133 put_unaligned(value, (U16 *)memPtr); in MEM_write16()
138 put_unaligned(value, (U32 *)memPtr); in MEM_write32()
143 put_unaligned(value, (U64 *)memPtr); in MEM_write64()
/Linux-v6.6/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-v6.6/Documentation/translations/zh_CN/core-api/
Dunaligned-memory-access.rst179 put_unaligned()宏。
196 put_unaligned(value, (u32 *) data);
/Linux-v6.6/arch/ia64/include/asm/
Dio.h202 put_unaligned(inw(port), dp++); in insw()
211 put_unaligned(inl(port), dp++); in insl()
/Linux-v6.6/crypto/
Dpolyval-generic.c75 put_unaligned(swab64(a), (u64 *)&dst[8]); in copy_and_reverse()
76 put_unaligned(swab64(b), (u64 *)&dst[0]); in copy_and_reverse()
/Linux-v6.6/arch/xtensa/include/asm/
Dflat.h15 put_unaligned(addr, (__force u32 *)rp); in flat_put_addr_at_rp()
/Linux-v6.6/fs/smb/server/
Dunicode.c318 put_unaligned(0, &target[j]); in smbConvertToUTF16()
361 put_unaligned(dst_char, &target[j]); in smbConvertToUTF16()
/Linux-v6.6/tools/include/asm-generic/
Dunaligned.h20 #define put_unaligned(val, ptr) __put_unaligned_t(typeof(*(ptr)), (val), (ptr)) macro
/Linux-v6.6/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-v6.6/arch/sh/include/asm/
Dflat.h22 put_unaligned(addr, (__force u32 *)rp); in flat_put_addr_at_rp()
/Linux-v6.6/arch/um/include/asm/
Duaccess.h57 put_unaligned(*((type *)src), (type *)(dst)); \
/Linux-v6.6/lib/
Drandom32.c79 put_unaligned(prandom_u32_state(state), (u32 *) ptr); in prandom_bytes_state()
/Linux-v6.6/fs/lockd/
Dmon.c268 put_unaligned(ns, p); in nsm_init_private()
269 put_unaligned((unsigned long)nsm, p + 1); in nsm_init_private()

123