Searched defs:offp (Results 1 - 25 of 45) sorted by relevance

12

/freebsd-head/sys/netinet6/
H A Ddest6.c65 dest6_input(struct mbuf **mp, int *offp, int proto) argument
73 off = *offp;
127 *offp = off;
H A Droute6.c62 route6_input(struct mbuf **mp, int *offp, int proto) argument
67 int off = *offp, rhlen;
115 *offp += rhlen;
H A Draw_ip6.c159 rip6_input(struct mbuf **mp, int *offp, int proto) argument
211 m_adj(n, *offp);
242 if (m->m_pkthdr.len - (*offp + inp->in6p_cksum) < 2 ||
243 in6_cksum(m, proto, *offp,
244 m->m_pkthdr.len - *offp)) {
323 m_adj(m, *offp);
342 ip6_get_prevhdr(m, *offp));
H A Dsctp6_usrreq.c61 sctp6_input_with_port(struct mbuf **i_pak, int *offp, uint16_t port) argument
77 iphlen = *offp;
168 sctp6_input(struct mbuf **i_pak, int *offp, int proto SCTP_UNUSED) argument
170 return (sctp6_input_with_port(i_pak, offp, 0));
H A Dfrag6.c360 frag6_input(struct mbuf **mp, int *offp, int proto) argument
383 offset = *offp;
871 *offp = offset;
H A Dip6_input.c947 struct mbuf **mp, int *offp)
950 int off = *offp, hbhlen;
982 *offp = off;
946 ip6_hopopts_input(u_int32_t *plenp, u_int32_t *rtalertp, struct mbuf **mp, int *offp) argument
/freebsd-head/lib/libc/tests/stdio/
H A Dgetdelim_test.c50 size_t *offp = cookie; local
56 if (len > sizeof(apothegm) - *offp)
57 len = sizeof(apothegm) - *offp;
58 memcpy(buf, apothegm + *offp, len);
59 *offp += len;
66 size_t *offp; local
68 offp = malloc(sizeof(*offp)); /* XXX leak */
69 *offp = 0;
70 return (fropen(offp, _reade
[all...]
/freebsd-head/sys/kern/
H A Duipc_mbuf2.c89 * if offp == NULL, the target will start at <retval, 0> on resulting chain.
90 * if offp != NULL, the target will start at <retval, *offp> on resulting chain.
97 m_pulldown(struct mbuf *m, int off, int len, int *offp) argument
104 KASSERT(m != NULL, ("%s: fix caller: m is NULL off %d len %d offp %p\n",
105 __func__, off, len, offp));
164 if ((off == 0 || offp) && len <= n->m_len - off)
211 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen
218 if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen
264 if (offp)
[all...]
/freebsd-head/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_file_os.c239 * offp - value to seek to, returns current value plus passed offset
245 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) argument
249 if (*offp < 0 || *offp > MAXOFFSET_T)
252 rc = vfs_llseek(fp, *offp, whence);
256 *offp = rc;
/freebsd-head/sys/netinet/
H A Dip_encap.c369 encap4_input(struct mbuf **mp, int *offp, int proto) argument
372 if (encap_input(&ipv4_encaptab, *mp, *offp, proto) != IPPROTO_DONE)
373 return (rip_input(mp, offp, proto));
408 encap6_input(struct mbuf **mp, int *offp, int proto) argument
411 if (encap_input(&ipv6_encaptab, *mp, *offp, proto) != IPPROTO_DONE)
412 return (rip6_input(mp, offp, proto));
H A Dip_divert.c175 div_input(struct mbuf **mp, int *offp, int proto) argument
H A Draw_ip.c280 rip_input(struct mbuf **mp, int *offp, int proto) argument
H A Dip_icmp.c403 icmp_input(struct mbuf **mp, int *offp, int proto) argument
410 int hlen = *offp;
411 int icmplen = ntohs(ip->ip_len) - *offp;
745 rip_input(mp, offp, proto);
H A Dip_input.c1398 rsvp_input(struct mbuf **mp, int *offp, int proto) argument
1407 rsvp_input_p(mp, offp, proto);
1423 rip_input(mp, offp, proto);
H A Dtcp_input.c570 tcp6_input(struct mbuf **mp, int *offp, int proto) argument
577 if (m->m_len < *offp + sizeof(struct tcphdr)) {
578 m = m_pullup(m, *offp + sizeof(struct tcphdr));
603 return (tcp_input(mp, offp, proto));
608 tcp_input(struct mbuf **mp, int *offp, int proto) argument
653 off0 = *offp;
/freebsd-head/sys/contrib/openzfs/module/zfs/
H A Ddmu_diff.c168 zfs_file_t *fp, offset_t *offp)
212 da.da_offp = offp;
167 dmu_diff(const char *tosnap_name, const char *fromsnap_name, zfs_file_t *fp, offset_t *offp) argument
H A Dspa_history.c411 spa_history_get(spa_t *spa, uint64_t *offp, uint64_t *len, char *buf) argument
432 if (*offp == 0 && spa_writeable(spa))
450 if (*offp < shpp->sh_pool_create_len) {
452 phys_read_off = *offp;
460 *offp = MAX(*offp, shpp->sh_bof);
461 phys_read_off = spa_history_log_to_phys(*offp, shpp);
481 *offp += read_len + leftover;
/freebsd-head/sys/fs/ext2fs/
H A Dext2_bmap.c341 ext2_bmap_seekdata(struct vnode *vp, off_t *offp) argument
361 if (*offp < 0 || *offp >= ip->i_size)
365 for (bn = *offp / bsize, numblks = howmany(ip->i_size, bsize);
425 if (error == 0 && *offp < bn * bsize)
426 *offp = bn * bsize;
H A Dext2_lookup.c723 doff_t *offp, doff_t *prevoffp, doff_t *endusefulp,
747 ext2_dirbad(ip, *offp, "mangled entry");
749 *offp += i;
770 ssp->slotoffset = *offp;
775 ssp->slotoffset = *offp;
778 ssp->slotsize = *offp +
801 *prevoffp = *offp;
802 *offp += le16toh(ep->e2d_reclen);
806 *endusefulp = *offp;
721 ext2_search_dirblock(struct inode *ip, void *data, int *foundp, const char *name, int namelen, int *entryoffsetinblockp, doff_t *offp, doff_t *prevoffp, doff_t *endusefulp, struct ext2fs_searchslot *ssp) argument
/freebsd-head/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_file_os.c79 zfs_file_write_impl(zfs_file_t *fp, const void *buf, size_t count, loff_t *offp, argument
96 auio.uio_offset = *offp;
111 *offp += count - auio.uio_resid;
136 zfs_file_read_impl(zfs_file_t *fp, void *buf, size_t count, loff_t *offp, argument
153 auio.uio_offset = *offp;
162 *offp += count - auio.uio_resid;
186 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) argument
194 rc = fo_seek(fp, *offp, whence, td);
196 *offp = td->td_uretoff.tdu_off;
/freebsd-head/sys/ddb/
H A Ddb_sym.c369 db_search_symbol(db_addr_t val, db_strategy_t strategy, db_expr_t *offp) argument
385 *offp = diff;
/freebsd-head/contrib/nvi/regex/
H A Dengine.c73 const RCHAR_T *offp; /* offsets work from here */ member in struct:match
173 m->offp = string;
266 pmatch[0].rm_so = m->coldp - m->offp;
267 pmatch[0].rm_eo = endp - m->offp;
453 m->pmatch[i].rm_so = sp - m->offp;
458 m->pmatch[i].rm_eo = sp - m->offp;
592 ssp = m->offp + m->pmatch[i].rm_so;
647 m->pmatch[i].rm_so = sp - m->offp;
658 m->pmatch[i].rm_eo = sp - m->offp;
/freebsd-head/lib/libc/regex/
H A Dengine.c89 const char *offp; /* offsets work from here */ member in struct:match
271 m->offp = string;
383 pmatch[0].rm_so = m->coldp - m->offp;
384 pmatch[0].rm_eo = endp - m->offp;
575 m->pmatch[i].rm_so = sp - m->offp;
580 m->pmatch[i].rm_eo = sp - m->offp;
651 (sp > m->offp && sp < m->endp &&
668 (sp > m->offp && !ISWORD(*(sp-1)))))
721 ssp = m->offp + m->pmatch[i].rm_so;
773 m->pmatch[i].rm_so = sp - m->offp;
[all...]
/freebsd-head/sys/dev/usb/net/
H A Dif_cdceem.c322 cdceem_handle_cmd(struct usb_xfer *xfer, uint16_t hdr, int *offp) argument
329 off = *offp;
419 *offp = off;
423 cdceem_handle_data(struct usb_xfer *xfer, uint16_t hdr, int *offp) argument
435 off = *offp;
503 *offp = off;
570 cdceem_send_echo(struct usb_xfer *xfer, int *offp) argument
577 off = *offp;
605 *offp = off;
609 cdceem_send_echo_response(struct usb_xfer *xfer, int *offp) argument
647 cdceem_send_data(struct usb_xfer *xfer, int *offp) argument
[all...]
/freebsd-head/sys/ufs/ufs/
H A Dufs_dirhash.c543 * If successful, the directory offset is stored in *offp, and a
552 ufsdirhash_lookup(struct inode *ip, char *name, int namelen, doff_t *offp, argument
667 *offp = offset;

Completed in 181 milliseconds

12