/linux-6.1.9/net/netrom/ |
D | nr_subr.c | 123 unsigned char *dptr; in nr_write_internal() local 152 dptr = skb_put(skb, skb_tailroom(skb)); in nr_write_internal() 157 *dptr++ = nr->my_index; in nr_write_internal() 158 *dptr++ = nr->my_id; in nr_write_internal() 159 *dptr++ = 0; in nr_write_internal() 160 *dptr++ = 0; in nr_write_internal() 161 *dptr++ = frametype; in nr_write_internal() 162 *dptr++ = nr->window; in nr_write_internal() 163 memcpy(dptr, &nr->user_addr, AX25_ADDR_LEN); in nr_write_internal() 164 dptr[6] &= ~AX25_CBIT; in nr_write_internal() [all …]
|
D | nr_out.c | 188 unsigned char *dptr; in nr_transmit_buffer() local 193 dptr = skb_push(skb, NR_NETWORK_LEN); in nr_transmit_buffer() 195 memcpy(dptr, &nr->source_addr, AX25_ADDR_LEN); in nr_transmit_buffer() 196 dptr[6] &= ~AX25_CBIT; in nr_transmit_buffer() 197 dptr[6] &= ~AX25_EBIT; in nr_transmit_buffer() 198 dptr[6] |= AX25_SSSID_SPARE; in nr_transmit_buffer() 199 dptr += AX25_ADDR_LEN; in nr_transmit_buffer() 201 memcpy(dptr, &nr->dest_addr, AX25_ADDR_LEN); in nr_transmit_buffer() 202 dptr[6] &= ~AX25_CBIT; in nr_transmit_buffer() 203 dptr[6] |= AX25_EBIT; in nr_transmit_buffer() [all …]
|
/linux-6.1.9/net/netfilter/ |
D | nf_conntrack_sip.c | 66 static int string_len(const struct nf_conn *ct, const char *dptr, in string_len() argument 71 while (dptr < limit && isalpha(*dptr)) { in string_len() 72 dptr++; in string_len() 78 static int digits_len(const struct nf_conn *ct, const char *dptr, in digits_len() argument 82 while (dptr < limit && isdigit(*dptr)) { in digits_len() 83 dptr++; in digits_len() 100 static int word_len(const char *dptr, const char *limit) in word_len() argument 103 while (dptr < limit && iswordc(*dptr)) { in word_len() 104 dptr++; in word_len() 110 static int callid_len(const struct nf_conn *ct, const char *dptr, in callid_len() argument [all …]
|
D | nf_nat_sip.c | 36 const char **dptr, unsigned int *datalen, in mangle_packet() argument 65 *dptr = skb->data + dataoff; in mangle_packet() 94 const char **dptr, unsigned int *datalen, in map_addr() argument 123 return mangle_packet(skb, protoff, dataoff, dptr, datalen, in map_addr() 129 const char **dptr, unsigned int *datalen, in map_sip_addr() argument 138 if (ct_sip_parse_header_uri(ct, *dptr, NULL, *datalen, type, NULL, in map_sip_addr() 141 return map_addr(skb, protoff, dataoff, dptr, datalen, in map_sip_addr() 147 const char **dptr, unsigned int *datalen) in nf_nat_sip() argument 160 if (strncasecmp(*dptr, "SIP/2.0", strlen("SIP/2.0")) != 0) { in nf_nat_sip() 161 if (ct_sip_parse_request(ct, *dptr, *datalen, in nf_nat_sip() [all …]
|
/linux-6.1.9/lib/raid6/ |
D | avx2.c | 36 u8 **dptr = (u8 **)ptrs; in raid6_avx21_gen_syndrome() local 41 p = dptr[z0+1]; /* XOR parity */ in raid6_avx21_gen_syndrome() 42 q = dptr[z0+2]; /* RS syndrome */ in raid6_avx21_gen_syndrome() 50 asm volatile("prefetchnta %0" : : "m" (dptr[z0][d])); in raid6_avx21_gen_syndrome() 51 asm volatile("vmovdqa %0,%%ymm2" : : "m" (dptr[z0][d]));/* P[0] */ in raid6_avx21_gen_syndrome() 52 asm volatile("prefetchnta %0" : : "m" (dptr[z0-1][d])); in raid6_avx21_gen_syndrome() 54 asm volatile("vmovdqa %0,%%ymm6" : : "m" (dptr[z0-1][d])); in raid6_avx21_gen_syndrome() 56 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_avx21_gen_syndrome() 63 asm volatile("vmovdqa %0,%%ymm6" : : "m" (dptr[z][d])); in raid6_avx21_gen_syndrome() 85 u8 **dptr = (u8 **)ptrs; in raid6_avx21_xor_syndrome() local [all …]
|
D | sse2.c | 38 u8 **dptr = (u8 **)ptrs; in raid6_sse21_gen_syndrome() local 43 p = dptr[z0+1]; /* XOR parity */ in raid6_sse21_gen_syndrome() 44 q = dptr[z0+2]; /* RS syndrome */ in raid6_sse21_gen_syndrome() 52 asm volatile("prefetchnta %0" : : "m" (dptr[z0][d])); in raid6_sse21_gen_syndrome() 53 asm volatile("movdqa %0,%%xmm2" : : "m" (dptr[z0][d])); /* P[0] */ in raid6_sse21_gen_syndrome() 54 asm volatile("prefetchnta %0" : : "m" (dptr[z0-1][d])); in raid6_sse21_gen_syndrome() 56 asm volatile("movdqa %0,%%xmm6" : : "m" (dptr[z0-1][d])); in raid6_sse21_gen_syndrome() 58 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_sse21_gen_syndrome() 66 asm volatile("movdqa %0,%%xmm6" : : "m" (dptr[z][d])); in raid6_sse21_gen_syndrome() 90 u8 **dptr = (u8 **)ptrs; in raid6_sse21_xor_syndrome() local [all …]
|
D | avx512.c | 46 u8 **dptr = (u8 **)ptrs; in raid6_avx5121_gen_syndrome() local 51 p = dptr[z0+1]; /* XOR parity */ in raid6_avx5121_gen_syndrome() 52 q = dptr[z0+2]; /* RS syndrome */ in raid6_avx5121_gen_syndrome() 68 : "m" (dptr[z0][d]), "m" (dptr[z0-1][d])); in raid6_avx5121_gen_syndrome() 80 : "m" (dptr[z][d])); in raid6_avx5121_gen_syndrome() 104 u8 **dptr = (u8 **)ptrs; in raid6_avx5121_xor_syndrome() local 109 p = dptr[disks-2]; /* XOR parity */ in raid6_avx5121_xor_syndrome() 110 q = dptr[disks-1]; /* RS syndrome */ in raid6_avx5121_xor_syndrome() 122 : "m" (dptr[z0][d]), "m" (p[d])); in raid6_avx5121_xor_syndrome() 135 : "m" (dptr[z][d])); in raid6_avx5121_xor_syndrome() [all …]
|
D | sse1.c | 42 u8 **dptr = (u8 **)ptrs; in raid6_sse11_gen_syndrome() local 47 p = dptr[z0+1]; /* XOR parity */ in raid6_sse11_gen_syndrome() 48 q = dptr[z0+2]; /* RS syndrome */ in raid6_sse11_gen_syndrome() 56 asm volatile("prefetchnta %0" : : "m" (dptr[z0][d])); in raid6_sse11_gen_syndrome() 57 asm volatile("movq %0,%%mm2" : : "m" (dptr[z0][d])); /* P[0] */ in raid6_sse11_gen_syndrome() 58 asm volatile("prefetchnta %0" : : "m" (dptr[z0-1][d])); in raid6_sse11_gen_syndrome() 60 asm volatile("movq %0,%%mm6" : : "m" (dptr[z0-1][d])); in raid6_sse11_gen_syndrome() 62 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_sse11_gen_syndrome() 70 asm volatile("movq %0,%%mm6" : : "m" (dptr[z][d])); in raid6_sse11_gen_syndrome() 101 u8 **dptr = (u8 **)ptrs; in raid6_sse12_gen_syndrome() local [all …]
|
D | mmx.c | 37 u8 **dptr = (u8 **)ptrs; in raid6_mmx1_gen_syndrome() local 42 p = dptr[z0+1]; /* XOR parity */ in raid6_mmx1_gen_syndrome() 43 q = dptr[z0+2]; /* RS syndrome */ in raid6_mmx1_gen_syndrome() 51 asm volatile("movq %0,%%mm2" : : "m" (dptr[z0][d])); /* P[0] */ in raid6_mmx1_gen_syndrome() 54 asm volatile("movq %0,%%mm6" : : "m" (dptr[z][d])); in raid6_mmx1_gen_syndrome() 85 u8 **dptr = (u8 **)ptrs; in raid6_mmx2_gen_syndrome() local 90 p = dptr[z0+1]; /* XOR parity */ in raid6_mmx2_gen_syndrome() 91 q = dptr[z0+2]; /* RS syndrome */ in raid6_mmx2_gen_syndrome() 100 asm volatile("movq %0,%%mm2" : : "m" (dptr[z0][d])); /* P[0] */ in raid6_mmx2_gen_syndrome() 101 asm volatile("movq %0,%%mm3" : : "m" (dptr[z0][d+8])); in raid6_mmx2_gen_syndrome() [all …]
|
D | s390vx.uc | 86 u8 **dptr, *p, *q; 92 dptr = (u8 **) ptrs; 94 p = dptr[z0 + 1]; /* XOR parity */ 95 q = dptr[z0 + 2]; /* RS syndrome */ 98 LOAD_DATA(0,&dptr[z0][d]); 105 LOAD_DATA(16,&dptr[z][d]); 119 u8 **dptr, *p, *q; 122 dptr = (u8 **) ptrs; 124 p = dptr[disks - 2]; /* XOR parity */ 125 q = dptr[disks - 1]; /* RS syndrome */ [all …]
|
D | int.uc | 84 u8 **dptr = (u8 **)ptrs; 91 p = dptr[z0+1]; /* XOR parity */ 92 q = dptr[z0+2]; /* RS syndrome */ 95 wq$$ = wp$$ = *(unative_t *)&dptr[z0][d+$$*NSIZE]; 97 wd$$ = *(unative_t *)&dptr[z][d+$$*NSIZE]; 113 u8 **dptr = (u8 **)ptrs; 120 p = dptr[disks-2]; /* XOR parity */ 121 q = dptr[disks-1]; /* RS syndrome */ 125 wq$$ = wp$$ = *(unative_t *)&dptr[z0][d+$$*NSIZE]; 127 wd$$ = *(unative_t *)&dptr[z][d+$$*NSIZE];
|
D | neon.uc | 58 uint8_t **dptr = (uint8_t **)ptrs; 66 p = dptr[z0+1]; /* XOR parity */ 67 q = dptr[z0+2]; /* RS syndrome */ 70 wq$$ = wp$$ = vld1q_u8(&dptr[z0][d+$$*NSIZE]); 72 wd$$ = vld1q_u8(&dptr[z][d+$$*NSIZE]); 89 uint8_t **dptr = (uint8_t **)ptrs; 97 p = dptr[disks-2]; /* XOR parity */ 98 q = dptr[disks-1]; /* RS syndrome */ 101 wq$$ = vld1q_u8(&dptr[z0][d+$$*NSIZE]); 106 wd$$ = vld1q_u8(&dptr[z][d+$$*NSIZE]);
|
D | vpermxor.uc | 46 u8 **dptr = (u8 **)ptrs; 52 p = dptr[z0+1]; /* XOR parity */ 53 q = dptr[z0+2]; /* RS syndrome */ 56 wp$$ = wq$$ = *(unative_t *)&dptr[z0][d+$$*NSIZE]; 59 wd$$ = *(unative_t *)&dptr[z][d+$$*NSIZE];
|
/linux-6.1.9/net/lapb/ |
D | lapb_subr.c | 225 unsigned char *dptr; in lapb_send_control() local 234 dptr = skb_put(skb, 1); in lapb_send_control() 235 *dptr = frametype; in lapb_send_control() 236 *dptr |= poll_bit ? LAPB_SPF : 0; in lapb_send_control() 238 dptr = skb_put(skb, 2); in lapb_send_control() 239 dptr[0] = frametype; in lapb_send_control() 240 dptr[1] = (lapb->vr << 1); in lapb_send_control() 241 dptr[1] |= poll_bit ? LAPB_EPF : 0; in lapb_send_control() 244 dptr = skb_put(skb, 1); in lapb_send_control() 245 *dptr = frametype; in lapb_send_control() [all …]
|
/linux-6.1.9/net/rose/ |
D | rose_link.c | 179 unsigned char *dptr; in rose_transmit_restart_request() local 189 dptr = skb_put(skb, ROSE_MIN_LEN + 3); in rose_transmit_restart_request() 191 *dptr++ = AX25_P_ROSE; in rose_transmit_restart_request() 192 *dptr++ = ROSE_GFI; in rose_transmit_restart_request() 193 *dptr++ = 0x00; in rose_transmit_restart_request() 194 *dptr++ = ROSE_RESTART_REQUEST; in rose_transmit_restart_request() 195 *dptr++ = ROSE_DTE_ORIGINATED; in rose_transmit_restart_request() 196 *dptr++ = 0; in rose_transmit_restart_request() 208 unsigned char *dptr; in rose_transmit_restart_confirmation() local 218 dptr = skb_put(skb, ROSE_MIN_LEN + 1); in rose_transmit_restart_confirmation() [all …]
|
D | rose_subr.c | 103 unsigned char *dptr; in rose_write_internal() local 133 dptr = skb_put(skb, len); in rose_write_internal() 140 *dptr++ = ROSE_GFI | lci1; in rose_write_internal() 141 *dptr++ = lci2; in rose_write_internal() 142 *dptr++ = frametype; in rose_write_internal() 143 *dptr++ = ROSE_CALL_REQ_ADDR_LEN_VAL; in rose_write_internal() 144 memcpy(dptr, &rose->dest_addr, ROSE_ADDR_LEN); in rose_write_internal() 145 dptr += ROSE_ADDR_LEN; in rose_write_internal() 146 memcpy(dptr, &rose->source_addr, ROSE_ADDR_LEN); in rose_write_internal() 147 dptr += ROSE_ADDR_LEN; in rose_write_internal() [all …]
|
/linux-6.1.9/net/x25/ |
D | x25_subr.c | 113 unsigned char *dptr; in x25_write_internal() local 163 dptr = skb_put(skb, 2); in x25_write_internal() 169 *dptr++ = lci1 | X25_GFI_EXTSEQ; in x25_write_internal() 170 *dptr++ = lci2; in x25_write_internal() 172 *dptr++ = lci1 | X25_GFI_STDSEQ; in x25_write_internal() 173 *dptr++ = lci2; in x25_write_internal() 182 dptr = skb_put(skb, 1); in x25_write_internal() 183 *dptr++ = X25_CALL_REQUEST; in x25_write_internal() 198 dptr = skb_put(skb, 2); in x25_write_internal() 199 *dptr++ = X25_CALL_ACCEPTED; in x25_write_internal() [all …]
|
D | x25_link.c | 134 unsigned char *dptr; in x25_transmit_restart_request() local 143 dptr = skb_put(skb, X25_STD_MIN_LEN + 2); in x25_transmit_restart_request() 145 *dptr++ = nb->extended ? X25_GFI_EXTSEQ : X25_GFI_STDSEQ; in x25_transmit_restart_request() 146 *dptr++ = 0x00; in x25_transmit_restart_request() 147 *dptr++ = X25_RESTART_REQUEST; in x25_transmit_restart_request() 148 *dptr++ = 0x00; in x25_transmit_restart_request() 149 *dptr++ = 0; in x25_transmit_restart_request() 161 unsigned char *dptr; in x25_transmit_restart_confirmation() local 170 dptr = skb_put(skb, X25_STD_MIN_LEN); in x25_transmit_restart_confirmation() 172 *dptr++ = nb->extended ? X25_GFI_EXTSEQ : X25_GFI_STDSEQ; in x25_transmit_restart_confirmation() [all …]
|
/linux-6.1.9/include/linux/netfilter/ |
D | nf_conntrack_sip.h | 45 const char **dptr, unsigned int *datalen, 49 const char **dptr, unsigned int *datalen, 69 const char *dptr, const char *limit, 114 const char **dptr, 123 const char **dptr, 132 const char **dptr, 142 const char **dptr, 151 const char **dptr, 159 const char **dptr, 169 int ct_sip_parse_request(const struct nf_conn *ct, const char *dptr, [all …]
|
/linux-6.1.9/net/ax25/ |
D | ax25_subr.c | 150 unsigned char *dptr; in ax25_send_control() local 161 dptr = skb_put(skb, 1); in ax25_send_control() 162 *dptr = frametype; in ax25_send_control() 163 *dptr |= (poll_bit) ? AX25_PF : 0; in ax25_send_control() 165 *dptr |= (ax25->vr << 5); in ax25_send_control() 168 dptr = skb_put(skb, 1); in ax25_send_control() 169 *dptr = frametype; in ax25_send_control() 170 *dptr |= (poll_bit) ? AX25_PF : 0; in ax25_send_control() 172 dptr = skb_put(skb, 2); in ax25_send_control() 173 dptr[0] = frametype; in ax25_send_control() [all …]
|
/linux-6.1.9/net/netfilter/ipvs/ |
D | ip_vs_pe_sip.c | 30 static int get_callid(const char *dptr, unsigned int dataoff, in get_callid() argument 36 int ret = ct_sip_get_header(NULL, dptr, dataoff, datalen, in get_callid() 56 if (*(dptr + *matchoff + *matchlen) != '\r' && in get_callid() 57 *(dptr + *matchoff + *matchlen) != '\n') in get_callid() 61 IP_VS_DEBUG_CALLID(dptr + *matchoff, *matchlen), in get_callid() 71 const char *dptr; in ip_vs_sip_fill_param() local 89 dptr = skb->data + dataoff; in ip_vs_sip_fill_param() 92 if (get_callid(dptr, 0, datalen, &matchoff, &matchlen)) in ip_vs_sip_fill_param() 98 p->pe_data = kmemdup(dptr + matchoff, matchlen, GFP_ATOMIC); in ip_vs_sip_fill_param()
|
/linux-6.1.9/lib/ |
D | earlycpio.c | 64 const char *p, *dptr, *nptr; in find_cpio_data() local 111 dptr = PTR_ALIGN(p + ch[C_NAMESIZE], 4); in find_cpio_data() 112 nptr = PTR_ALIGN(dptr + ch[C_FILESIZE], 4); in find_cpio_data() 114 if (nptr > p + len || dptr < p || nptr < dptr) in find_cpio_data() 131 cd.data = (void *)dptr; in find_cpio_data()
|
/linux-6.1.9/net/ipv4/ |
D | ip_options.c | 80 unsigned char *sptr, *dptr; in __ip_options_echo() local 90 dptr = dopt->__data; in __ip_options_echo() 96 memcpy(dptr, sptr+sopt->rr, optlen); in __ip_options_echo() 100 dptr[2] = soffset + 4; in __ip_options_echo() 103 dptr += optlen; in __ip_options_echo() 110 memcpy(dptr, sptr+sopt->ts, optlen); in __ip_options_echo() 121 if ((dptr[3]&0xF) != IPOPT_TS_PRESPEC) { in __ip_options_echo() 130 memcpy(&addr, dptr+soffset-1, 4); in __ip_options_echo() 138 dptr[2] = soffset; in __ip_options_echo() 140 dptr += optlen; in __ip_options_echo() [all …]
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | atom.c | 591 int dptr = *ptr; in atom_op_add() local 598 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_add() 605 int dptr = *ptr; in atom_op_and() local 612 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_and() 640 int dptr = *ptr; in atom_op_clear() local 645 atom_put_dst(ctx, arg, attr, &dptr, 0, saved); in atom_op_clear() 753 int dptr = *ptr; in atom_op_mask() local 763 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_mask() 770 int dptr = *ptr; in atom_op_move() local 780 atom_put_dst(ctx, arg, attr, &dptr, src, saved); in atom_op_move() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | atom.c | 589 int dptr = *ptr; in atom_op_add() local 596 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_add() 603 int dptr = *ptr; in atom_op_and() local 610 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_and() 638 int dptr = *ptr; in atom_op_clear() local 643 atom_put_dst(ctx, arg, attr, &dptr, 0, saved); in atom_op_clear() 773 int dptr = *ptr; in atom_op_mask() local 783 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_mask() 790 int dptr = *ptr; in atom_op_move() local 800 atom_put_dst(ctx, arg, attr, &dptr, src, saved); in atom_op_move() [all …]
|