Home
last modified time | relevance | path

Searched refs:offp (Results 1 – 25 of 42) sorted by relevance

12

/openbsd/sys/ddb/
H A Ddb_sym.h77 #define db_find_sym_and_offset(val,namep,offp) \ argument
78 db_symbol_values(db_search_symbol(val,DB_STGY_ANY,offp),namep,NULL)
81 #define db_find_xtrn_sym_and_offset(val,namep,offp) \ argument
82 db_symbol_values(db_search_symbol(val,DB_STGY_XTRN,offp),namep,NULL)
H A Ddb_sym.c99 db_search_symbol(vaddr_t val, db_strategy_t strategy, db_expr_t *offp) in db_search_symbol() argument
111 *offp = diff; in db_search_symbol()
/openbsd/sys/netinet6/
H A Dip6_input.c178 if (*offp == 0) { in ip6_ours()
206 ion->ion_off = *offp; in ip6_ours()
370 KASSERT(*offp == 0); in ip6_input_if()
439 ip6_check_rh0hdr(m, offp)) { in ip6_input_if()
448 nxt = ip6_ours(mp, offp, nxt, af); in ip6_input_if()
644 *offp = sizeof(struct ip6_hdr); in ip6_hbhchcheck()
731 *offp = off; in ip6_check_rh0hdr()
737 *offp = off; in ip6_check_rh0hdr()
744 *offp = off + in ip6_check_rh0hdr()
795 int off = *offp, hbhlen; in ip6_hopopts_input()
[all …]
H A Droute6.c54 route6_input(struct mbuf **mp, int *offp, int proto, int af) in route6_input() argument
59 int off = *offp, rhlen; in route6_input()
87 *offp += rhlen; in route6_input()
H A Ddest6.c52 dest6_input(struct mbuf **mp, int *offp, int proto, int af) in dest6_input() argument
54 int off = *offp, dstoptlen, optlen; in dest6_input()
96 *offp = off; in dest6_input()
H A Draw_ip6.c135 rip6_input(struct mbuf **mp, int *offp, int proto, int af) in rip6_input() argument
150 IP6_EXTHDR_GET(icmp6, struct icmp6_hdr *, m, *offp, in rip6_input()
223 if (m->m_pkthdr.len < *offp + 2 || in rip6_input()
224 m->m_pkthdr.len - *offp - 2 < inp->inp_cksum6 || in rip6_input()
225 in6_cksum(m, proto, *offp, in rip6_input()
226 m->m_pkthdr.len - *offp)) { in rip6_input()
251 int prvnxt = ip6_get_prevhdr(m, *offp); in rip6_input()
278 m_adj(n, *offp); in rip6_input()
H A Dfrag6.c114 frag6_input(struct mbuf **mp, int *offp, int proto, int af) in frag6_input() argument
121 int offset = *offp, nxt, i, next; in frag6_input()
164 *offp = offset; in frag6_input()
465 *offp = offset; in frag6_input()
/openbsd/sys/dev/pci/drm/i915/display/
H A Dintel_wm.c291 size_t len, loff_t *offp, u16 wm[8]) in wm_latency_write() argument
325 size_t len, loff_t *offp) in pri_wm_latency_write() argument
336 return wm_latency_write(file, ubuf, len, offp, latencies); in pri_wm_latency_write()
340 size_t len, loff_t *offp) in spr_wm_latency_write() argument
351 return wm_latency_write(file, ubuf, len, offp, latencies); in spr_wm_latency_write()
355 size_t len, loff_t *offp) in cur_wm_latency_write() argument
366 return wm_latency_write(file, ubuf, len, offp, latencies); in cur_wm_latency_write()
H A Dintel_display_debugfs.c525 size_t len, loff_t *offp) in crtc_updates_write() argument
803 size_t len, loff_t *offp) in i915_displayport_test_active_write() argument
856 *offp += len; in i915_displayport_test_active_write()
1258 size_t len, loff_t *offp) in i915_dsc_fec_support_write() argument
1282 *offp += len; in i915_dsc_fec_support_write()
1334 size_t len, loff_t *offp) in i915_dsc_bpc_write() argument
1348 *offp += len; in i915_dsc_bpc_write()
1401 size_t len, loff_t *offp) in i915_dsc_output_format_write() argument
1415 *offp += len; in i915_dsc_output_format_write()
/openbsd/sys/netinet/
H A Dipsec_input.c759 return rip_input(mp, offp, proto, af); in ipsec_input_disabled()
762 return rip6_input(mp, offp, proto, af); in ipsec_input_disabled()
770 ah46_input(struct mbuf **mp, int *offp, int proto, int af) in ah46_input() argument
779 return ipsec_input_disabled(mp, offp, proto, af); in ah46_input()
781 protoff = ipsec_protoff(*mp, *offp, af); in ah46_input()
789 return ipsec_common_input(mp, *offp, protoff, af, proto, 0); in ah46_input()
803 esp46_input(struct mbuf **mp, int *offp, int proto, int af) in esp46_input() argument
812 return ipsec_input_disabled(mp, offp, proto, af); in esp46_input()
814 protoff = ipsec_protoff(*mp, *offp, af); in esp46_input()
836 return ipsec_input_disabled(mp, offp, proto, af); in ipcomp46_input()
[all …]
H A Dip_ipip.c104 ipip_input(struct mbuf **mp, int *offp, int nxt, int af) in ipip_input() argument
121 nxt = ipip_input_if(mp, offp, nxt, af, ifp); in ipip_input()
136 ipip_input_if(struct mbuf **mp, int *offp, int proto, int oaf, in ipip_input_if() argument
189 KASSERT(*offp > 0); in ipip_input_if()
190 m_adj(m, *offp); in ipip_input_if()
191 *offp = 0; in ipip_input_if()
323 return ip_input_if(mp, offp, proto, oaf, ifp); in ipip_input_if()
326 return ip6_input_if(mp, offp, proto, oaf, ifp); in ipip_input_if()
H A Dip_input.c240 nxt = ip_fragcheck(mp, offp); in ip_ours()
253 if (*offp != sizeof(struct ip)) { in ip_ours()
266 ion->ion_off = *offp; in ip_ours()
436 KASSERT(*offp == 0); in ip_input_if()
488 nxt = ip_ours(mp, offp, nxt, af); in ip_input_if()
496 nxt = ip_ours(mp, offp, nxt, af); in ip_input_if()
545 nxt = ip_ours(mp, offp, nxt, af); in ip_input_if()
561 nxt = ip_ours(mp, offp, nxt, af); in ip_input_if()
607 ip_fragcheck(struct mbuf **mp, int *offp) in ip_fragcheck() argument
706 *offp = hlen; in ip_fragcheck()
[all …]
H A Digmp.c199 igmp_input(struct mbuf **mp, int *offp, int proto, int af) in igmp_input() argument
212 proto = igmp_input_if(ifp, mp, offp, proto, af); in igmp_input()
219 igmp_input_if(struct ifnet *ifp, struct mbuf **mp, int *offp, int proto, int af) in igmp_input_if() argument
222 int iphlen = *offp; in igmp_input_if()
482 return rip_input(mp, offp, proto, af); in igmp_input_if()
H A Dip_icmp.c308 icmp_input(struct mbuf **mp, int *offp, int proto, int af) in icmp_input() argument
318 proto = icmp_input_if(ifp, mp, offp, proto, af); in icmp_input()
324 icmp_input_if(struct ifnet *ifp, struct mbuf **mp, int *offp, int proto, int af) in icmp_input_if() argument
327 int hlen = *offp; in icmp_input_if()
670 return rip_input(mp, offp, proto, af); in icmp_input_if()
H A Dip_carp.c418 carp_proto_input(struct mbuf **mp, int *offp, int proto, int af) in carp_proto_input() argument
428 proto = carp_proto_input_if(ifp, mp, offp, proto); in carp_proto_input()
439 carp_proto_input_if(struct ifnet *ifp, struct mbuf **mp, int *offp, int proto) in carp_proto_input_if() argument
522 carp6_proto_input(struct mbuf **mp, int *offp, int proto, int af) in carp6_proto_input() argument
532 proto = carp6_proto_input_if(ifp, mp, offp, proto); in carp6_proto_input()
538 carp6_proto_input_if(struct ifnet *ifp, struct mbuf **mp, int *offp, int proto) in carp6_proto_input_if() argument
573 if ((m = *mp = m_pullup(m, *offp + sizeof(*ch))) == NULL) { in carp6_proto_input_if()
578 ch = (struct carp_header *)(mtod(m, caddr_t) + *offp); in carp6_proto_input_if()
581 m->m_data += *offp; in carp6_proto_input_if()
589 m->m_data -= *offp; in carp6_proto_input_if()
/openbsd/sys/kern/
H A Duipc_mbuf2.c87 m_pulldown(struct mbuf *m, int off, int len, int *offp) in m_pulldown() argument
108 if ((off == 0 || offp) && len <= n->m_len - off && !sharedcluster) in m_pulldown()
159 if ((off == 0 || offp) && m_trailingspace(n) >= tlen && in m_pulldown()
166 if ((off == 0 || offp) && m_leadingspace(n->m_next) >= hlen && in m_pulldown()
211 if (offp) in m_pulldown()
212 *offp = off; in m_pulldown()
/openbsd/sys/uvm/
H A Duvm_page.h247 vm_physseg_find(paddr_t pframe, int *offp) in vm_physseg_find() argument
251 if (offp) in vm_physseg_find()
252 *offp = pframe - vm_physmem[0].start; in vm_physseg_find()
H A Duvm_page.c1126 vm_physseg_find(paddr_t pframe, int *offp) in vm_physseg_find() argument
1155 if (offp) in vm_physseg_find()
1156 *offp = pframe - seg->start; in vm_physseg_find()
1176 if (offp) in vm_physseg_find()
1177 *offp = pframe - seg->start; in vm_physseg_find()
/openbsd/lib/libc/regex/
H A Dengine.c75 const char *offp; /* offsets work from here */ member
175 m->offp = string; in matcher()
271 pmatch[0].rm_so = m->coldp - m->offp; in matcher()
272 pmatch[0].rm_eo = endp - m->offp; in matcher()
456 m->pmatch[i].rm_so = sp - m->offp; in dissect()
461 m->pmatch[i].rm_eo = sp - m->offp; in dissect()
516 (sp > m->offp && sp < m->endp && in backref()
533 (sp > m->offp && !ISWORD(*(sp-1))))) in backref()
586 ssp = m->offp + m->pmatch[i].rm_so; in backref()
641 m->pmatch[i].rm_so = sp - m->offp; in backref()
[all …]
/openbsd/sys/net/
H A Dif_gif.c718 in_gif_input(struct mbuf **mp, int *offp, int proto, int af) in in_gif_input() argument
731 rv = gif_input(&key, mp, offp, proto, af, ip->ip_tos); in in_gif_input()
733 rv = ipip_input(mp, offp, proto, af); in in_gif_input()
740 in6_gif_input(struct mbuf **mp, int *offp, int proto, int af) in in6_gif_input() argument
756 rv = gif_input(&key, mp, offp, proto, af, flow >> 20); in in6_gif_input()
758 rv = ipip_input(mp, offp, proto, af); in in6_gif_input()
785 gif_input(struct gif_tunnel *key, struct mbuf **mp, int *offp, int proto, in gif_input() argument
810 m_adj(m, *offp); /* this is ours now */ in gif_input()
H A Dbfd.c763 int offp; in bfd_input() local
765 mp = m_pulldown(m, 0, sizeof(*peer), &offp); in bfd_input()
769 peer = (struct bfd_header *)(mp->m_data + offp); in bfd_input()
779 if (peer->bfd_length + offp > mp->m_len) { in bfd_input()
781 peer->bfd_length + offp, mp->m_len); in bfd_input()
806 mp0 = m_pulldown(mp, 0, sizeof(*auth), &offp); in bfd_input()
809 auth = (struct bfd_auth_header *)(mp0->m_data + offp); in bfd_input()
H A Dif_etherip.c587 ip_etherip_input(struct mbuf **mp, int *offp, int type, int af) in ip_etherip_input() argument
599 return (etherip_input(&key, m, ip->ip_tos, *offp)); in ip_etherip_input()
765 ip6_etherip_input(struct mbuf **mp, int *offp, int proto, int af) in ip6_etherip_input() argument
780 return (etherip_input(&key, m, flow >> 20, *offp)); in ip6_etherip_input()
/openbsd/sys/dev/pci/drm/i915/
H A Di915_debugfs_params.c51 loff_t *offp) in i915_param_int_write() argument
104 loff_t *offp) in i915_param_uint_write() argument
167 loff_t *offp) in i915_param_charp_write() argument
/openbsd/sbin/iked/
H A Dcrypto.c973 _dsa_sign_encode(struct iked_dsa *dsa, uint8_t *ptr, size_t len, size_t *offp) in _dsa_sign_encode() argument
978 if (offp) in _dsa_sign_encode()
979 *offp = 0; in _dsa_sign_encode()
1003 if (offp) in _dsa_sign_encode()
1004 *offp = need; in _dsa_sign_encode()
/openbsd/sys/dev/pci/drm/
H A Ddrm_debugfs_crc.c121 size_t len, loff_t *offp) in crc_control_write() argument
165 *offp += len; in crc_control_write()

12