/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | io.c | 71 void __memset_io(volatile void __iomem *dst, int c, size_t count) in __memset_io() argument 79 while (count && !IS_ALIGNED((unsigned long)dst, 8)) { in __memset_io() 80 __raw_writeb(c, dst); in __memset_io() 81 dst++; in __memset_io() 86 __raw_writeq(qc, dst); in __memset_io() 87 dst += 8; in __memset_io() 92 __raw_writeb(c, dst); in __memset_io() 93 dst++; in __memset_io()
|
/kernel/linux/linux-6.6/arch/loongarch/kernel/ |
H A D | io.c | 68 void __memset_io(volatile void __iomem *dst, int c, size_t count) in __memset_io() argument 76 while (count && !IS_ALIGNED((unsigned long)dst, 8)) { in __memset_io() 77 __raw_writeb(c, dst); in __memset_io() 78 dst++; in __memset_io() 83 __raw_writeq(qc, dst); in __memset_io() 84 dst += 8; in __memset_io() 89 __raw_writeb(c, dst); in __memset_io() 90 dst++; in __memset_io()
|
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | io.c | 71 void __memset_io(volatile void __iomem *dst, int c, size_t count) in __memset_io() argument 79 while (count && !IS_ALIGNED((unsigned long)dst, 8)) { in __memset_io() 80 __raw_writeb(c, dst); in __memset_io() 81 dst++; in __memset_io() 86 __raw_writeq(qc, dst); in __memset_io() 87 dst += 8; in __memset_io() 92 __raw_writeb(c, dst); in __memset_io() 93 dst++; in __memset_io()
|
/kernel/linux/linux-6.6/drivers/platform/x86/hp/hp-bioscfg/ |
H A D | bioscfg.c | 54 int hp_get_string_from_buffer(u8 **buffer, u32 *buffer_size, char *dst, u32 dst_size) in hp_get_string_from_buffer() argument 94 utf16s_to_utf8s(src, src_size, UTF16_HOST_ENDIAN, dst, conv_dst_size); in hp_get_string_from_buffer() 95 dst[conv_dst_size] = 0; in hp_get_string_from_buffer() 102 dst[i++] = '\\'; in hp_get_string_from_buffer() 108 dst[i] = 'r'; in hp_get_string_from_buffer() 110 dst[i] = 'n'; in hp_get_string_from_buffer() 112 dst[i] = 't'; in hp_get_string_from_buffer() 114 dst[i] = '\''; in hp_get_string_from_buffer() 116 dst[i] = *src; in hp_get_string_from_buffer()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_core_reloc_mods.c | 46 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src) 48 #define CORE_READ(dst, src) ({ \ 49 int __sz = sizeof(*(dst)) < sizeof(*(src)) ? sizeof(*(dst)) : \ 51 bpf_core_read((char *)(dst) + sizeof(*(dst)) - __sz, __sz, \
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
H A D | rxe_net.c | 64 return &rt->dst; in rxe_find_route4() 115 struct dst_entry *dst = NULL; in rxe_find_route() local 118 dst = sk_dst_get(qp->sk->sk); in rxe_find_route() 120 if (!dst || !dst_check(dst, qp->dst_cookie)) { in rxe_find_route() 121 if (dst) in rxe_find_route() 122 dst_release(dst); in rxe_find_route() 130 dst = rxe_find_route4(ndev, saddr, daddr); in rxe_find_route() 137 dst = rxe_find_route6(ndev, saddr6, daddr6); in rxe_find_route() 139 if (dst) in rxe_find_route() 248 prepare_ipv4_hdr(struct dst_entry *dst, struct sk_buff *skb, __be32 saddr, __be32 daddr, __u8 proto, __u8 tos, __u8 ttl, __be16 df, bool xnet) prepare_ipv4_hdr() argument 279 prepare_ipv6_hdr(struct dst_entry *dst, struct sk_buff *skb, struct in6_addr *saddr, struct in6_addr *daddr, __u8 proto, __u8 prio, __u8 ttl) prepare_ipv6_hdr() argument 305 struct dst_entry *dst; prepare4() local 331 struct dst_entry *dst; prepare6() local [all...] |
/kernel/linux/linux-6.6/drivers/media/test-drivers/visl/ |
H A D | visl-dec.c | 208 run->dst->sequence, in visl_tpg_fill_sequence() 209 run->dst->vb2_buf.timestamp, in visl_tpg_fill_sequence() 210 (run->dst->field == V4L2_FIELD_ALTERNATE) ? in visl_tpg_fill_sequence() 211 (run->dst->field == V4L2_FIELD_TOP ? in visl_tpg_fill_sequence() 233 &run->dst->vb2_buf, p, in visl_tpg_fill() 243 frame_dprintk(ctx->dev, run->dst->sequence, "%s\n", buf); in visl_tpg_fill() 244 frame_dprintk(ctx->dev, run->dst->sequence, ""); in visl_tpg_fill() 251 frame_dprintk(ctx->dev, run->dst->sequence, "%s\n", line_str); in visl_tpg_fill() 254 frame_dprintk(ctx->dev, run->dst->sequence, ""); in visl_tpg_fill() 269 frame_dprintk(ctx->dev, run->dst in visl_tpg_fill() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/sw/rxe/ |
H A D | rxe_net.c | 43 return &rt->dst; in rxe_find_route4() 96 struct dst_entry *dst = NULL; in rxe_find_route() local 99 dst = sk_dst_get(qp->sk->sk); in rxe_find_route() 101 if (!dst || !dst_check(dst, qp->dst_cookie)) { in rxe_find_route() 102 if (dst) in rxe_find_route() 103 dst_release(dst); in rxe_find_route() 111 dst = rxe_find_route4(qp, ndev, saddr, daddr); in rxe_find_route() 118 dst = rxe_find_route6(qp, ndev, saddr6, daddr6); in rxe_find_route() 120 if (dst) in rxe_find_route() 226 prepare_ipv4_hdr(struct dst_entry *dst, struct sk_buff *skb, __be32 saddr, __be32 daddr, __u8 proto, __u8 tos, __u8 ttl, __be16 df, bool xnet) prepare_ipv4_hdr() argument 256 prepare_ipv6_hdr(struct dst_entry *dst, struct sk_buff *skb, struct in6_addr *saddr, struct in6_addr *daddr, __u8 proto, __u8 prio, __u8 ttl) prepare_ipv6_hdr() argument 283 struct dst_entry *dst; prepare4() local 309 struct dst_entry *dst; prepare6() local [all...] |
/kernel/linux/linux-5.10/arch/x86/lib/ |
H A D | csum-wrappers_64.c | 15 * @dst: destination address 21 * src and dst are best aligned to 64bits. 24 csum_and_copy_from_user(const void __user *src, void *dst, int len) in csum_and_copy_from_user() argument 31 sum = csum_partial_copy_generic((__force const void *)src, dst, len); in csum_and_copy_from_user() 40 * @dst: destination address (user space) 46 * src and dst are best aligned to 64bits. 49 csum_and_copy_to_user(const void *src, void __user *dst, int len) in csum_and_copy_to_user() argument 54 if (!user_access_begin(dst, len)) in csum_and_copy_to_user() 56 sum = csum_partial_copy_generic(src, (void __force *)dst, len); in csum_and_copy_to_user() 65 * @dst 72 csum_partial_copy_nocheck(const void *src, void *dst, int len) csum_partial_copy_nocheck() argument [all...] |
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/ |
H A D | intrinsics.c | 18 void *memcpy(void *dst, const void *src, size_t len) in memcpy() argument 20 efi_bs_call(copy_mem, dst, src, len); in memcpy() 21 return dst; in memcpy() 24 extern void *memmove(void *dst, const void *src, size_t len) __alias(memcpy); 26 void *memset(void *dst, int c, size_t len) in memset() argument 28 efi_bs_call(set_mem, dst, len, c & U8_MAX); in memset() 29 return dst; in memset()
|
/kernel/linux/linux-6.6/arch/x86/lib/ |
H A D | csum-wrappers_64.c | 15 * @dst: destination address 21 * src and dst are best aligned to 64bits. 24 csum_and_copy_from_user(const void __user *src, void *dst, int len) in csum_and_copy_from_user() argument 31 sum = csum_partial_copy_generic((__force const void *)src, dst, len); in csum_and_copy_from_user() 39 * @dst: destination address (user space) 45 * src and dst are best aligned to 64bits. 48 csum_and_copy_to_user(const void *src, void __user *dst, int len) in csum_and_copy_to_user() argument 53 if (!user_access_begin(dst, len)) in csum_and_copy_to_user() 55 sum = csum_partial_copy_generic(src, (void __force *)dst, len); in csum_and_copy_to_user() 63 * @dst 70 csum_partial_copy_nocheck(const void *src, void *dst, int len) csum_partial_copy_nocheck() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | vxlan_bridge_1q_ipv6.sh | 205 bridge fdb append dev vx10 00:00:00:00:00:00 dst 2001:db8:4::1 self 206 bridge fdb append dev vx10 00:00:00:00:00:00 dst 2001:db8:5::1 self 208 bridge fdb append dev vx20 00:00:00:00:00:00 dst 2001:db8:4::1 self 209 bridge fdb append dev vx20 00:00:00:00:00:00 dst 2001:db8:5::1 self 214 bridge fdb del dev vx20 00:00:00:00:00:00 dst 2001:db8:5::1 self 215 bridge fdb del dev vx20 00:00:00:00:00:00 dst 2001:db8:4::1 self 217 bridge fdb del dev vx10 00:00:00:00:00:00 dst 2001:db8:5::1 self 218 bridge fdb del dev vx10 00:00:00:00:00:00 dst 2001:db8:4::1 self 296 bridge fdb append dev vx10 00:00:00:00:00:00 dst 2001:db8:3::1 self 297 bridge fdb append dev vx10 00:00:00:00:00:00 dst [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_nat_sip.c | 109 newaddr = ct->tuplehash[!dir].tuple.dst.u3; in map_addr() 110 newport = ct->tuplehash[!dir].tuple.dst.u.udp.port; in map_addr() 111 } else if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.dst.u3, addr) && in map_addr() 112 ct->tuplehash[dir].tuple.dst.u.udp.port == port) { in map_addr() 194 &ct->tuplehash[dir].tuple.dst.u3) || in nf_nat_sip() 195 port != ct->tuplehash[dir].tuple.dst.u.udp.port) in nf_nat_sip() 214 !nf_inet_addr_cmp(&addr, &ct->tuplehash[!dir].tuple.dst.u3)) { in nf_nat_sip() 216 &ct->tuplehash[!dir].tuple.dst.u3, in nf_nat_sip() 230 nf_inet_addr_cmp(&addr, &ct->tuplehash[dir].tuple.dst.u3) && in nf_nat_sip() 247 htons(n) == ct->tuplehash[dir].tuple.dst in nf_nat_sip() [all...] |
/kernel/linux/linux-5.10/drivers/char/hw_random/ |
H A D | xgene-rng.c | 53 #define MAX_REFILL_CYCLES_SET(dst, src) \ 54 ((dst & ~0xffff0000) | (((u32)src << 16) & 0xffff0000)) 55 #define MIN_REFILL_CYCLES_SET(dst, src) \ 56 ((dst & ~0x000000ff) | (((u32)src) & 0x000000ff)) 57 #define ALARM_THRESHOLD_SET(dst, src) \ 58 ((dst & ~0x000000ff) | (((u32)src) & 0x000000ff)) 59 #define ENABLE_RNG_SET(dst, src) \ 60 ((dst & ~BIT(10)) | (((u32)src << 10) & BIT(10))) 61 #define REGSPEC_TEST_MODE_SET(dst, src) \ 62 ((dst [all...] |
/kernel/linux/linux-6.6/drivers/char/hw_random/ |
H A D | xgene-rng.c | 53 #define MAX_REFILL_CYCLES_SET(dst, src) \ 54 ((dst & ~0xffff0000) | (((u32)src << 16) & 0xffff0000)) 55 #define MIN_REFILL_CYCLES_SET(dst, src) \ 56 ((dst & ~0x000000ff) | (((u32)src) & 0x000000ff)) 57 #define ALARM_THRESHOLD_SET(dst, src) \ 58 ((dst & ~0x000000ff) | (((u32)src) & 0x000000ff)) 59 #define ENABLE_RNG_SET(dst, src) \ 60 ((dst & ~BIT(10)) | (((u32)src << 10) & BIT(10))) 61 #define REGSPEC_TEST_MODE_SET(dst, src) \ 62 ((dst [all...] |
/kernel/linux/linux-5.10/arch/mips/lib/ |
H A D | memset.S | 58 .macro f_fill64 dst, offset, val, fixup, mode 59 EX(LONG_S, \val, (\offset + 0 * STORSIZE)(\dst), \fixup) 60 EX(LONG_S, \val, (\offset + 1 * STORSIZE)(\dst), \fixup) 61 EX(LONG_S, \val, (\offset + 2 * STORSIZE)(\dst), \fixup) 62 EX(LONG_S, \val, (\offset + 3 * STORSIZE)(\dst), \fixup) 64 EX(LONG_S, \val, (\offset + 4 * STORSIZE)(\dst), \fixup) 65 EX(LONG_S, \val, (\offset + 5 * STORSIZE)(\dst), \fixup) 66 EX(LONG_S, \val, (\offset + 6 * STORSIZE)(\dst), \fixup) 67 EX(LONG_S, \val, (\offset + 7 * STORSIZE)(\dst), \fixup) 70 EX(LONG_S, \val, (\offset + 8 * STORSIZE)(\dst), \fixu [all...] |
/kernel/linux/linux-6.6/arch/mips/lib/ |
H A D | memset.S | 58 .macro f_fill64 dst, offset, val, fixup, mode 59 EX(LONG_S, \val, (\offset + 0 * STORSIZE)(\dst), \fixup) 60 EX(LONG_S, \val, (\offset + 1 * STORSIZE)(\dst), \fixup) 61 EX(LONG_S, \val, (\offset + 2 * STORSIZE)(\dst), \fixup) 62 EX(LONG_S, \val, (\offset + 3 * STORSIZE)(\dst), \fixup) 64 EX(LONG_S, \val, (\offset + 4 * STORSIZE)(\dst), \fixup) 65 EX(LONG_S, \val, (\offset + 5 * STORSIZE)(\dst), \fixup) 66 EX(LONG_S, \val, (\offset + 6 * STORSIZE)(\dst), \fixup) 67 EX(LONG_S, \val, (\offset + 7 * STORSIZE)(\dst), \fixup) 70 EX(LONG_S, \val, (\offset + 8 * STORSIZE)(\dst), \fixu [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | atafb_iplan2p4.c | 39 u8 *src, *dst; in atafb_iplan2p4_copyarea() local 51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 53 memmove32_col(dst, src, 0xff00ff, height, next_line - BPL * 2); in atafb_iplan2p4_copyarea() 55 dst += BPL * 2; in atafb_iplan2p4_copyarea() 61 d = (u32 *)dst; in atafb_iplan2p4_copyarea() 72 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), in atafb_iplan2p4_copyarea() 76 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 80 dst -= BPL * 2; in atafb_iplan2p4_copyarea() 81 memmove32_col(dst, src, 0xff00ff00, colsize, -next_line - BPL * 2); in atafb_iplan2p4_copyarea() 87 d = (u32 *)dst; in atafb_iplan2p4_copyarea() [all...] |
H A D | atafb_iplan2p2.c | 39 u8 *src, *dst; in atafb_iplan2p2_copyarea() local 51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 53 memmove32_col(dst, src, 0xff00ff, height, next_line - BPL * 2); in atafb_iplan2p2_copyarea() 55 dst += BPL * 2; in atafb_iplan2p2_copyarea() 61 d = (u32 *)dst; in atafb_iplan2p2_copyarea() 72 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), in atafb_iplan2p2_copyarea() 76 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 80 dst -= BPL * 2; in atafb_iplan2p2_copyarea() 81 memmove32_col(dst, src, 0xff00ff00, colsize, -next_line - BPL * 2); in atafb_iplan2p2_copyarea() 87 d = (u32 *)dst; in atafb_iplan2p2_copyarea() [all...] |
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
H A D | ip_vs_nfct.c | 57 IP_VS_DBG_ADDR((T)->src.l3num, &(T)->dst.u3), \ 58 ntohs((T)->dst.u.all), \ 59 (T)->dst.protonum 110 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack() 111 new_tuple.dst.protonum != IPPROTO_ICMPV6) in ip_vs_update_conntrack() 114 new_tuple.dst.u3 = cp->vaddr; in ip_vs_update_conntrack() 115 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack() 116 new_tuple.dst.protonum != IPPROTO_ICMPV6) in ip_vs_update_conntrack() 117 new_tuple.dst.u.tcp.port = cp->vport; in ip_vs_update_conntrack() 158 ip_vs_conn_fill_param(net_ipvs(net), exp->tuple.src.l3num, orig->dst in ip_vs_nfct_expect_callback() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | atafb_iplan2p4.c | 39 u8 *src, *dst; in atafb_iplan2p4_copyarea() local 51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 53 memmove32_col(dst, src, 0xff00ff, height, next_line - BPL * 2); in atafb_iplan2p4_copyarea() 55 dst += BPL * 2; in atafb_iplan2p4_copyarea() 61 d = (u32 *)dst; in atafb_iplan2p4_copyarea() 72 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), in atafb_iplan2p4_copyarea() 76 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 80 dst -= BPL * 2; in atafb_iplan2p4_copyarea() 81 memmove32_col(dst, src, 0xff00ff00, colsize, -next_line - BPL * 2); in atafb_iplan2p4_copyarea() 87 d = (u32 *)dst; in atafb_iplan2p4_copyarea() [all...] |
H A D | atafb_iplan2p2.c | 39 u8 *src, *dst; in atafb_iplan2p2_copyarea() local 51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 53 memmove32_col(dst, src, 0xff00ff, height, next_line - BPL * 2); in atafb_iplan2p2_copyarea() 55 dst += BPL * 2; in atafb_iplan2p2_copyarea() 61 d = (u32 *)dst; in atafb_iplan2p2_copyarea() 72 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), in atafb_iplan2p2_copyarea() 76 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 80 dst -= BPL * 2; in atafb_iplan2p2_copyarea() 81 memmove32_col(dst, src, 0xff00ff00, colsize, -next_line - BPL * 2); in atafb_iplan2p2_copyarea() 87 d = (u32 *)dst; in atafb_iplan2p2_copyarea() [all...] |
/kernel/linux/linux-6.6/net/netfilter/ipvs/ |
H A D | ip_vs_nfct.c | 57 IP_VS_DBG_ADDR((T)->src.l3num, &(T)->dst.u3), \ 58 ntohs((T)->dst.u.all), \ 59 (T)->dst.protonum 110 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack() 111 new_tuple.dst.protonum != IPPROTO_ICMPV6) in ip_vs_update_conntrack() 114 new_tuple.dst.u3 = cp->vaddr; in ip_vs_update_conntrack() 115 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack() 116 new_tuple.dst.protonum != IPPROTO_ICMPV6) in ip_vs_update_conntrack() 117 new_tuple.dst.u.tcp.port = cp->vport; in ip_vs_update_conntrack() 158 ip_vs_conn_fill_param(net_ipvs(net), exp->tuple.src.l3num, orig->dst in ip_vs_nfct_expect_callback() [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/as102/ |
H A D | as102_fw.c | 21 static unsigned char atohx(unsigned char *dst, char *src) in atohx() argument 33 *dst = value = ((msb & 0xF) << 4) | (lsb & 0xF); in atohx() 45 unsigned char *src, dst; in parse_hex_line() local 54 atohx(&dst, src); in parse_hex_line() 58 *dataLength = dst; in parse_hex_line() 61 addr[2] = dst; in parse_hex_line() 64 addr[3] = dst; in parse_hex_line() 68 if (dst == 0x04) in parse_hex_line() 76 addr[(count - 4)] = dst; in parse_hex_line() 78 data[(count - 4)] = dst; in parse_hex_line() [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/as102/ |
H A D | as102_fw.c | 21 static unsigned char atohx(unsigned char *dst, char *src) in atohx() argument 33 *dst = value = ((msb & 0xF) << 4) | (lsb & 0xF); in atohx() 45 unsigned char *src, dst; in parse_hex_line() local 54 atohx(&dst, src); in parse_hex_line() 58 *dataLength = dst; in parse_hex_line() 61 addr[2] = dst; in parse_hex_line() 64 addr[3] = dst; in parse_hex_line() 68 if (dst == 0x04) in parse_hex_line() 76 addr[(count - 4)] = dst; in parse_hex_line() 78 data[(count - 4)] = dst; in parse_hex_line() [all...] |