| /linux/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 += 8 * OPSIZ; in _wordcopy_fwd_aligned() [all …]
|
| /linux/rust/helpers/ |
| H A D | cpumask.c | 30 bool rust_helper_cpumask_test_cpu(int cpu, struct cpumask *srcp) in rust_helper_cpumask_setall() 32 return cpumask_test_cpu(cpu, srcp); in rust_helper_cpumask_setall() 42 bool rust_helper_cpumask_empty(struct cpumask *srcp) in rust_helper_cpumask_full() 44 return cpumask_empty(srcp); 48 bool rust_helper_cpumask_full(struct cpumask *srcp) in rust_helper_cpumask_weight() 50 return cpumask_full(srcp); in rust_helper_cpumask_copy() argument 54 unsigned int rust_helper_cpumask_weight(struct cpumask *srcp) 56 return cpumask_weight(srcp); in rust_helper_alloc_cpumask_var() 60 void rust_helper_cpumask_copy(struct cpumask *dstp, const struct cpumask *srcp) in rust_helper_zalloc_cpumask_var() 62 cpumask_copy(dstp, srcp); in rust_helper_zalloc_cpumask_var() 25 rust_helper_cpumask_test_cpu(int cpu,struct cpumask * srcp) rust_helper_cpumask_test_cpu() argument 35 rust_helper_cpumask_empty(struct cpumask * srcp) rust_helper_cpumask_empty() argument 40 rust_helper_cpumask_full(struct cpumask * srcp) rust_helper_cpumask_full() argument 45 rust_helper_cpumask_weight(struct cpumask * srcp) rust_helper_cpumask_weight() argument [all...] |
| /linux/fs/smb/client/compress/ |
| H A D | lz77.c | 134 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 + LZ77_STEP_SIZE < end)); in lz77_compress() [all …]
|
| /linux/tools/testing/selftests/powerpc/copyloops/ |
| H A D | validate.c | 25 char *srcp, *dstp; in do_one() local 29 srcp = src + MIN_REDZONE + src_off; in do_one() 34 memcpy(srcp, fill, len); in do_one() 36 ret = COPY_LOOP(dstp, srcp, len); in do_one() 38 printf("(%p,%p,%ld) returned %ld\n", dstp, srcp, len, ret); in do_one() 42 if (memcmp(dstp, srcp, len)) { in do_one() 43 printf("(%p,%p,%ld) miscompare\n", dstp, srcp, len); in do_one() 46 printf("%02x ", srcp[i]); in do_one() 56 dstp, srcp, len); in do_one() 62 dstp, srcp, len); in do_one()
|
| 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()
|
| /linux/include/linux/ |
| H A D | cpumask.h | 155 static __always_inline unsigned int cpumask_first(const struct cpumask *srcp) in cpumask_first() argument 157 return find_first_bit(cpumask_bits(srcp), small_cpumask_bits); in cpumask_first() 166 static __always_inline unsigned int cpumask_first_zero(const struct cpumask *srcp) in cpumask_first_zero() argument 168 return find_first_zero_bit(cpumask_bits(srcp), small_cpumask_bits); in cpumask_first_zero() 220 static __always_inline unsigned int cpumask_last(const struct cpumask *srcp) in cpumask_last() argument 222 return find_last_bit(cpumask_bits(srcp), small_cpumask_bits); in cpumask_last() 233 unsigned int cpumask_next(int n, const struct cpumask *srcp) in cpumask_next() argument 238 return find_next_bit(cpumask_bits(srcp), small_cpumask_bits, n + 1); in cpumask_next() 249 unsigned int cpumask_next_zero(int n, const struct cpumask *srcp) in cpumask_next_zero() argument 254 return find_next_zero_bit(cpumask_bits(srcp), small_cpumask_bits, n+1); in cpumask_next_zero() [all …]
|
| H A D | dmaengine.h | 1438 __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()
|
| H A D | netdevice.h | 4122 static inline unsigned int netif_attrmask_next(int n, const unsigned long *srcp, in netif_attrmask_next() argument 4129 if (srcp) in netif_attrmask_next() 4130 return find_next_bit(srcp, nr_bits, n + 1); in netif_attrmask_next()
|
| /linux/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_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()
|
| /linux/sound/synth/emux/ |
| H A D | emux_effect.c | 168 unsigned char *srcp, *origp; in snd_emux_send_effect() local 202 srcp = (unsigned char *)&vp->reg.parm + offset; in snd_emux_send_effect() 205 *srcp = *origp; in snd_emux_send_effect() 206 effect_set_byte(srcp, chan, type); in snd_emux_send_effect() 208 *(unsigned short *)srcp = *(unsigned short *)origp; in snd_emux_send_effect() 209 effect_set_word((unsigned short *)srcp, chan, type); in snd_emux_send_effect() 225 unsigned char *srcp; in snd_emux_setup_effect() local 247 srcp = (unsigned char*)&vp->reg.parm + offset; in snd_emux_setup_effect() 249 effect_set_byte(srcp, chan, i); in snd_emux_setup_effect() 251 effect_set_word((unsigned short*)srcp, chan, i); in snd_emux_setup_effect()
|
| /linux/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()
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | rpc_rdma.c | 1040 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/drivers/scsi/bnx2i/ |
| H A D | bnx2i_iscsi.c | 1133 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/tools/testing/selftests/arm64/abi/ |
| H A D | hwcap.c | 197 register char *srcp asm ("x1") = src; in mops_sigill() 202 : "+r" (dstp), "+r" (srcp), "+r" (size) in mops_sigill()
|
| /linux/net/ipv6/ |
| H A D | tcp_ipv6.c | 2131 __u16 destp, srcp; local 2145 srcp = ntohs(inet->inet_sport); 2179 src->s6_addr32[2], src->s6_addr32[3], srcp, 2207 __u16 destp, srcp; local 2212 srcp = ntohs(tw->tw_sport); 2219 src->s6_addr32[2], src->s6_addr32[3], srcp,
|
| /linux/drivers/scsi/qedi/ |
| H A D | qedi_fw.c | 1897 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 D | ping.c | 1111 __u16 srcp = ntohs(inet->inet_sport); in ping_v4_format_sock() local 1115 bucket, src, srcp, dest, destp, sp->sk_state, in ping_v4_format_sock()
|
| H A D | tcp_ipv4.c | 2857 __u16 srcp = ntohs(inet->inet_sport); local 2891 i, src, srcp, dest, destp, state, 2915 __u16 destp, srcp; local 2920 srcp = ntohs(tw->tw_sport); 2924 i, src, srcp, dest, destp, READ_ONCE(tw->tw_substate), 0, 0,
|
| H A D | udp.c | 3433 __u16 srcp = ntohs(inet->inet_sport); in udp4_format_sock() local 3437 bucket, src, srcp, dest, destp, sp->sk_state, in udp4_format_sock()
|
| /linux/drivers/net/ethernet/myricom/myri10ge/ |
| H A D | myri10ge.c | 2568 struct mcp_kreq_ether_send *srcp; in myri10ge_submit_req() local 2577 srcp = src; in myri10ge_submit_req() 2581 myri10ge_pio_copy(dstp, srcp, 2 * sizeof(*src)); in myri10ge_submit_req() 2583 srcp += 2; in myri10ge_submit_req() 2594 myri10ge_pio_copy(dstp, srcp, sizeof(*src)); in myri10ge_submit_req()
|
| /linux/drivers/infiniband/hw/cxgb4/ |
| H A D | qp.c | 414 u8 *dstp, *srcp; in build_immd() local 423 srcp = (u8 *)(unsigned long)wr->sg_list[i].addr; in build_immd() 433 memcpy(dstp, srcp, len); in build_immd() 435 srcp += len; in build_immd()
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_sli.c | 240 lpfc_sli4_pcimem_bcopy(void *srcp, void *destp, uint32_t cnt) in lpfc_sli4_pcimem_bcopy() argument 242 uint64_t *src = srcp; in lpfc_sli4_pcimem_bcopy() 12176 lpfc_sli_pcimem_bcopy(void *srcp, void *destp, uint32_t cnt) in lpfc_sli_pcimem_bcopy() argument 12178 uint32_t *src = srcp; in lpfc_sli_pcimem_bcopy() 12204 lpfc_sli_bemem_bcopy(void *srcp, void *destp, uint32_t cnt) in lpfc_sli_bemem_bcopy() argument 12206 uint32_t *src = srcp; in lpfc_sli_bemem_bcopy()
|