Home
last modified time | relevance | path

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

12

/linux/arch/nios2/lib/
H A 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 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...]
/linux/rust/helpers/
H A Dcpumask.c25 bool rust_helper_cpumask_test_cpu(int cpu, struct cpumask *srcp) in rust_helper_cpumask_test_cpu() argument
27 return cpumask_test_cpu(cpu, srcp); in rust_helper_cpumask_test_cpu()
35 bool rust_helper_cpumask_empty(struct cpumask *srcp) in rust_helper_cpumask_empty() argument
37 return cpumask_empty(srcp); in rust_helper_cpumask_empty()
40 bool rust_helper_cpumask_full(struct cpumask *srcp) in rust_helper_cpumask_full() argument
42 return cpumask_full(srcp); in rust_helper_cpumask_full()
45 unsigned int rust_helper_cpumask_weight(struct cpumask *srcp) in rust_helper_cpumask_weight() argument
47 return cpumask_weight(srcp); in rust_helper_cpumask_weight()
50 void rust_helper_cpumask_copy(struct cpumask *dstp, const struct cpumask *srcp) in rust_helper_cpumask_copy() argument
52 cpumask_copy(dstp, srcp); in rust_helper_cpumask_copy()
[all...]
/linux/fs/smb/client/compress/
H A Dlz77.c134 const void *srcp, *end; in lz77_compress() local
140 srcp = src; in lz77_compress()
157 hash = ((lz77_read64(srcp) << 24) * 889523592379ULL) >> (64 - LZ77_HASH_LOG); in lz77_compress()
159 htable[hash] = srcp - src; in lz77_compress()
160 dist = srcp - wnd; in lz77_compress()
163 len = lz77_match_len(wnd, srcp, end); in lz77_compress()
166 lz77_write8(dstp, lz77_read8(srcp)); in lz77_compress()
169 srcp++; in lz77_compress()
193 srcp += len; in lz77_compress()
203 } while (likely(srcp in lz77_compress()
[all...]
/linux/tools/testing/selftests/powerpc/copyloops/
H A 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, le in do_one()
[all...]
H A 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/include/linux/
H A Dcpumask.h148 * @srcp: the cpumask pointer
152 static __always_inline unsigned int cpumask_first(const struct cpumask *srcp) in cpumask_first() argument
154 return find_first_bit(cpumask_bits(srcp), small_cpumask_bits); in cpumask_first()
159 * @srcp: the cpumask pointer
163 static __always_inline unsigned int cpumask_first_zero(const struct cpumask *srcp) in cpumask_first_zero() argument
165 return find_first_zero_bit(cpumask_bits(srcp), small_cpumask_bits); in cpumask_first_zero()
213 * @srcp: - the cpumask pointer
217 static __always_inline unsigned int cpumask_last(const struct cpumask *srcp) in cpumask_last() argument
219 return find_last_bit(cpumask_bits(srcp), small_cpumask_bits); in cpumask_last()
225 * @srcp
230 cpumask_next(int n,const struct cpumask * srcp) cpumask_next() argument
246 cpumask_next_zero(int n,const struct cpumask * srcp) cpumask_next_zero() argument
270 cpumask_any_distribute(const struct cpumask * srcp) cpumask_any_distribute() argument
540 cpumask_nth(unsigned int cpu,const struct cpumask * srcp) cpumask_nth() argument
827 cpumask_empty(const struct cpumask * srcp) cpumask_empty() argument
838 cpumask_full(const struct cpumask * srcp) cpumask_full() argument
849 cpumask_weight(const struct cpumask * srcp) cpumask_weight() argument
888 cpumask_shift_right(struct cpumask * dstp,const struct cpumask * srcp,int n) cpumask_shift_right() argument
901 cpumask_shift_left(struct cpumask * dstp,const struct cpumask * srcp,int n) cpumask_shift_left() argument
913 cpumask_copy(struct cpumask * dstp,const struct cpumask * srcp) cpumask_copy() argument
924 cpumask_any(srcp) global() argument
[all...]
H A Dnodemask.h192 const nodemask_t *srcp, unsigned int nbits) in __nodes_copy() argument
194 bitmap_copy(dstp->bits, srcp->bits, nbits); in __nodes_copy()
200 const nodemask_t *srcp, unsigned int nbits) in __nodes_complement() argument
202 bitmap_complement(dstp->bits, srcp->bits, nbits); in __nodes_complement()
230 static __always_inline bool __nodes_empty(const nodemask_t *srcp, unsigned int nbits) in __nodes_empty() argument
232 return bitmap_empty(srcp->bits, nbits); in __nodes_empty()
236 static __always_inline bool __nodes_full(const nodemask_t *srcp, unsigned int nbits) in __nodes_full() argument
238 return bitmap_full(srcp->bits, nbits); in __nodes_full()
242 static __always_inline int __nodes_weight(const nodemask_t *srcp, unsigned int nbits) in __nodes_weight() argument
244 return bitmap_weight(srcp in __nodes_weight()
251 __first_node(const nodemask_t * srcp) __first_node() argument
257 __next_node(int n,const nodemask_t * srcp) __next_node() argument
267 __next_node_in(int node,const nodemask_t * srcp) __next_node_in() argument
350 __nodes_remap(nodemask_t * dstp,const nodemask_t * srcp,const nodemask_t * oldp,const nodemask_t * newp,int nbits) __nodes_remap() argument
[all...]
H A Ddmaengine.h1438 __dma_has_cap(enum dma_transaction_type tx_type, dma_cap_mask_t *srcp) in __dma_has_cap() argument
1440 return test_bit(tx_type, srcp->bits); in __dma_has_cap()
/linux/tools/testing/selftests/bpf/progs/
H A Dsock_destroy_prog.c80 __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 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()
H A 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()
H A 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()
H A 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/sound/synth/emux/
H A 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, cha in snd_emux_setup_effect()
[all...]
/linux/include/net/
H A Dtransp_v6.h48 __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()
/linux/tools/testing/selftests/arm64/abi/
H A Dhwcap.c182 register char *srcp asm ("x1") = src; in mops_sigill()
187 : "+r" (dstp), "+r" (srcp), "+r" (size) in mops_sigill()
/linux/drivers/scsi/bnx2i/
H A 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/fs/bcachefs/
H A Dutil.c695 void *srcp = kmap_local_page(bv.bv_page); in memcpy_from_bio() local
697 memcpy(dst, srcp + bv.bv_offset, bv.bv_len); in memcpy_from_bio()
698 kunmap_local(srcp); in memcpy_from_bio()
/linux/drivers/scsi/qedi/
H A 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/net/ipv4/
H A Draw.c1038 srcp = inet->inet_num; in raw_sock_seq_show() local
1042 i, src, srcp, dest, destp, sp->sk_state, in raw_sock_seq_show()
H A Dtcp_ipv4.c2922 __u16 srcp = ntohs(inet->inet_sport); local
2956 i, src, srcp, dest, destp, state,
2980 __u16 destp, srcp; local
2985 srcp = ntohs(tw->tw_sport);
2989 i, src, srcp, dest, destp, READ_ONCE(tw->tw_substate), 0, 0,
/linux/net/ipv6/
H A Ddatagram.c1049 __u16 srcp, __u16 destp, int rqueue, int bucket) in __ip6_dgram_sock_seq_show() argument
1060 src->s6_addr32[2], src->s6_addr32[3], srcp, in __ip6_dgram_sock_seq_show()
H A Draw.c1228 __u16 srcp = inet_sk(sp)->inet_num; in raw6_seq_show() local
1229 ip6_dgram_sock_seq_show(seq, v, srcp, 0, in raw6_seq_show()
/linux/drivers/net/ethernet/myricom/myri10ge/
H A 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/drivers/infiniband/hw/cxgb4/
H A 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