Home
last modified time | relevance | path

Searched refs:optr (Results 1 – 10 of 10) sorted by relevance

/linux/net/l2tp/
H A Dl2tp_core.h255 unsigned char *ptr, unsigned char *optr, u16 hdrflags,
318 unsigned char **ptr, unsigned char **optr) in l2tp_v3_ensure_opt_in_linear() argument
323 int off = *ptr - *optr; in l2tp_v3_ensure_opt_in_linear()
328 if (skb->data != *optr) { in l2tp_v3_ensure_opt_in_linear()
329 *optr = skb->data; in l2tp_v3_ensure_opt_in_linear()
H A Dl2tp_core.c865 unsigned char *ptr, unsigned char *optr, u16 hdrflags, in l2tp_recv_common() argument
963 offset = ptr - optr; in l2tp_recv_common()
1020 unsigned char *ptr, *optr; in l2tp_udp_encap_recv() local
1035 optr = skb->data; in l2tp_udp_encap_recv()
1093 l2tp_v3_ensure_opt_in_linear(session, skb, &ptr, &optr)) { in l2tp_udp_encap_recv()
1098 l2tp_recv_common(session, skb, ptr, optr, hdrflags, length); in l2tp_udp_encap_recv()
1142 __be16 *optr = buf; in l2tp_build_l2tpv2_header() local
1162 return bufp - optr; in l2tp_build_l2tpv2_header()
1169 char *optr = bufp; in l2tp_build_l2tpv3_header() local
1202 return bufp - optr; in l2tp_build_l2tpv3_header()
H A Dl2tp_ip.c132 unsigned char *ptr, *optr; in l2tp_ip_recv() local
143 optr = skb->data; in l2tp_ip_recv()
166 if (l2tp_v3_ensure_opt_in_linear(session, skb, &ptr, &optr)) in l2tp_ip_recv()
169 l2tp_recv_common(session, skb, ptr, optr, 0, skb->len); in l2tp_ip_recv()
H A Dl2tp_ip6.c142 unsigned char *ptr, *optr; in l2tp_ip6_recv() local
153 optr = skb->data; in l2tp_ip6_recv()
176 if (l2tp_v3_ensure_opt_in_linear(session, skb, &ptr, &optr)) in l2tp_ip6_recv()
179 l2tp_recv_common(session, skb, ptr, optr, 0, skb->len); in l2tp_ip6_recv()
/linux/drivers/net/ppp/
H A Dppp_async.c58 unsigned char *optr; member
178 ap->optr = ap->obuf; in ppp_asynctty_open()
533 ap->optr = buf; in ppp_async_encode()
663 if (!tty_stuffed && ap->optr < ap->olim) { in ppp_async_push()
664 avail = ap->olim - ap->optr; in ppp_async_push()
666 sent = tty->ops->write(tty, ap->optr, avail); in ppp_async_push()
669 ap->optr += sent; in ppp_async_push()
674 if (ap->optr >= ap->olim && ap->tpkt) { in ppp_async_push()
711 ap->optr = ap->olim; in ppp_async_push()
727 ap->optr = ap->olim; in ppp_async_flush_output()
/linux/net/batman-adv/
H A Dtvlv.h29 void (*optr)(struct batadv_priv *bat_priv,
H A Dtvlv.c536 void (*optr)(struct batadv_priv *bat_priv, in batadv_tvlv_handler_register()
566 tvlv_handler->ogm_handler = optr; in batadv_tvlv_handler_register()
/linux/drivers/scsi/qla2xxx/
H A Dqla_mr.c48 __le32 __iomem *optr; in qlafx00_mailbox_command() local
111 optr = &reg->ispfx00.mailbox0; in qlafx00_mailbox_command()
119 wrt_reg_dword(optr, *iptr); in qlafx00_mailbox_command()
122 optr++; in qlafx00_mailbox_command()
H A Dqla_mbx.c115 __le16 __iomem *optr; in qla2x00_mailbox_command() local
222 optr = &reg->isp82.mailbox_in[0]; in qla2x00_mailbox_command()
224 optr = &reg->isp24.mailbox0; in qla2x00_mailbox_command()
226 optr = MAILBOX_REG(ha, &reg->isp, 0); in qla2x00_mailbox_command()
236 optr = MAILBOX_REG(ha, &reg->isp, 8); in qla2x00_mailbox_command()
240 wrt_reg_word(optr, *iptr); in qla2x00_mailbox_command()
242 wrt_reg_word(optr, 0); in qla2x00_mailbox_command()
246 optr++; in qla2x00_mailbox_command()
251 "I/O Address = %p.\n", optr); in qla2x00_mailbox_command()
/linux/drivers/scsi/
H A Dqla1280.c2418 uint16_t *optr, *iptr; in qla1280_mailbox_command() local
2479 optr = mb; in qla1280_mailbox_command()
2481 memcpy(optr, iptr, MAILBOX_REGISTER_COUNT * sizeof(uint16_t)); in qla1280_mailbox_command()