| /freebsd-12-stable/lib/libc/tests/stdio/ |
| D | getdelim_test.c | 50 size_t *offp = cookie; in _reader() local 56 if (len > sizeof(apothegm) - *offp) in _reader() 57 len = sizeof(apothegm) - *offp; in _reader() 58 memcpy(buf, apothegm + *offp, len); in _reader() 59 *offp += len; in _reader() 66 size_t *offp; in mkfilebuf() local 68 offp = malloc(sizeof(*offp)); /* XXX leak */ in mkfilebuf() 69 *offp = 0; in mkfilebuf() 70 return (fropen(offp, _reader)); in mkfilebuf()
|
| /freebsd-12-stable/sys/ddb/ |
| D | db_sym.h | 83 #define db_find_sym_and_offset(val,namep,offp) \ argument 84 db_symbol_values(db_search_symbol(val,DB_STGY_ANY,offp),namep,0) 87 #define db_find_xtrn_sym_and_offset(val,namep,offp) \ argument 88 db_symbol_values(db_search_symbol(val,DB_STGY_XTRN,offp),namep,0)
|
| D | db_sym.c | 370 db_search_symbol(db_addr_t val, db_strategy_t strategy, db_expr_t *offp) in db_search_symbol() argument 386 *offp = diff; in db_search_symbol()
|
| /freebsd-12-stable/sys/dev/usb/net/ |
| D | if_cdceem.c | 322 cdceem_handle_cmd(struct usb_xfer *xfer, uint16_t hdr, int *offp) in cdceem_handle_cmd() argument 329 off = *offp; in cdceem_handle_cmd() 419 *offp = off; in cdceem_handle_cmd() 423 cdceem_handle_data(struct usb_xfer *xfer, uint16_t hdr, int *offp) in cdceem_handle_data() argument 435 off = *offp; in cdceem_handle_data() 503 *offp = off; in cdceem_handle_data() 570 cdceem_send_echo(struct usb_xfer *xfer, int *offp) in cdceem_send_echo() argument 577 off = *offp; in cdceem_send_echo() 605 *offp = off; in cdceem_send_echo() 609 cdceem_send_echo_response(struct usb_xfer *xfer, int *offp) in cdceem_send_echo_response() argument [all …]
|
| /freebsd-12-stable/sys/kern/ |
| D | uipc_mbuf2.c | 97 m_pulldown(struct mbuf *m, int off, int len, int *offp) in m_pulldown() argument 105 __func__, off, len, offp)); in m_pulldown() 164 if ((off == 0 || offp) && len <= n->m_len - off) in m_pulldown() 211 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen in m_pulldown() 218 if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen in m_pulldown() 264 if (offp) in m_pulldown() 265 *offp = off; in m_pulldown()
|
| /freebsd-12-stable/sys/netinet6/ |
| D | route6.c | 62 route6_input(struct mbuf **mp, int *offp, int proto) in route6_input() argument 67 int off = *offp, rhlen; in route6_input() 115 *offp += rhlen; in route6_input()
|
| D | dest6.c | 65 dest6_input(struct mbuf **mp, int *offp, int proto) in dest6_input() argument 73 off = *offp; in dest6_input() 127 *offp = off; in dest6_input()
|
| D | raw_ip6.c | 159 rip6_input(struct mbuf **mp, int *offp, int proto) in rip6_input() argument 211 m_adj(n, *offp); in rip6_input() 243 if (m->m_pkthdr.len - (*offp + inp->in6p_cksum) < 2 || in rip6_input() 244 in6_cksum(m, proto, *offp, in rip6_input() 245 m->m_pkthdr.len - *offp)) { in rip6_input() 325 m_adj(m, *offp); in rip6_input() 345 ip6_get_prevhdr(m, *offp)); in rip6_input()
|
| D | sctp6_usrreq.c | 63 sctp6_input_with_port(struct mbuf **i_pak, int *offp, uint16_t port) in sctp6_input_with_port() argument 79 iphlen = *offp; in sctp6_input_with_port() 171 sctp6_input(struct mbuf **i_pak, int *offp, int proto SCTP_UNUSED) in sctp6_input() argument 173 return (sctp6_input_with_port(i_pak, offp, 0)); in sctp6_input()
|
| D | frag6.c | 365 frag6_input(struct mbuf **mp, int *offp, int proto) in frag6_input() argument 388 offset = *offp; in frag6_input() 883 *offp = offset; in frag6_input()
|
| /freebsd-12-stable/sys/netinet/ |
| D | ip_encap.c | 371 encap4_input(struct mbuf **mp, int *offp, int proto) in encap4_input() argument 374 if (encap_input(&ipv4_encaptab, *mp, *offp, proto) != IPPROTO_DONE) in encap4_input() 375 return (rip_input(mp, offp, proto)); in encap4_input() 410 encap6_input(struct mbuf **mp, int *offp, int proto) in encap6_input() argument 413 if (encap_input(&ipv6_encaptab, *mp, *offp, proto) != IPPROTO_DONE) in encap6_input() 414 return (rip6_input(mp, offp, proto)); in encap6_input()
|
| D | ip_carp.c | 451 carp_input(struct mbuf **mp, int *offp, int proto) in carp_input() argument 458 iplen = *offp; in carp_input() 538 carp6_input(struct mbuf **mp, int *offp, int proto) in carp6_input() argument 571 if (m->m_len < *offp + sizeof(*ch)) { in carp6_input() 573 m = m_pullup(m, *offp + sizeof(*ch)); in carp6_input() 580 ch = (struct carp_header *)(mtod(m, char *) + *offp); in carp6_input() 584 m->m_data += *offp; in carp6_input() 592 m->m_data -= *offp; in carp6_input()
|
| D | ip_icmp.c | 401 icmp_input(struct mbuf **mp, int *offp, int proto) in icmp_input() argument 408 int hlen = *offp; in icmp_input() 409 int icmplen = ntohs(ip->ip_len) - *offp; in icmp_input() 728 rip_input(mp, offp, proto); in icmp_input()
|
| /freebsd-12-stable/sys/netpfil/pf/ |
| D | if_pfsync.c | 637 pfsync_input(struct mbuf **mp, int *offp __unused, int proto __unused) in pfsync_input() 748 int i, offp; in pfsync_in_clr() local 751 mp = m_pulldown(m, offset, len, &offp); in pfsync_in_clr() 756 clr = (struct pfsync_clr *)(mp->m_data + offp); in pfsync_in_clr() 790 int i, offp; in pfsync_in_ins() local 792 mp = m_pulldown(m, offset, len, &offp); in pfsync_in_ins() 797 sa = (struct pfsync_state *)(mp->m_data + offp); in pfsync_in_ins() 830 int offp, i; in pfsync_in_iack() local 832 mp = m_pulldown(m, offset, len, &offp); in pfsync_in_iack() 837 iaa = (struct pfsync_ins_ack *)(mp->m_data + offp); in pfsync_in_iack() [all …]
|
| /freebsd-12-stable/sys/ufs/ufs/ |
| D | ufs_bmap.c | 352 ufs_bmap_seekdata(vp, offp) in ufs_bmap_seekdata() argument 354 off_t *offp; 374 if (*offp < 0 || *offp >= ip->i_size) 378 for (bn = *offp / bsize, numblks = howmany(ip->i_size, bsize); 440 if (error == 0 && *offp < bn * bsize) 441 *offp = bn * bsize;
|
| /freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| D | spa_history.c | 422 spa_history_get(spa_t *spa, uint64_t *offp, uint64_t *len, char *buf) in spa_history_get() argument 443 if (*offp == 0 && spa_writeable(spa)) in spa_history_get() 461 if (*offp < shpp->sh_pool_create_len) { in spa_history_get() 463 phys_read_off = *offp; in spa_history_get() 471 *offp = MAX(*offp, shpp->sh_bof); in spa_history_get() 472 phys_read_off = spa_history_log_to_phys(*offp, shpp); in spa_history_get() 492 *offp += read_len + leftover; in spa_history_get()
|
| D | dmu_diff.c | 184 struct vnode *vp, offset_t *offp) in dmu_diff() argument 186 struct file *fp, offset_t *offp) in dmu_diff() 231 da.da_offp = offp; in dmu_diff()
|
| /freebsd-12-stable/sys/fs/ext2fs/ |
| D | ext2_bmap.c | 337 ext2_bmap_seekdata(struct vnode *vp, off_t *offp) in ext2_bmap_seekdata() argument 357 if (*offp < 0 || *offp >= ip->i_size) in ext2_bmap_seekdata() 361 for (bn = *offp / bsize, numblks = howmany(ip->i_size, bsize); in ext2_bmap_seekdata() 421 if (error == 0 && *offp < bn * bsize) in ext2_bmap_seekdata() 422 *offp = bn * bsize; in ext2_bmap_seekdata()
|
| D | ext2_lookup.c | 722 doff_t *offp, doff_t *prevoffp, doff_t *endusefulp, in ext2_search_dirblock() argument 746 ext2_dirbad(ip, *offp, "mangled entry"); in ext2_search_dirblock() 748 *offp += i; in ext2_search_dirblock() 769 ssp->slotoffset = *offp; in ext2_search_dirblock() 774 ssp->slotoffset = *offp; in ext2_search_dirblock() 777 ssp->slotsize = *offp + in ext2_search_dirblock() 800 *prevoffp = *offp; in ext2_search_dirblock() 801 *offp += ep->e2d_reclen; in ext2_search_dirblock() 805 *endusefulp = *offp; in ext2_search_dirblock()
|
| D | ext2_htree.c | 344 struct buf **bpp, int *entryoffp, doff_t *offp, in ext2_htree_lookup() argument 379 *offp = blk * bsize; in ext2_htree_lookup() 390 name, namelen, entryoffp, offp, prevoffp, in ext2_htree_lookup()
|
| /freebsd-12-stable/lib/libc/regex/ |
| D | engine.c | 89 const char *offp; /* offsets work from here */ member 276 m->offp = string; in matcher() 388 pmatch[0].rm_so = m->coldp - m->offp; in matcher() 389 pmatch[0].rm_eo = endp - m->offp; in matcher() 584 m->pmatch[i].rm_so = sp - m->offp; in dissect() 589 m->pmatch[i].rm_eo = sp - m->offp; in dissect() 604 (sp > m->offp && !ISWORD(*(sp-1))))) 683 (sp > m->offp && sp < m->endp && in backref() 762 ssp = m->offp + m->pmatch[i].rm_so; in backref() 814 m->pmatch[i].rm_so = sp - m->offp; in backref() [all …]
|
| /freebsd-12-stable/contrib/nvi/regex/ |
| D | engine.c | 73 const RCHAR_T *offp; /* offsets work from here */ member 173 m->offp = string; in matcher() 266 pmatch[0].rm_so = m->coldp - m->offp; in matcher() 267 pmatch[0].rm_eo = endp - m->offp; in matcher() 453 m->pmatch[i].rm_so = sp - m->offp; in dissect() 458 m->pmatch[i].rm_eo = sp - m->offp; in dissect() 592 ssp = m->offp + m->pmatch[i].rm_so; in backref() 647 m->pmatch[i].rm_so = sp - m->offp; in backref() 658 m->pmatch[i].rm_eo = sp - m->offp; in backref()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/ |
| D | regengine.inc | 75 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-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
| D | dmu.h | 946 uint64_t *id, uint64_t *offp, boolean_t *case_conflict); 950 uint64_t *idp, uint64_t *offp); 1016 struct file *fp, offset_t *offp);
|
| /freebsd-12-stable/cddl/contrib/opensolaris/cmd/lockstat/ |
| D | lockstat.c | 1124 char *addrp, *offp, *sizep, *evp, *lastp, *p; in main() local 1222 offp = strtok(NULL, ","); in main() 1225 off = offp ? strtoul(offp, NULL, 0) : 0; in main()
|