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

12

/freebsd-10.3-release/sys/ddb/
H A Ddb_sym.h81 #define db_find_sym_and_offset(val,namep,offp) \
82 db_symbol_values(db_search_symbol(val,DB_STGY_ANY,offp),namep,0)
85 #define db_find_xtrn_sym_and_offset(val,namep,offp) \
86 db_symbol_values(db_search_symbol(val,DB_STGY_XTRN,offp),namep,0)
H A Ddb_sym.c367 db_search_symbol(db_addr_t val, db_strategy_t strategy, db_expr_t *offp) argument
384 *offp = diff;
/freebsd-10.3-release/sys/netinet6/
H A Droute6.c59 route6_input(struct mbuf **mp, int *offp, int proto) argument
64 int off = *offp, rhlen;
109 *offp += rhlen;
H A Ddest6.c62 dest6_input(struct mbuf **mp, int *offp, int proto) argument
65 int off = *offp, dstoptlen, optlen;
117 *offp = off;
H A Din6_gif.c150 in6_gif_input(struct mbuf **mp, int *offp, int proto) argument
168 m_adj(m, *offp);
H A Dfrag6.c155 frag6_input(struct mbuf **mp, int *offp, int proto) argument
165 int offset = *offp, nxt, i, next;
232 *offp = offset;
602 *offp = offset;
H A Draw_ip6.c159 rip6_input(struct mbuf **mp, int *offp, int proto) argument
209 if (in6_cksum(m, proto, *offp,
210 m->m_pkthdr.len - *offp)) {
281 m_adj(n, *offp);
315 m_adj(m, *offp);
332 char *prvnxtp = ip6_get_prevhdr(m, *offp); /* XXX */
H A Dsctp6_usrreq.c66 sctp6_input_with_port(struct mbuf **i_pak, int *offp, uint16_t port) argument
86 iphlen = *offp;
186 sctp6_input(struct mbuf **i_pak, int *offp, int proto SCTP_UNUSED) argument
188 return (sctp6_input_with_port(i_pak, offp, 0));
/freebsd-10.3-release/lib/libc/tests/stdio/
H A Dgetdelim_test.c51 size_t *offp = cookie; local
57 if (len > sizeof(apothegm) - *offp)
58 len = sizeof(apothegm) - *offp;
59 memcpy(buf, apothegm + *offp, len);
60 *offp += len;
67 size_t *offp; local
69 offp = malloc(sizeof(*offp)); /* XXX leak */
70 *offp = 0;
71 return (fropen(offp, _reade
[all...]
/freebsd-10.3-release/sys/netipsec/
H A Dipsec6.h65 extern int ipsec6_common_input(struct mbuf **mp, int *offp, int proto);
H A Dxform.h112 extern int ip4_input6(struct mbuf **m, int *offp, int proto);
H A Dipsec_input.c549 ipsec6_common_input(struct mbuf **mp, int *offp, int proto) argument
555 if (*offp < sizeof(struct ip6_hdr)) {
556 DPRINTF(("%s: bad offset %u\n", __func__, *offp));
558 } else if (*offp == sizeof(struct ip6_hdr)) {
574 } while (protoff + l < *offp);
577 if (protoff + l != *offp) {
579 "l %u, off %u\n", __func__, protoff, l, *offp));
587 (void) ipsec_common_input(*mp, *offp, protoff, AF_INET6, proto);
H A Dxform_ipip.c114 ip4_input6(struct mbuf **m, int *offp, int proto) argument
125 _ipip_input(*m, *offp, NULL);
/freebsd-10.3-release/sys/kern/
H A Duipc_mbuf2.c87 * if offp == NULL, the target will start at <retval, 0> on resulting chain.
88 * if offp != NULL, the target will start at <retval, *offp> on resulting chain.
95 m_pulldown(struct mbuf *m, int off, int len, int *offp) argument
164 if ((off == 0 || offp) && len <= n->m_len - off && writable)
211 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen
218 if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen
264 if (offp)
265 *offp = off;
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa_history.c339 spa_history_get(spa_t *spa, uint64_t *offp, uint64_t *len, char *buf) argument
360 if (*offp == 0 && spa_writeable(spa))
378 if (*offp < shpp->sh_pool_create_len) {
380 phys_read_off = *offp;
388 *offp = MAX(*offp, shpp->sh_bof);
389 phys_read_off = spa_history_log_to_phys(*offp, shpp);
409 *offp += read_len + leftover;
H A Ddmu_diff.c184 struct vnode *vp, offset_t *offp)
186 struct file *fp, offset_t *offp)
231 da.da_offp = offp;
182 dmu_diff(const char *tosnap_name, const char *fromsnap_name, struct vnode *vp, offset_t *offp) argument
/freebsd-10.3-release/sys/netpfil/pf/
H A Dif_pfsync.c678 int i, offp; local
681 mp = m_pulldown(m, offset, len, &offp);
686 clr = (struct pfsync_clr *)(mp->m_data + offp);
720 int i, offp; local
722 mp = m_pulldown(m, offset, len, &offp);
727 sa = (struct pfsync_state *)(mp->m_data + offp);
760 int offp, i; local
762 mp = m_pulldown(m, offset, len, &offp);
767 iaa = (struct pfsync_ins_ack *)(mp->m_data + offp);
835 int offp, local
924 int offp, i; local
1012 int i, offp; local
1054 int offp, i; local
1085 int offp, i; local
1117 int offp; local
1180 int offp; local
[all...]
/freebsd-10.3-release/sys/boot/i386/zfsboot/
H A Dzfsboot.c153 zfs_read(spa_t *spa, const dnode_phys_t *dnode, off_t *offp, void *start, size_t size) argument
160 if (*offp + n > zp->zp_size)
161 n = zp->zp_size - *offp;
163 rc = dnode_read(spa, dnode, *offp, start, n);
166 *offp += n;
212 xfsread(const dnode_phys_t *dnode, off_t *offp, void *buf, size_t nbyte) argument
214 if ((size_t)zfs_read(spa, dnode, offp, buf, nbyte) != nbyte) {
/freebsd-10.3-release/sys/netinet/
H A Dip_encap.c204 encap6_input(struct mbuf **mp, int *offp, int proto) argument
233 prio = (*ep->func)(m, *offp, proto, ep->arg);
258 return (*psw->pr_input)(mp, offp, proto);
266 return rip6_input(mp, offp, proto);
H A Din_gif.c148 in_gif_input(struct mbuf **mp, int *offp, int proto) argument
166 m_adj(m, *offp);
/freebsd-10.3-release/contrib/nvi/regex/
H A Dengine.c77 const RCHAR_T *offp; /* offsets work from here */ member in struct:match
183 m->offp = string;
276 pmatch[0].rm_so = m->coldp - m->offp;
277 pmatch[0].rm_eo = endp - m->offp;
469 m->pmatch[i].rm_so = sp - m->offp;
474 m->pmatch[i].rm_eo = sp - m->offp;
615 ssp = m->offp + m->pmatch[i].rm_so;
670 m->pmatch[i].rm_so = sp - m->offp;
681 m->pmatch[i].rm_eo = sp - m->offp;
/freebsd-10.3-release/lib/libc/regex/
H A Dengine.c85 const char *offp; /* offsets work from here */ member in struct:match
235 m->offp = string;
342 pmatch[0].rm_so = m->coldp - m->offp;
343 pmatch[0].rm_eo = endp - m->offp;
534 m->pmatch[i].rm_so = sp - m->offp;
539 m->pmatch[i].rm_eo = sp - m->offp;
683 ssp = m->offp + m->pmatch[i].rm_so;
735 m->pmatch[i].rm_so = sp - m->offp;
745 m->pmatch[i].rm_eo = sp - m->offp;
/freebsd-10.3-release/contrib/llvm/lib/Support/
H A Dregengine.inc75 const char *offp; /* offsets work from here */
173 m->offp = string;
269 pmatch[0].rm_so = m->coldp - m->offp;
270 pmatch[0].rm_eo = endp - m->offp;
462 m->pmatch[i].rm_so = sp - m->offp;
467 m->pmatch[i].rm_eo = sp - m->offp;
595 ssp = m->offp + m->pmatch[i].rm_so;
650 m->pmatch[i].rm_so = sp - m->offp;
661 m->pmatch[i].rm_eo = sp - m->offp;
/freebsd-10.3-release/sys/net/
H A Dif_gre.c679 gre_input(struct mbuf **mp, int *offp, int proto) argument
697 hlen = *offp + sizeof(struct grehdr) + 4 * sizeof(uint32_t);
705 gh = (struct grehdr *)mtodo(m, *offp);
715 if (in_cksum_skip(m, m->m_pkthdr.len, *offp) != 0)
764 m_adj(m, *offp + hlen);
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddmu.h870 uint64_t *id, uint64_t *offp, boolean_t *case_conflict);
874 uint64_t *idp, uint64_t *offp);
940 struct file *fp, offset_t *offp);

Completed in 383 milliseconds

12