| /freebsd-14.2/sys/ddb/ |
| H A D | db_sym.h | 81 #define db_find_sym_and_offset(val,namep,offp) \ argument 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) \ argument 86 db_symbol_values(db_search_symbol(val,DB_STGY_XTRN,offp),namep,0)
|
| H A D | db_sym.c | 369 db_search_symbol(db_addr_t val, db_strategy_t strategy, db_expr_t *offp) in db_search_symbol() argument 384 *offp = 0; in db_search_symbol() 398 *offp = diff; in db_search_symbol()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_file_os.c | 118 zfs_file_write_impl(zfs_file_t *fp, const void *buf, size_t count, loff_t *offp, in zfs_file_write_impl() argument 135 auio.uio_offset = *offp; in zfs_file_write_impl() 150 *offp += count - auio.uio_resid; in zfs_file_write_impl() 175 zfs_file_read_impl(zfs_file_t *fp, void *buf, size_t count, loff_t *offp, in zfs_file_read_impl() argument 192 auio.uio_offset = *offp; in zfs_file_read_impl() 202 *offp += count - auio.uio_resid; in zfs_file_read_impl() 226 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) in zfs_file_seek() argument 234 rc = fo_seek(fp, *offp, whence, td); in zfs_file_seek() 236 *offp = td->td_uretoff.tdu_off; in zfs_file_seek()
|
| /freebsd-14.2/lib/libc/tests/stdio/ |
| H A D | getdelim_test.c | 54 size_t *offp = cookie; in _reader() local 60 if (len > sizeof(apothegm) - *offp) in _reader() 61 len = sizeof(apothegm) - *offp; in _reader() 62 memcpy(buf, apothegm + *offp, len); in _reader() 63 *offp += len; in _reader() 70 size_t *offp; in mkfilebuf() local 72 offp = malloc(sizeof(*offp)); /* XXX leak */ in mkfilebuf() 73 *offp = 0; in mkfilebuf() 74 return (fropen(offp, _reader)); in mkfilebuf()
|
| /freebsd-14.2/sys/dev/usb/net/ |
| H A D | if_cdceem.c | 325 off = *offp; in cdceem_handle_cmd() 415 *offp = off; in cdceem_handle_cmd() 431 off = *offp; in cdceem_handle_data() 499 *offp = off; in cdceem_handle_data() 566 cdceem_send_echo(struct usb_xfer *xfer, int *offp) in cdceem_send_echo() argument 573 off = *offp; in cdceem_send_echo() 601 *offp = off; in cdceem_send_echo() 612 off = *offp; in cdceem_send_echo_response() 639 *offp = off; in cdceem_send_echo_response() 653 off = *offp; in cdceem_send_data() [all …]
|
| /freebsd-14.2/sys/netinet6/ |
| H A D | route6.c | 60 route6_input(struct mbuf **mp, int *offp, int proto) in route6_input() argument 65 int off = *offp, rhlen; in route6_input() 113 *offp += rhlen; in route6_input()
|
| H A D | dest6.c | 63 dest6_input(struct mbuf **mp, int *offp, int proto) in dest6_input() argument 71 off = *offp; in dest6_input() 125 *offp = off; in dest6_input()
|
| H A D | raw_ip6.c | 184 rip6_input(struct mbuf **mp, int *offp, int proto) in rip6_input() argument 228 if (m->m_pkthdr.len - (*offp + inp->in6p_cksum) < 2 || in rip6_input() 229 in6_cksum(m, proto, *offp, in rip6_input() 230 m->m_pkthdr.len - *offp)) { in rip6_input() 294 m_adj(n, *offp); in rip6_input() 317 ip6_get_prevhdr(m, *offp)); in rip6_input()
|
| /freebsd-14.2/sys/kern/ |
| H A D | uipc_mbuf2.c | 95 m_pulldown(struct mbuf *m, int off, int len, int *offp) in m_pulldown() argument 103 __func__, off, len, offp)); in m_pulldown() 162 if ((off == 0 || offp) && len <= n->m_len - off) in m_pulldown() 209 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen in m_pulldown() 216 if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen in m_pulldown() 262 if (offp) in m_pulldown() 263 *offp = off; in m_pulldown()
|
| H A D | vfs_default.c | 1314 off_t *offp; in vop_stdioctl() local 1329 offp = ap->a_data; in vop_stdioctl() 1330 if (*offp < 0 || *offp >= va.va_size) in vop_stdioctl() 1333 *offp = va.va_size; in vop_stdioctl()
|
| /freebsd-14.2/sys/netinet/ |
| H A D | ip_encap.c | 367 encap4_input(struct mbuf **mp, int *offp, int proto) in encap4_input() argument 370 if (encap_input(&ipv4_encaptab, *mp, *offp, proto) != IPPROTO_DONE) in encap4_input() 371 return (rip_input(mp, offp, proto)); in encap4_input() 406 encap6_input(struct mbuf **mp, int *offp, int proto) in encap6_input() argument 409 if (encap_input(&ipv6_encaptab, *mp, *offp, proto) != IPPROTO_DONE) in encap6_input() 410 return (rip6_input(mp, offp, proto)); in encap6_input()
|
| H A D | ip_icmp.c | 460 icmp_input(struct mbuf **mp, int *offp, int proto) in icmp_input() argument 467 int hlen = *offp; in icmp_input() 468 int icmplen = ntohs(ip->ip_len) - *offp; in icmp_input() 766 rip_input(mp, offp, proto); in icmp_input()
|
| H A D | ip_carp.c | 488 carp_input(struct mbuf **mp, int *offp, int proto) in carp_input() argument 495 iplen = *offp; in carp_input() 565 carp6_input(struct mbuf **mp, int *offp, int proto) in carp6_input() argument 589 if (m->m_len < *offp + sizeof(*ch)) { in carp6_input() 591 m = m_pullup(m, *offp + sizeof(*ch)); in carp6_input() 599 ch = (struct carp_header *)(mtod(m, char *) + *offp); in carp6_input() 602 m->m_data += *offp; in carp6_input() 610 m->m_data -= *offp; in carp6_input()
|
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | spa_history.c | 418 spa_history_get(spa_t *spa, uint64_t *offp, uint64_t *len, char *buf) in spa_history_get() argument 439 if (*offp == 0 && spa_writeable(spa)) in spa_history_get() 457 if (*offp < shpp->sh_pool_create_len) { in spa_history_get() 459 phys_read_off = *offp; in spa_history_get() 467 *offp = MAX(*offp, shpp->sh_bof); in spa_history_get() 468 phys_read_off = spa_history_log_to_phys(*offp, shpp); in spa_history_get() 488 *offp += read_len + leftover; in spa_history_get()
|
| H A D | dmu_diff.c | 168 zfs_file_t *fp, offset_t *offp) in dmu_diff() argument 212 da.da_offp = offp; in dmu_diff()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zfs_file_os.c | 245 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) in zfs_file_seek() argument 249 if (*offp < 0) in zfs_file_seek() 252 rc = vfs_llseek(fp, *offp, whence); in zfs_file_seek() 256 *offp = rc; in zfs_file_seek()
|
| /freebsd-14.2/sys/ufs/ufs/ |
| H A D | ufs_bmap.c | 347 ufs_bmap_seekdata(struct vnode *vp, off_t *offp) in ufs_bmap_seekdata() argument 367 if (*offp < 0 || *offp >= ip->i_size) in ufs_bmap_seekdata() 379 for (bn = *offp / bsize, numblks = howmany(ip->i_size, bsize); in ufs_bmap_seekdata() 441 if (error == 0 && *offp < bn * bsize) in ufs_bmap_seekdata() 442 *offp = bn * bsize; in ufs_bmap_seekdata()
|
| /freebsd-14.2/sys/fs/ext2fs/ |
| H A D | ext2_bmap.c | 329 ext2_bmap_seekdata(struct vnode *vp, off_t *offp) in ext2_bmap_seekdata() argument 349 if (*offp < 0 || *offp >= ip->i_size) in ext2_bmap_seekdata() 353 for (bn = *offp / bsize, numblks = howmany(ip->i_size, bsize); in ext2_bmap_seekdata() 413 if (error == 0 && *offp < bn * bsize) in ext2_bmap_seekdata() 414 *offp = bn * bsize; in ext2_bmap_seekdata()
|
| H A D | ext2_lookup.c | 711 doff_t *offp, doff_t *prevoffp, doff_t *endusefulp, in ext2_search_dirblock() argument 728 ext2_dirbad(ip, *offp, "mangled entry"); in ext2_search_dirblock() 730 *offp += i; in ext2_search_dirblock() 752 ssp->slotoffset = *offp; in ext2_search_dirblock() 757 ssp->slotoffset = *offp; in ext2_search_dirblock() 760 ssp->slotsize = *offp + in ext2_search_dirblock() 783 *prevoffp = *offp; in ext2_search_dirblock() 784 *offp += le16toh(ep->e2d_reclen); in ext2_search_dirblock() 788 *endusefulp = *offp; in ext2_search_dirblock()
|
| /freebsd-14.2/sys/netpfil/pf/ |
| H A D | if_pfsync.c | 965 int i, offp; in pfsync_in_clr() local 968 mp = m_pulldown(m, offset, len, &offp); in pfsync_in_clr() 1063 int offp, i; in pfsync_in_iack() local 1065 mp = m_pulldown(m, offset, len, &offp); in pfsync_in_iack() 1234 int offp, i; in pfsync_in_upd_c() local 1236 mp = m_pulldown(m, offset, len, &offp); in pfsync_in_upd_c() 1318 int i, offp; in pfsync_in_ureq() local 1322 mp = m_pulldown(m, offset, len, &offp); in pfsync_in_ureq() 1360 int offp, i; in pfsync_in_del_c() local 1392 int offp; in pfsync_in_bus() local [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/config/ |
| H A D | kernel-proc-operations.m4 | 12 size_t size, loff_t *offp) { return 0; } 14 size_t size, loff_t *offp) { return 0; }
|
| /freebsd-14.2/lib/libc/regex/ |
| H A D | engine.c | 86 const char *offp; /* offsets work from here */ member 273 m->offp = string; in matcher() 385 pmatch[0].rm_so = m->coldp - m->offp; in matcher() 386 pmatch[0].rm_eo = endp - m->offp; in matcher() 581 m->pmatch[i].rm_so = sp - m->offp; in dissect() 586 m->pmatch[i].rm_eo = sp - m->offp; in dissect() 601 (sp > m->offp && !ISWORD(*(sp-1))))) 680 (sp > m->offp && sp < m->endp && in backref() 759 ssp = m->offp + m->pmatch[i].rm_so; in backref() 811 m->pmatch[i].rm_so = sp - m->offp; in backref() [all …]
|
| /freebsd-14.2/contrib/nvi/regex/ |
| H A 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-14.2/sys/contrib/openzfs/include/sys/ |
| H A D | zfs_file.h | 53 int zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | regengine.inc | 77 const char *offp; /* offsets work from here */ 176 m->offp = string; 272 pmatch[0].rm_so = m->coldp - m->offp; 273 pmatch[0].rm_eo = endp - m->offp; 503 m->pmatch[i].rm_so = sp - m->offp; 508 m->pmatch[i].rm_eo = sp - m->offp; 637 ssp = m->offp + m->pmatch[i].rm_so; 692 m->pmatch[i].rm_so = sp - m->offp; 703 m->pmatch[i].rm_eo = sp - m->offp;
|