Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/cifs/
Dasn1.c412 unsigned long *optr; in asn1_oid_decode() local
424 optr = *oid; in asn1_oid_decode()
433 optr[0] = 0; in asn1_oid_decode()
434 optr[1] = subid; in asn1_oid_decode()
436 optr[0] = 1; in asn1_oid_decode()
437 optr[1] = subid - 40; in asn1_oid_decode()
439 optr[0] = 2; in asn1_oid_decode()
440 optr[1] = subid - 80; in asn1_oid_decode()
444 optr += 2; in asn1_oid_decode()
454 if (!asn1_subid_decode(ctx, optr++)) { in asn1_oid_decode()
/kernel/linux/linux-5.10/net/l2tp/
Dl2tp_core.h259 unsigned char *ptr, unsigned char *optr, u16 hdrflags,
324 unsigned char **ptr, unsigned char **optr) in l2tp_v3_ensure_opt_in_linear() argument
329 int off = *ptr - *optr; in l2tp_v3_ensure_opt_in_linear()
334 if (skb->data != *optr) { in l2tp_v3_ensure_opt_in_linear()
335 *optr = skb->data; in l2tp_v3_ensure_opt_in_linear()
Dl2tp_core.c643 unsigned char *ptr, unsigned char *optr, u16 hdrflags, in l2tp_recv_common() argument
739 offset = ptr - optr; in l2tp_recv_common()
799 unsigned char *ptr, *optr; in l2tp_udp_recv_core() local
818 optr = skb->data; in l2tp_udp_recv_core()
872 l2tp_v3_ensure_opt_in_linear(session, skb, &ptr, &optr)) { in l2tp_udp_recv_core()
877 l2tp_recv_common(session, skb, ptr, optr, hdrflags, length); in l2tp_udp_recv_core()
934 __be16 *optr = buf; in l2tp_build_l2tpv2_header() local
954 return bufp - optr; in l2tp_build_l2tpv2_header()
961 char *optr = bufp; in l2tp_build_l2tpv3_header() local
994 return bufp - optr; in l2tp_build_l2tpv3_header()
Dl2tp_ip.c117 unsigned char *ptr, *optr; in l2tp_ip_recv() local
126 optr = skb->data; in l2tp_ip_recv()
149 if (l2tp_v3_ensure_opt_in_linear(session, skb, &ptr, &optr)) in l2tp_ip_recv()
152 l2tp_recv_common(session, skb, ptr, optr, 0, skb->len); in l2tp_ip_recv()
Dl2tp_ip6.c130 unsigned char *ptr, *optr; in l2tp_ip6_recv() local
139 optr = skb->data; in l2tp_ip6_recv()
162 if (l2tp_v3_ensure_opt_in_linear(session, skb, &ptr, &optr)) in l2tp_ip6_recv()
165 l2tp_recv_common(session, skb, ptr, optr, 0, skb->len); in l2tp_ip6_recv()
/kernel/linux/linux-5.10/drivers/net/ppp/
Dppp_async.c58 unsigned char *optr; member
177 ap->optr = ap->obuf; in ppp_asynctty_open()
539 ap->optr = buf; in ppp_async_encode()
669 if (!tty_stuffed && ap->optr < ap->olim) { in ppp_async_push()
670 avail = ap->olim - ap->optr; in ppp_async_push()
672 sent = tty->ops->write(tty, ap->optr, avail); in ppp_async_push()
675 ap->optr += sent; in ppp_async_push()
680 if (ap->optr >= ap->olim && ap->tpkt) { in ppp_async_push()
717 ap->optr = ap->olim; in ppp_async_push()
733 ap->optr = ap->olim; in ppp_async_flush_output()
/kernel/linux/linux-5.10/net/batman-adv/
Dtvlv.h28 void (*optr)(struct batadv_priv *bat_priv,
Dtvlv.c513 void (*optr)(struct batadv_priv *bat_priv, in batadv_tvlv_handler_register()
541 tvlv_handler->ogm_handler = optr; in batadv_tvlv_handler_register()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
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()
Dqla_mbx.c115 __le16 __iomem *optr; in qla2x00_mailbox_command() local
217 optr = &reg->isp82.mailbox_in[0]; in qla2x00_mailbox_command()
219 optr = &reg->isp24.mailbox0; in qla2x00_mailbox_command()
221 optr = MAILBOX_REG(ha, &reg->isp, 0); in qla2x00_mailbox_command()
231 optr = MAILBOX_REG(ha, &reg->isp, 8); in qla2x00_mailbox_command()
235 wrt_reg_word(optr, *iptr); in qla2x00_mailbox_command()
237 wrt_reg_word(optr, 0); in qla2x00_mailbox_command()
241 optr++; in qla2x00_mailbox_command()
246 "I/O Address = %p.\n", optr); in qla2x00_mailbox_command()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_btree.c3196 int optr; /* old key/record index */ in xfs_btree_insrec() local
3225 optr = ptr; in xfs_btree_insrec()
3258 &optr, &ptr, &nptr, &ncur, lkey, stat); in xfs_btree_insrec()
3349 } else if (xfs_btree_needs_key_update(cur, optr)) { in xfs_btree_insrec()
/kernel/linux/linux-5.10/drivers/scsi/
Dqla1280.c2426 uint16_t *optr, *iptr; in qla1280_mailbox_command() local
2487 optr = mb; in qla1280_mailbox_command()
2490 memcpy(optr, iptr, MAILBOX_REGISTER_COUNT * sizeof(uint16_t)); in qla1280_mailbox_command()