/kernel/linux/linux-5.10/arch/nios2/lib/ |
H A D | memcpy.c | 72 static void _wordcopy_fwd_aligned(long int dstp, long int srcp, size_t len) in _wordcopy_fwd_aligned() argument 77 a0 = ((op_t *) srcp)[0]; in _wordcopy_fwd_aligned() 78 a1 = ((op_t *) srcp)[1]; in _wordcopy_fwd_aligned() 79 a2 = ((op_t *) srcp)[2]; in _wordcopy_fwd_aligned() 80 a3 = ((op_t *) srcp)[3]; in _wordcopy_fwd_aligned() 81 a4 = ((op_t *) srcp)[4]; in _wordcopy_fwd_aligned() 82 a5 = ((op_t *) srcp)[5]; in _wordcopy_fwd_aligned() 83 a6 = ((op_t *) srcp)[6]; in _wordcopy_fwd_aligned() 84 a7 = ((op_t *) srcp)[7]; in _wordcopy_fwd_aligned() 94 srcp in _wordcopy_fwd_aligned() 112 _wordcopy_fwd_dest_aligned(long int dstp, long int srcp, size_t len) _wordcopy_fwd_dest_aligned() argument 163 unsigned long int srcp = (long int) srcpp; memcpy() local 197 unsigned long int srcp = (long int) srcpp; memcpyb() local [all...] |
/kernel/linux/linux-6.6/arch/nios2/lib/ |
H A D | memcpy.c | 72 static void _wordcopy_fwd_aligned(long int dstp, long int srcp, size_t len) in _wordcopy_fwd_aligned() argument 77 a0 = ((op_t *) srcp)[0]; in _wordcopy_fwd_aligned() 78 a1 = ((op_t *) srcp)[1]; in _wordcopy_fwd_aligned() 79 a2 = ((op_t *) srcp)[2]; in _wordcopy_fwd_aligned() 80 a3 = ((op_t *) srcp)[3]; in _wordcopy_fwd_aligned() 81 a4 = ((op_t *) srcp)[4]; in _wordcopy_fwd_aligned() 82 a5 = ((op_t *) srcp)[5]; in _wordcopy_fwd_aligned() 83 a6 = ((op_t *) srcp)[6]; in _wordcopy_fwd_aligned() 84 a7 = ((op_t *) srcp)[7]; in _wordcopy_fwd_aligned() 94 srcp in _wordcopy_fwd_aligned() 112 _wordcopy_fwd_dest_aligned(long int dstp, long int srcp, size_t len) _wordcopy_fwd_dest_aligned() argument 163 unsigned long int srcp = (long int) srcpp; memcpy() local 197 unsigned long int srcp = (long int) srcpp; memcpyb() local [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | cpumask.h | 172 static inline unsigned int cpumask_first(const struct cpumask *srcp) in cpumask_first() argument 177 static inline unsigned int cpumask_last(const struct cpumask *srcp) in cpumask_last() argument 183 static inline unsigned int cpumask_next(int n, const struct cpumask *srcp) in cpumask_next() argument 188 static inline unsigned int cpumask_next_zero(int n, const struct cpumask *srcp) in cpumask_next_zero() argument 194 const struct cpumask *srcp, in cpumask_next_and() 235 * @srcp: the cpumask pointer 239 static inline unsigned int cpumask_first(const struct cpumask *srcp) in cpumask_first() argument 241 return find_first_bit(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_first() 246 * @srcp: - the cpumask pointer 250 static inline unsigned int cpumask_last(const struct cpumask *srcp) in cpumask_last() argument 193 cpumask_next_and(int n, const struct cpumask *srcp, const struct cpumask *andp) cpumask_next_and() argument 264 cpumask_next_zero(int n, const struct cpumask *srcp) cpumask_next_zero() argument 502 cpumask_complement(struct cpumask *dstp, const struct cpumask *srcp) cpumask_complement() argument 565 cpumask_empty(const struct cpumask *srcp) cpumask_empty() argument 574 cpumask_full(const struct cpumask *srcp) cpumask_full() argument 583 cpumask_weight(const struct cpumask *srcp) cpumask_weight() argument 594 cpumask_shift_right(struct cpumask *dstp, const struct cpumask *srcp, int n) cpumask_shift_right() argument 607 cpumask_shift_left(struct cpumask *dstp, const struct cpumask *srcp, int n) cpumask_shift_left() argument 619 cpumask_copy(struct cpumask *dstp, const struct cpumask *srcp) cpumask_copy() argument [all...] |
H A D | nodemask.h | 196 const nodemask_t *srcp, unsigned int nbits) in __nodes_complement() 198 bitmap_complement(dstp->bits, srcp->bits, nbits); in __nodes_complement() 226 static inline bool __nodes_empty(const nodemask_t *srcp, unsigned int nbits) in __nodes_empty() argument 228 return bitmap_empty(srcp->bits, nbits); in __nodes_empty() 232 static inline bool __nodes_full(const nodemask_t *srcp, unsigned int nbits) in __nodes_full() argument 234 return bitmap_full(srcp->bits, nbits); in __nodes_full() 238 static inline int __nodes_weight(const nodemask_t *srcp, unsigned int nbits) in __nodes_weight() argument 240 return bitmap_weight(srcp->bits, nbits); in __nodes_weight() 246 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_right() 248 bitmap_shift_right(dstp->bits, srcp in __nodes_shift_right() 195 __nodes_complement(nodemask_t *dstp, const nodemask_t *srcp, unsigned int nbits) __nodes_complement() argument 245 __nodes_shift_right(nodemask_t *dstp, const nodemask_t *srcp, int n, int nbits) __nodes_shift_right() argument 253 __nodes_shift_left(nodemask_t *dstp, const nodemask_t *srcp, int n, int nbits) __nodes_shift_left() argument 263 __first_node(const nodemask_t *srcp) __first_node() argument 269 __next_node(int n, const nodemask_t *srcp) __next_node() argument 355 __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, const nodemask_t *oldp, const nodemask_t *newp, int nbits) __nodes_remap() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | cpumask.h | 176 * @srcp: the cpumask pointer 180 static inline unsigned int cpumask_first(const struct cpumask *srcp) in cpumask_first() argument 182 return find_first_bit(cpumask_bits(srcp), small_cpumask_bits); in cpumask_first() 187 * @srcp: the cpumask pointer 191 static inline unsigned int cpumask_first_zero(const struct cpumask *srcp) in cpumask_first_zero() argument 193 return find_first_zero_bit(cpumask_bits(srcp), small_cpumask_bits); in cpumask_first_zero() 211 * @srcp: - the cpumask pointer 215 static inline unsigned int cpumask_last(const struct cpumask *srcp) in cpumask_last() argument 217 return find_last_bit(cpumask_bits(srcp), small_cpumask_bits); in cpumask_last() 223 * @srcp 228 cpumask_next(int n, const struct cpumask *srcp) cpumask_next() argument 243 cpumask_next_zero(int n, const struct cpumask *srcp) cpumask_next_zero() argument 264 cpumask_any_distribute(const struct cpumask *srcp) cpumask_any_distribute() argument 417 cpumask_nth(unsigned int cpu, const struct cpumask *srcp) cpumask_nth() argument 641 cpumask_complement(struct cpumask *dstp, const struct cpumask *srcp) cpumask_complement() argument 704 cpumask_empty(const struct cpumask *srcp) cpumask_empty() argument 713 cpumask_full(const struct cpumask *srcp) cpumask_full() argument 722 cpumask_weight(const struct cpumask *srcp) cpumask_weight() argument 744 cpumask_shift_right(struct cpumask *dstp, const struct cpumask *srcp, int n) cpumask_shift_right() argument 757 cpumask_shift_left(struct cpumask *dstp, const struct cpumask *srcp, int n) cpumask_shift_left() argument 769 cpumask_copy(struct cpumask *dstp, const struct cpumask *srcp) cpumask_copy() argument [all...] |
H A D | nodemask.h | 197 const nodemask_t *srcp, unsigned int nbits) in __nodes_complement() 199 bitmap_complement(dstp->bits, srcp->bits, nbits); in __nodes_complement() 227 static inline bool __nodes_empty(const nodemask_t *srcp, unsigned int nbits) in __nodes_empty() argument 229 return bitmap_empty(srcp->bits, nbits); in __nodes_empty() 233 static inline bool __nodes_full(const nodemask_t *srcp, unsigned int nbits) in __nodes_full() argument 235 return bitmap_full(srcp->bits, nbits); in __nodes_full() 239 static inline int __nodes_weight(const nodemask_t *srcp, unsigned int nbits) in __nodes_weight() argument 241 return bitmap_weight(srcp->bits, nbits); in __nodes_weight() 247 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_right() 249 bitmap_shift_right(dstp->bits, srcp in __nodes_shift_right() 196 __nodes_complement(nodemask_t *dstp, const nodemask_t *srcp, unsigned int nbits) __nodes_complement() argument 246 __nodes_shift_right(nodemask_t *dstp, const nodemask_t *srcp, int n, int nbits) __nodes_shift_right() argument 254 __nodes_shift_left(nodemask_t *dstp, const nodemask_t *srcp, int n, int nbits) __nodes_shift_left() argument 264 __first_node(const nodemask_t *srcp) __first_node() argument 270 __next_node(int n, const nodemask_t *srcp) __next_node() argument 280 __next_node_in(int node, const nodemask_t *srcp) __next_node_in() argument 363 __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, const nodemask_t *oldp, const nodemask_t *newp, int nbits) __nodes_remap() argument [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/copyloops/ |
H A D | validate.c | 21 char *srcp, *dstp; in do_one() local 25 srcp = src + MIN_REDZONE + src_off; in do_one() 30 memcpy(srcp, fill, len); in do_one() 32 ret = COPY_LOOP(dstp, srcp, len); in do_one() 34 printf("(%p,%p,%ld) returned %ld\n", dstp, srcp, len, ret); in do_one() 38 if (memcmp(dstp, srcp, len)) { in do_one() 39 printf("(%p,%p,%ld) miscompare\n", dstp, srcp, len); in do_one() 42 printf("%02x ", srcp[i]); in do_one() 52 dstp, srcp, len); in do_one() 58 dstp, srcp, le in do_one() [all...] |
H A D | exc_validate.c | 60 static void do_one_test(char *dstp, char *srcp, unsigned long len) in do_one_test() argument 64 got = COPY_LOOP(dstp, srcp, len); in do_one_test() 65 expected = test_copy_tofrom_user_reference(dstp, srcp, len); in do_one_test() 70 srcp, dstp, len, got, expected); in do_one_test()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/copyloops/ |
H A D | validate.c | 21 char *srcp, *dstp; in do_one() local 25 srcp = src + MIN_REDZONE + src_off; in do_one() 30 memcpy(srcp, fill, len); in do_one() 32 ret = COPY_LOOP(dstp, srcp, len); in do_one() 34 printf("(%p,%p,%ld) returned %ld\n", dstp, srcp, len, ret); in do_one() 38 if (memcmp(dstp, srcp, len)) { in do_one() 39 printf("(%p,%p,%ld) miscompare\n", dstp, srcp, len); in do_one() 42 printf("%02x ", srcp[i]); in do_one() 52 dstp, srcp, len); in do_one() 58 dstp, srcp, le in do_one() [all...] |
H A D | exc_validate.c | 60 static void do_one_test(char *dstp, char *srcp, unsigned long len) in do_one_test() argument 64 got = COPY_LOOP(dstp, srcp, len); in do_one_test() 65 expected = test_copy_tofrom_user_reference(dstp, srcp, len); in do_one_test() 70 srcp, dstp, len, got, expected); in do_one_test()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | sock_destroy_prog.c | 80 __be16 srcp; in iter_tcp6_server() local 94 srcp = inet->inet_sport; in iter_tcp6_server() 97 if (srcp == serv_port) in iter_tcp6_server() 132 __be16 srcp; in iter_udp6_server() local 138 srcp = inet->inet_sport; in iter_udp6_server() 139 if (srcp == serv_port) in iter_udp6_server()
|
H A D | bpf_iter_tcp4.c | 82 __u16 destp, srcp; in dump_tcp_sock() local 96 srcp = bpf_ntohs(inet->inet_sport); in dump_tcp_sock() 124 seq_num, src, srcp, dest, destp); in dump_tcp_sock() 151 __u16 destp, srcp; in dump_tw_sock() local 159 srcp = bpf_ntohs(tw->tw_sport); in dump_tw_sock() 162 seq_num, src, srcp, dest, destp); in dump_tw_sock()
|
H A D | bpf_iter_udp6.c | 39 __u16 srcp, destp; in dump_udp6() local 55 srcp = bpf_ntohs(inet->inet_sport); in dump_udp6() 64 src->s6_addr32[2], src->s6_addr32[3], srcp, in dump_udp6()
|
H A D | bpf_iter_udp4.c | 30 __u16 srcp, destp; in dump_udp4() local 53 srcp = bpf_ntohs(inet->inet_sport); in dump_udp4() 58 ctx->bucket, src, srcp, dest, destp); in dump_udp4()
|
H A D | bpf_iter_tcp6.c | 83 __u16 destp, srcp; in dump_tcp6_sock() local 96 srcp = bpf_ntohs(inet->inet_sport); in dump_tcp6_sock() 126 src->s6_addr32[2], src->s6_addr32[3], srcp, in dump_tcp6_sock() 157 __u16 destp, srcp; in dump_tw_sock() local 164 srcp = bpf_ntohs(tw->tw_sport); in dump_tw_sock() 169 src->s6_addr32[2], src->s6_addr32[3], srcp, in dump_tw_sock()
|
/kernel/linux/linux-5.10/sound/synth/emux/ |
H A D | emux_effect.c | 168 unsigned char *srcp, *origp; in snd_emux_send_effect() local 200 srcp = (unsigned char*)&vp->reg.parm + offset; in snd_emux_send_effect() 203 *srcp = *origp; in snd_emux_send_effect() 204 effect_set_byte(srcp, chan, type); in snd_emux_send_effect() 206 *(unsigned short*)srcp = *(unsigned short*)origp; in snd_emux_send_effect() 207 effect_set_word((unsigned short*)srcp, chan, type); in snd_emux_send_effect() 223 unsigned char *srcp; in snd_emux_setup_effect() local 241 srcp = (unsigned char*)&vp->reg.parm + offset; in snd_emux_setup_effect() 243 effect_set_byte(srcp, chan, i); in snd_emux_setup_effect() 245 effect_set_word((unsigned short*)srcp, cha in snd_emux_setup_effect() [all...] |
/kernel/linux/linux-6.6/sound/synth/emux/ |
H A D | emux_effect.c | 168 unsigned char *srcp, *origp; in snd_emux_send_effect() local 203 srcp = (unsigned char*)&vp->reg.parm + offset; in snd_emux_send_effect() 206 *srcp = *origp; in snd_emux_send_effect() 207 effect_set_byte(srcp, chan, type); in snd_emux_send_effect() 209 *(unsigned short*)srcp = *(unsigned short*)origp; in snd_emux_send_effect() 210 effect_set_word((unsigned short*)srcp, chan, type); in snd_emux_send_effect() 226 unsigned char *srcp; in snd_emux_setup_effect() local 248 srcp = (unsigned char*)&vp->reg.parm + offset; in snd_emux_setup_effect() 250 effect_set_byte(srcp, chan, i); in snd_emux_setup_effect() 252 effect_set_word((unsigned short*)srcp, cha in snd_emux_setup_effect() [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | nodemask.c | 6 unsigned int __next_node_in(int node, const nodemask_t *srcp) in __next_node_in() argument 8 unsigned int ret = __next_node(node, srcp); in __next_node_in() 11 ret = __first_node(srcp); in __next_node_in()
|
H A D | cpumask.c | 13 * @srcp: the cpumask pointer 17 unsigned int cpumask_next(int n, const struct cpumask *srcp) in cpumask_next() argument 22 return find_next_bit(cpumask_bits(srcp), nr_cpumask_bits, n + 1); in cpumask_next()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_tcp4.c | 83 __u16 destp, srcp; in dump_tcp_sock() local 97 srcp = bpf_ntohs(inet->inet_sport); in dump_tcp_sock() 125 seq_num, src, srcp, dest, destp); in dump_tcp_sock() 152 __u16 destp, srcp; in dump_tw_sock() local 160 srcp = bpf_ntohs(tw->tw_sport); in dump_tw_sock() 163 seq_num, src, srcp, dest, destp); in dump_tw_sock()
|
H A D | bpf_iter_udp6.c | 40 __u16 srcp, destp; in dump_udp6() local 56 srcp = bpf_ntohs(inet->inet_sport); in dump_udp6() 65 src->s6_addr32[2], src->s6_addr32[3], srcp, in dump_udp6()
|
H A D | bpf_iter_udp4.c | 31 __u16 srcp, destp; in dump_udp4() local 54 srcp = bpf_ntohs(inet->inet_sport); in dump_udp4() 59 ctx->bucket, src, srcp, dest, destp); in dump_udp4()
|
H A D | bpf_iter_tcp6.c | 84 __u16 destp, srcp; in dump_tcp6_sock() local 97 srcp = bpf_ntohs(inet->inet_sport); in dump_tcp6_sock() 127 src->s6_addr32[2], src->s6_addr32[3], srcp, in dump_tcp6_sock() 158 __u16 destp, srcp; in dump_tw_sock() local 165 srcp = bpf_ntohs(tw->tw_sport); in dump_tw_sock() 170 src->s6_addr32[2], src->s6_addr32[3], srcp, in dump_tw_sock()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | transp_v6.h | 48 __u16 srcp, __u16 destp, int rqueue, int bucket); 50 ip6_dgram_sock_seq_show(struct seq_file *seq, struct sock *sp, __u16 srcp, in ip6_dgram_sock_seq_show() argument 53 __ip6_dgram_sock_seq_show(seq, sp, srcp, destp, sk_rmem_alloc_get(sp), in ip6_dgram_sock_seq_show()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | transp_v6.h | 48 __u16 srcp, __u16 destp, int rqueue, int bucket); 50 ip6_dgram_sock_seq_show(struct seq_file *seq, struct sock *sp, __u16 srcp, in ip6_dgram_sock_seq_show() argument 53 __ip6_dgram_sock_seq_show(seq, sp, srcp, destp, sk_rmem_alloc_get(sp), in ip6_dgram_sock_seq_show()
|