Home
last modified time | relevance | path

Searched refs:srcp (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v6.1/arch/nios2/lib/
Dmemcpy.c72 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 += 8 * OPSIZ; in _wordcopy_fwd_aligned()
[all …]
/Linux-v6.1/include/linux/
Dcpumask.h127 static inline unsigned int cpumask_first(const struct cpumask *srcp) in cpumask_first() argument
129 return find_first_bit(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_first()
138 static inline unsigned int cpumask_first_zero(const struct cpumask *srcp) in cpumask_first_zero() argument
140 return find_first_zero_bit(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_first_zero()
162 static inline unsigned int cpumask_last(const struct cpumask *srcp) in cpumask_last() argument
164 return find_last_bit(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_last()
175 unsigned int cpumask_next(int n, const struct cpumask *srcp) in cpumask_next() argument
180 return find_next_bit(cpumask_bits(srcp), nr_cpumask_bits, n + 1); in cpumask_next()
190 static inline unsigned int cpumask_next_zero(int n, const struct cpumask *srcp) in cpumask_next_zero() argument
195 return find_next_zero_bit(cpumask_bits(srcp), nr_cpumask_bits, n+1); in cpumask_next_zero()
[all …]
Dnodemask.h197 const nodemask_t *srcp, unsigned int nbits) in __nodes_complement() argument
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() argument
249 bitmap_shift_right(dstp->bits, srcp->bits, n, nbits); in __nodes_shift_right()
[all …]
Ddmaengine.h1402 __dma_has_cap(enum dma_transaction_type tx_type, dma_cap_mask_t *srcp) in __dma_has_cap() argument
1404 return test_bit(tx_type, srcp->bits); in __dma_has_cap()
/Linux-v6.1/tools/testing/selftests/powerpc/copyloops/
Dvalidate.c21 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, len); in do_one()
Dexc_validate.c60 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()
/Linux-v6.1/sound/synth/emux/
Demux_effect.c168 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, chan, i); in snd_emux_setup_effect()
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dbpf_iter_tcp4.c82 __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()
Dbpf_iter_tcp6.c83 __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()
Dbpf_iter_udp4.c30 __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()
Dbpf_iter_udp6.c39 __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()
/Linux-v6.1/include/net/
Dtransp_v6.h50 __u16 srcp, __u16 destp, int rqueue, int bucket);
52 ip6_dgram_sock_seq_show(struct seq_file *seq, struct sock *sp, __u16 srcp, in ip6_dgram_sock_seq_show() argument
55 __ip6_dgram_sock_seq_show(seq, sp, srcp, destp, sk_rmem_alloc_get(sp), in ip6_dgram_sock_seq_show()
/Linux-v6.1/lib/
Dcpumask.c178 unsigned int cpumask_any_distribute(const struct cpumask *srcp) in cpumask_any_distribute() argument
184 next = find_next_bit_wrap(cpumask_bits(srcp), nr_cpumask_bits, prev + 1); in cpumask_any_distribute()
/Linux-v6.1/net/sunrpc/xprtrdma/
Drpc_rdma.c1040 rpcrdma_inline_fixup(struct rpc_rqst *rqst, char *srcp, int copy_len, int pad) in rpcrdma_inline_fixup() argument
1051 rqst->rq_rcv_buf.head[0].iov_base = srcp; in rpcrdma_inline_fixup()
1052 rqst->rq_private_buf.head[0].iov_base = srcp; in rpcrdma_inline_fixup()
1060 srcp += curlen; in rpcrdma_inline_fixup()
1080 memcpy(destp + page_base, srcp, curlen); in rpcrdma_inline_fixup()
1083 srcp += curlen; in rpcrdma_inline_fixup()
1099 srcp -= pad; in rpcrdma_inline_fixup()
1106 rqst->rq_rcv_buf.tail[0].iov_base = srcp; in rpcrdma_inline_fixup()
1107 rqst->rq_private_buf.tail[0].iov_base = srcp; in rpcrdma_inline_fixup()
/Linux-v6.1/net/ipv6/
Dping.c247 __u16 srcp = ntohs(inet->inet_sport); in ping_v6_seq_show() local
249 ip6_dgram_sock_seq_show(seq, v, srcp, destp, bucket); in ping_v6_seq_show()
Dtcp_ipv6.c2000 __u16 destp, srcp; in get_tcp6_sock() local
2013 srcp = ntohs(inet->inet_sport); in get_tcp6_sock()
2046 src->s6_addr32[2], src->s6_addr32[3], srcp, in get_tcp6_sock()
2074 __u16 destp, srcp; in get_timewait6_sock() local
2079 srcp = ntohs(tw->tw_sport); in get_timewait6_sock()
2086 src->s6_addr32[2], src->s6_addr32[3], srcp, in get_timewait6_sock()
Ddatagram.c1043 __u16 srcp, __u16 destp, int rqueue, int bucket) in __ip6_dgram_sock_seq_show() argument
1054 src->s6_addr32[2], src->s6_addr32[3], srcp, in __ip6_dgram_sock_seq_show()
Draw.c1233 __u16 srcp = inet_sk(sp)->inet_num; in raw6_seq_show() local
1234 ip6_dgram_sock_seq_show(seq, v, srcp, 0, in raw6_seq_show()
/Linux-v6.1/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c1133 u8 *srcp; in bnx2i_cpy_scsi_cdb() local
1142 srcp = (u8 *) sc->cmnd; in bnx2i_cpy_scsi_cdb()
1145 memcpy(&dword, (const void *) srcp, 4); in bnx2i_cpy_scsi_cdb()
1147 srcp += 4; in bnx2i_cpy_scsi_cdb()
1151 dword = (u32) srcp[0] | ((u32) srcp[1] << 8); in bnx2i_cpy_scsi_cdb()
/Linux-v6.1/drivers/scsi/qedi/
Dqedi_fw.c1897 u8 *srcp; in qedi_cpy_scsi_cdb() local
1900 srcp = (u8 *)sc->cmnd; in qedi_cpy_scsi_cdb()
1902 memcpy(&dword, (const void *)srcp, 4); in qedi_cpy_scsi_cdb()
1904 srcp += 4; in qedi_cpy_scsi_cdb()
1908 dword = (u32)srcp[0] | ((u32)srcp[1] << 8); in qedi_cpy_scsi_cdb()
/Linux-v6.1/net/ipv4/
Draw.c1022 srcp = inet->inet_num; in raw_sock_seq_show() local
1026 i, src, srcp, dest, destp, sp->sk_state, in raw_sock_seq_show()
Dping.c1137 __u16 srcp = ntohs(inet->inet_sport); in ping_v4_format_sock() local
1141 bucket, src, srcp, dest, destp, sp->sk_state, in ping_v4_format_sock()
Dtcp_ipv4.c2603 __u16 srcp = ntohs(inet->inet_sport); in get_tcp4_sock() local
2635 i, src, srcp, dest, destp, state, in get_tcp4_sock()
2659 __u16 destp, srcp; in get_timewait4_sock() local
2664 srcp = ntohs(tw->tw_sport); in get_timewait4_sock()
2668 i, src, srcp, dest, destp, tw->tw_substate, 0, 0, in get_timewait4_sock()
/Linux-v6.1/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c2545 struct mcp_kreq_ether_send *srcp; in myri10ge_submit_req() local
2554 srcp = src; in myri10ge_submit_req()
2558 myri10ge_pio_copy(dstp, srcp, 2 * sizeof(*src)); in myri10ge_submit_req()
2560 srcp += 2; in myri10ge_submit_req()
2571 myri10ge_pio_copy(dstp, srcp, sizeof(*src)); in myri10ge_submit_req()
/Linux-v6.1/drivers/infiniband/hw/cxgb4/
Dqp.c417 u8 *dstp, *srcp; in build_immd() local
426 srcp = (u8 *)(unsigned long)wr->sg_list[i].addr; in build_immd()
436 memcpy(dstp, srcp, len); in build_immd()
438 srcp += len; in build_immd()

12