Home
last modified time | relevance | path

Searched refs:dptr (Results 1 – 25 of 39) sorted by relevance

12

/linux-3.4.99/net/netrom/
Dnr_subr.c126 unsigned char *dptr; in nr_write_internal() local
155 dptr = skb_put(skb, skb_tailroom(skb)); in nr_write_internal()
160 *dptr++ = nr->my_index; in nr_write_internal()
161 *dptr++ = nr->my_id; in nr_write_internal()
162 *dptr++ = 0; in nr_write_internal()
163 *dptr++ = 0; in nr_write_internal()
164 *dptr++ = frametype; in nr_write_internal()
165 *dptr++ = nr->window; in nr_write_internal()
166 memcpy(dptr, &nr->user_addr, AX25_ADDR_LEN); in nr_write_internal()
167 dptr[6] &= ~AX25_CBIT; in nr_write_internal()
[all …]
Dnr_out.c191 unsigned char *dptr; in nr_transmit_buffer() local
196 dptr = skb_push(skb, NR_NETWORK_LEN); in nr_transmit_buffer()
198 memcpy(dptr, &nr->source_addr, AX25_ADDR_LEN); in nr_transmit_buffer()
199 dptr[6] &= ~AX25_CBIT; in nr_transmit_buffer()
200 dptr[6] &= ~AX25_EBIT; in nr_transmit_buffer()
201 dptr[6] |= AX25_SSSID_SPARE; in nr_transmit_buffer()
202 dptr += AX25_ADDR_LEN; in nr_transmit_buffer()
204 memcpy(dptr, &nr->dest_addr, AX25_ADDR_LEN); in nr_transmit_buffer()
205 dptr[6] &= ~AX25_CBIT; in nr_transmit_buffer()
206 dptr[6] |= AX25_EBIT; in nr_transmit_buffer()
[all …]
/linux-3.4.99/net/netfilter/
Dnf_conntrack_sip.c56 const char **dptr,
65 const char **dptr,
73 const char **dptr,
83 const char **dptr,
92 const char **dptr,
100 const char **dptr,
110 static int string_len(const struct nf_conn *ct, const char *dptr, in string_len() argument
115 while (dptr < limit && isalpha(*dptr)) { in string_len()
116 dptr++; in string_len()
122 static int digits_len(const struct nf_conn *ct, const char *dptr, in digits_len() argument
[all …]
/linux-3.4.99/lib/raid6/
Dsse2.c45 u8 **dptr = (u8 **)ptrs; in raid6_sse21_gen_syndrome() local
50 p = dptr[z0+1]; /* XOR parity */ in raid6_sse21_gen_syndrome()
51 q = dptr[z0+2]; /* RS syndrome */ in raid6_sse21_gen_syndrome()
59 asm volatile("prefetchnta %0" : : "m" (dptr[z0][d])); in raid6_sse21_gen_syndrome()
60 asm volatile("movdqa %0,%%xmm2" : : "m" (dptr[z0][d])); /* P[0] */ in raid6_sse21_gen_syndrome()
61 asm volatile("prefetchnta %0" : : "m" (dptr[z0-1][d])); in raid6_sse21_gen_syndrome()
63 asm volatile("movdqa %0,%%xmm6" : : "m" (dptr[z0-1][d])); in raid6_sse21_gen_syndrome()
65 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_sse21_gen_syndrome()
73 asm volatile("movdqa %0,%%xmm6" : : "m" (dptr[z][d])); in raid6_sse21_gen_syndrome()
105 u8 **dptr = (u8 **)ptrs; in raid6_sse22_gen_syndrome() local
[all …]
Dsse1.c47 u8 **dptr = (u8 **)ptrs; in raid6_sse11_gen_syndrome() local
52 p = dptr[z0+1]; /* XOR parity */ in raid6_sse11_gen_syndrome()
53 q = dptr[z0+2]; /* RS syndrome */ in raid6_sse11_gen_syndrome()
61 asm volatile("prefetchnta %0" : : "m" (dptr[z0][d])); in raid6_sse11_gen_syndrome()
62 asm volatile("movq %0,%%mm2" : : "m" (dptr[z0][d])); /* P[0] */ in raid6_sse11_gen_syndrome()
63 asm volatile("prefetchnta %0" : : "m" (dptr[z0-1][d])); in raid6_sse11_gen_syndrome()
65 asm volatile("movq %0,%%mm6" : : "m" (dptr[z0-1][d])); in raid6_sse11_gen_syndrome()
67 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_sse11_gen_syndrome()
75 asm volatile("movq %0,%%mm6" : : "m" (dptr[z][d])); in raid6_sse11_gen_syndrome()
105 u8 **dptr = (u8 **)ptrs; in raid6_sse12_gen_syndrome() local
[all …]
Dmmx.c42 u8 **dptr = (u8 **)ptrs; in raid6_mmx1_gen_syndrome() local
47 p = dptr[z0+1]; /* XOR parity */ in raid6_mmx1_gen_syndrome()
48 q = dptr[z0+2]; /* RS syndrome */ in raid6_mmx1_gen_syndrome()
56 asm volatile("movq %0,%%mm2" : : "m" (dptr[z0][d])); /* P[0] */ in raid6_mmx1_gen_syndrome()
59 asm volatile("movq %0,%%mm6" : : "m" (dptr[z][d])); in raid6_mmx1_gen_syndrome()
89 u8 **dptr = (u8 **)ptrs; in raid6_mmx2_gen_syndrome() local
94 p = dptr[z0+1]; /* XOR parity */ in raid6_mmx2_gen_syndrome()
95 q = dptr[z0+2]; /* RS syndrome */ in raid6_mmx2_gen_syndrome()
104 asm volatile("movq %0,%%mm2" : : "m" (dptr[z0][d])); /* P[0] */ in raid6_mmx2_gen_syndrome()
105 asm volatile("movq %0,%%mm3" : : "m" (dptr[z0][d+8])); in raid6_mmx2_gen_syndrome()
[all …]
Dint.uc84 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];
Daltivec.uc73 u8 **dptr = (u8 **)ptrs;
81 p = dptr[z0+1]; /* XOR parity */
82 q = dptr[z0+2]; /* RS syndrome */
85 wq$$ = wp$$ = *(unative_t *)&dptr[z0][d+$$*NSIZE];
87 wd$$ = *(unative_t *)&dptr[z][d+$$*NSIZE];
/linux-3.4.99/firmware/keyspan_pda/
Dxircom_pgs.S233 mov dptr, #tx_ring
235 movx @dptr, a
236 inc dptr
240 mov dptr, #rx_ring
242 movx @dptr, a
243 inc dptr
248 mov dptr, PORTBCFG
250 movx @dptr, a
251 mov dptr, PORTCCFG
253 movx @dptr, a
[all …]
Dkeyspan_pda.S231 mov dptr, #tx_ring
233 movx @dptr, a
234 inc dptr
238 mov dptr, #rx_ring
240 movx @dptr, a
241 inc dptr
247 mov dptr,OEB
248 movx @dptr,a
251 mov dptr,OUTB
252 movx @dptr,a
[all …]
/linux-3.4.99/net/x25/
Dx25_subr.c116 unsigned char *dptr; in x25_write_internal() local
166 dptr = skb_put(skb, 2); in x25_write_internal()
172 *dptr++ = lci1 | X25_GFI_EXTSEQ; in x25_write_internal()
173 *dptr++ = lci2; in x25_write_internal()
175 *dptr++ = lci1 | X25_GFI_STDSEQ; in x25_write_internal()
176 *dptr++ = lci2; in x25_write_internal()
185 dptr = skb_put(skb, 1); in x25_write_internal()
186 *dptr++ = X25_CALL_REQUEST; in x25_write_internal()
189 dptr = skb_put(skb, len); in x25_write_internal()
190 memcpy(dptr, addresses, len); in x25_write_internal()
[all …]
Dx25_link.c117 unsigned char *dptr; in x25_transmit_restart_request() local
126 dptr = skb_put(skb, X25_STD_MIN_LEN + 2); in x25_transmit_restart_request()
128 *dptr++ = nb->extended ? X25_GFI_EXTSEQ : X25_GFI_STDSEQ; in x25_transmit_restart_request()
129 *dptr++ = 0x00; in x25_transmit_restart_request()
130 *dptr++ = X25_RESTART_REQUEST; in x25_transmit_restart_request()
131 *dptr++ = 0x00; in x25_transmit_restart_request()
132 *dptr++ = 0; in x25_transmit_restart_request()
144 unsigned char *dptr; in x25_transmit_restart_confirmation() local
153 dptr = skb_put(skb, X25_STD_MIN_LEN); in x25_transmit_restart_confirmation()
155 *dptr++ = nb->extended ? X25_GFI_EXTSEQ : X25_GFI_STDSEQ; in x25_transmit_restart_confirmation()
[all …]
Dx25_dev.c206 unsigned char *dptr; in x25_send_frame() local
212 dptr = skb_push(skb, 1); in x25_send_frame()
213 *dptr = X25_IFACE_DATA; in x25_send_frame()
/linux-3.4.99/net/lapb/
Dlapb_subr.c232 unsigned char *dptr; in lapb_send_control() local
241 dptr = skb_put(skb, 1); in lapb_send_control()
242 *dptr = frametype; in lapb_send_control()
243 *dptr |= poll_bit ? LAPB_SPF : 0; in lapb_send_control()
245 dptr = skb_put(skb, 2); in lapb_send_control()
246 dptr[0] = frametype; in lapb_send_control()
247 dptr[1] = (lapb->vr << 1); in lapb_send_control()
248 dptr[1] |= poll_bit ? LAPB_EPF : 0; in lapb_send_control()
251 dptr = skb_put(skb, 1); in lapb_send_control()
252 *dptr = frametype; in lapb_send_control()
[all …]
/linux-3.4.99/net/rose/
Drose_link.c184 unsigned char *dptr; in rose_transmit_restart_request() local
194 dptr = skb_put(skb, ROSE_MIN_LEN + 3); in rose_transmit_restart_request()
196 *dptr++ = AX25_P_ROSE; in rose_transmit_restart_request()
197 *dptr++ = ROSE_GFI; in rose_transmit_restart_request()
198 *dptr++ = 0x00; in rose_transmit_restart_request()
199 *dptr++ = ROSE_RESTART_REQUEST; in rose_transmit_restart_request()
200 *dptr++ = ROSE_DTE_ORIGINATED; in rose_transmit_restart_request()
201 *dptr++ = 0; in rose_transmit_restart_request()
213 unsigned char *dptr; in rose_transmit_restart_confirmation() local
223 dptr = skb_put(skb, ROSE_MIN_LEN + 1); in rose_transmit_restart_confirmation()
[all …]
Drose_subr.c106 unsigned char *dptr; in rose_write_internal() local
134 dptr = skb_put(skb, skb_tailroom(skb)); in rose_write_internal()
141 *dptr++ = ROSE_GFI | lci1; in rose_write_internal()
142 *dptr++ = lci2; in rose_write_internal()
143 *dptr++ = frametype; in rose_write_internal()
144 *dptr++ = ROSE_CALL_REQ_ADDR_LEN_VAL; in rose_write_internal()
145 memcpy(dptr, &rose->dest_addr, ROSE_ADDR_LEN); in rose_write_internal()
146 dptr += ROSE_ADDR_LEN; in rose_write_internal()
147 memcpy(dptr, &rose->source_addr, ROSE_ADDR_LEN); in rose_write_internal()
148 dptr += ROSE_ADDR_LEN; in rose_write_internal()
[all …]
/linux-3.4.99/include/linux/netfilter/
Dnf_conntrack_sip.h39 const char **dptr, unsigned int *datalen,
42 const char **dptr, unsigned int *datalen,
62 const char *dptr, const char *limit,
107 const char **dptr,
112 const char **dptr,
119 const char **dptr,
127 const char **dptr,
134 const char **dptr,
140 const char **dptr,
149 const char *dptr, unsigned int datalen,
[all …]
/linux-3.4.99/net/ipv4/netfilter/
Dnf_nat_sip.c34 const char **dptr, unsigned int *datalen, in mangle_packet() argument
63 *dptr = skb->data + dataoff; in mangle_packet()
69 const char **dptr, unsigned int *datalen, in map_addr() argument
97 return mangle_packet(skb, dataoff, dptr, datalen, matchoff, matchlen, in map_addr()
102 const char **dptr, unsigned int *datalen, in map_sip_addr() argument
111 if (ct_sip_parse_header_uri(ct, *dptr, NULL, *datalen, type, NULL, in map_sip_addr()
114 return map_addr(skb, dataoff, dptr, datalen, matchoff, matchlen, in map_sip_addr()
119 const char **dptr, unsigned int *datalen) in ip_nat_sip() argument
131 if (strnicmp(*dptr, "SIP/2.0", strlen("SIP/2.0")) != 0) { in ip_nat_sip()
132 if (ct_sip_parse_request(ct, *dptr, *datalen, in ip_nat_sip()
[all …]
/linux-3.4.99/net/ax25/
Dax25_subr.c153 unsigned char *dptr; in ax25_send_control() local
164 dptr = skb_put(skb, 1); in ax25_send_control()
165 *dptr = frametype; in ax25_send_control()
166 *dptr |= (poll_bit) ? AX25_PF : 0; in ax25_send_control()
168 *dptr |= (ax25->vr << 5); in ax25_send_control()
171 dptr = skb_put(skb, 1); in ax25_send_control()
172 *dptr = frametype; in ax25_send_control()
173 *dptr |= (poll_bit) ? AX25_PF : 0; in ax25_send_control()
175 dptr = skb_put(skb, 2); in ax25_send_control()
176 dptr[0] = frametype; in ax25_send_control()
[all …]
/linux-3.4.99/net/netfilter/ipvs/
Dip_vs_pe_sip.c28 static int get_callid(const char *dptr, unsigned int dataoff, in get_callid() argument
34 int ret = ct_sip_get_header(NULL, dptr, dataoff, datalen, in get_callid()
54 if (*(dptr + *matchoff + *matchlen) != '\r' && in get_callid()
55 *(dptr + *matchoff + *matchlen) != '\n') in get_callid()
59 IP_VS_DEBUG_CALLID(dptr + *matchoff, *matchlen), in get_callid()
69 const char *dptr; in ip_vs_sip_fill_param() local
85 dptr = skb->data + dataoff; in ip_vs_sip_fill_param()
88 if (get_callid(dptr, dataoff, datalen, &matchoff, &matchlen)) in ip_vs_sip_fill_param()
94 p->pe_data = kmemdup(dptr + matchoff, matchlen, GFP_ATOMIC); in ip_vs_sip_fill_param()
/linux-3.4.99/net/ipv4/
Dip_options.c92 unsigned char *sptr, *dptr; in ip_options_echo() local
105 dptr = dopt->__data; in ip_options_echo()
113 memcpy(dptr, sptr+sopt->rr, optlen); in ip_options_echo()
117 dptr[2] = soffset + 4; in ip_options_echo()
120 dptr += optlen; in ip_options_echo()
127 memcpy(dptr, sptr+sopt->ts, optlen); in ip_options_echo()
138 if ((dptr[3]&0xF) != IPOPT_TS_PRESPEC) { in ip_options_echo()
147 memcpy(&addr, dptr+soffset-1, 4); in ip_options_echo()
155 dptr[2] = soffset; in ip_options_echo()
157 dptr += optlen; in ip_options_echo()
[all …]
/linux-3.4.99/drivers/gpu/drm/radeon/
Datom.c591 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-3.4.99/drivers/net/wireless/brcm80211/brcmfmac/
Ddhd_sdio.c1137 u8 *dptr, num = 0; in brcmf_sdbrcm_rxglom() local
1159 dptr = bus->glomd->data; in brcmf_sdbrcm_rxglom()
1168 sublen = get_unaligned_le16(dptr); in brcmf_sdbrcm_rxglom()
1170 dptr += sizeof(u16); in brcmf_sdbrcm_rxglom()
1292 dptr = (u8 *) (pfirst->data); in brcmf_sdbrcm_rxglom()
1293 sublen = get_unaligned_le16(dptr); in brcmf_sdbrcm_rxglom()
1294 check = get_unaligned_le16(dptr + sizeof(u16)); in brcmf_sdbrcm_rxglom()
1296 chan = SDPCM_PACKET_CHANNEL(&dptr[SDPCM_FRAMETAG_LEN]); in brcmf_sdbrcm_rxglom()
1297 seq = SDPCM_PACKET_SEQUENCE(&dptr[SDPCM_FRAMETAG_LEN]); in brcmf_sdbrcm_rxglom()
1298 bus->nextlen = dptr[SDPCM_FRAMETAG_LEN + SDPCM_NEXTLEN_OFFSET]; in brcmf_sdbrcm_rxglom()
[all …]
/linux-3.4.99/drivers/crypto/
Dhifn_795x.c933 u32 dptr = dev->desc_dma; in hifn_init_dma() local
937 dma->cmdr[i].p = __cpu_to_le32(dptr + in hifn_init_dma()
940 dma->resr[i].p = __cpu_to_le32(dptr + in hifn_init_dma()
946 dma->cmdr[HIFN_D_CMD_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
948 dma->srcr[HIFN_D_SRC_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
950 dma->dstr[HIFN_D_DST_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
952 dma->resr[HIFN_D_RES_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
1028 u32 dptr = dev->desc_dma; in hifn_init_registers() local
1036 hifn_write_1(dev, HIFN_1_DMA_CRAR, dptr + in hifn_init_registers()
1038 hifn_write_1(dev, HIFN_1_DMA_SRAR, dptr + in hifn_init_registers()
[all …]
/linux-3.4.99/arch/cris/arch-v10/kernel/
Dkgdb.c251 static void copy_registers (registers *dptr, registers *sptr, int n);
508 copy_registers (registers *dptr, registers *sptr, int n) in copy_registers() argument
513 for (dreg = (unsigned char*)dptr, sreg = (unsigned char*)sptr; n > 0; n--) in copy_registers()

12