| /freebsd/contrib/libdiff/lib/ |
| H A D | diff_output.c | 82 off_t outoff = 0, *offp; in diff_output_lines() local 149 ARRAYLIST_ADD(offp, outinfo->line_offsets); in diff_output_lines() 150 if (offp == NULL) { in diff_output_lines() 155 *offp = outoff; in diff_output_lines() 252 off_t outoff = 0, *offp; in diff_output_trailing_newline_msg() local 283 ARRAYLIST_ADD(offp, outinfo->line_offsets); in diff_output_trailing_newline_msg() 284 if (offp == NULL) in diff_output_trailing_newline_msg() 287 *offp = outoff; in diff_output_trailing_newline_msg() 368 off_t *offp; in diff_output_info_alloc() local 374 ARRAYLIST_ADD(offp, output_info->line_offsets); in diff_output_info_alloc() [all …]
|
| H A D | diff_output_unidiff.c | 243 off_t outoff = 0, *offp; in output_unidiff_chunk() local 260 ARRAYLIST_ADD(offp, outinfo->line_offsets); in output_unidiff_chunk() 261 if (offp == NULL) in output_unidiff_chunk() 264 *offp = outoff; in output_unidiff_chunk() 275 ARRAYLIST_ADD(offp, outinfo->line_offsets); in output_unidiff_chunk() 276 if (offp == NULL) in output_unidiff_chunk() 279 *offp = outoff; in output_unidiff_chunk() 347 ARRAYLIST_ADD(offp, outinfo->line_offsets); in output_unidiff_chunk() 348 if (offp == NULL) in output_unidiff_chunk() 351 *offp = outoff; in output_unidiff_chunk() [all …]
|
| /freebsd/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/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_file_os.c | 117 zfs_file_write_impl(zfs_file_t *fp, const void *buf, size_t count, loff_t *offp, in zfs_file_write_impl() argument 134 auio.uio_offset = *offp; in zfs_file_write_impl() 149 *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/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/sys/dev/usb/net/ |
| H A D | if_cdceem.c | 317 cdceem_handle_cmd(struct usb_xfer *xfer, uint16_t hdr, int *offp) in cdceem_handle_cmd() argument 324 off = *offp; in cdceem_handle_cmd() 414 *offp = off; in cdceem_handle_cmd() 418 cdceem_handle_data(struct usb_xfer *xfer, uint16_t hdr, int *offp) in cdceem_handle_data() argument 430 off = *offp; in cdceem_handle_data() 498 *offp = off; in cdceem_handle_data() 565 cdceem_send_echo(struct usb_xfer *xfer, int *offp) in cdceem_send_echo() argument 572 off = *offp; in cdceem_send_echo() 600 *offp = off; in cdceem_send_echo() 604 cdceem_send_echo_response(struct usb_xfer *xfer, int *offp) in cdceem_send_echo_response() argument [all …]
|
| /freebsd/sys/kern/ |
| H A D | uipc_mbuf2.c | 93 m_pulldown(struct mbuf *m, int off, int len, int *offp) in m_pulldown() argument 101 __func__, off, len, offp)); in m_pulldown() 160 if ((off == 0 || offp) && len <= n->m_len - off) in m_pulldown() 207 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen in m_pulldown() 214 if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen in m_pulldown() 260 if (offp) in m_pulldown() 261 *offp = off; in m_pulldown()
|
| /freebsd/sys/netinet6/ |
| H A D | route6.c | 59 route6_input(struct mbuf **mp, int *offp, int proto) in route6_input() argument 64 int off = *offp, rhlen; in route6_input() 112 *offp += rhlen; in route6_input()
|
| H A D | dest6.c | 62 dest6_input(struct mbuf **mp, int *offp, int proto) in dest6_input() argument 70 off = *offp; in dest6_input() 124 *offp = off; in dest6_input()
|
| H A D | raw_ip6.c | 182 rip6_input(struct mbuf **mp, int *offp, int proto) in rip6_input() argument 234 if (m->m_pkthdr.len - (*offp + inp->in6p_cksum) < 2) in rip6_input() 237 cksum = in6_cksum(m, proto, *offp, in rip6_input() 238 m->m_pkthdr.len - *offp); in rip6_input() 304 m_adj(n, *offp); in rip6_input() 327 ip6_get_prevhdr(m, *offp)); in rip6_input()
|
| /freebsd/sys/netinet/ |
| H A D | ip_encap.c | 366 encap4_input(struct mbuf **mp, int *offp, int proto) in encap4_input() argument 369 if (encap_input(&ipv4_encaptab, *mp, *offp, proto) != IPPROTO_DONE) in encap4_input() 370 return (rip_input(mp, offp, proto)); in encap4_input() 405 encap6_input(struct mbuf **mp, int *offp, int proto) in encap6_input() argument 408 if (encap_input(&ipv6_encaptab, *mp, *offp, proto) != IPPROTO_DONE) in encap6_input() 409 return (rip6_input(mp, offp, proto)); in encap6_input()
|
| /freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zfs_file_os.c | 201 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) in zfs_file_seek() argument 205 if (*offp < 0) in zfs_file_seek() 208 rc = vfs_llseek(fp, *offp, whence); in zfs_file_seek() 212 *offp = rc; in zfs_file_seek()
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | spa_history.c | 413 spa_history_get(spa_t *spa, uint64_t *offp, uint64_t *len, char *buf) in spa_history_get() argument 434 if (*offp == 0 && spa_writeable(spa)) in spa_history_get() 452 if (*offp < shpp->sh_pool_create_len) { in spa_history_get() 454 phys_read_off = *offp; in spa_history_get() 462 *offp = MAX(*offp, shpp->sh_bof); in spa_history_get() 463 phys_read_off = spa_history_log_to_phys(*offp, shpp); in spa_history_get() 483 *offp += read_len + leftover; in spa_history_get()
|
| H A D | dmu_diff.c | 159 zfs_file_t *fp, offset_t *offp) in dmu_diff() argument 203 da.da_offp = offp; in dmu_diff()
|
| /freebsd/sys/fs/ext2fs/ |
| H A D | ext2_bmap.c | 327 ext2_bmap_seekdata(struct vnode *vp, off_t *offp) in ext2_bmap_seekdata() argument 347 if (*offp < 0 || *offp >= ip->i_size) in ext2_bmap_seekdata() 351 for (bn = *offp / bsize, numblks = howmany(ip->i_size, bsize); in ext2_bmap_seekdata() 411 if (error == 0 && *offp < bn * bsize) in ext2_bmap_seekdata() 412 *offp = bn * bsize; in ext2_bmap_seekdata()
|
| H A D | ext2_lookup.c | 709 doff_t *offp, doff_t *prevoffp, doff_t *endusefulp, in ext2_search_dirblock() argument 726 ext2_dirbad(ip, *offp, "mangled entry"); in ext2_search_dirblock() 728 *offp += i; in ext2_search_dirblock() 750 ssp->slotoffset = *offp; in ext2_search_dirblock() 755 ssp->slotoffset = *offp; in ext2_search_dirblock() 758 ssp->slotsize = *offp + in ext2_search_dirblock() 781 *prevoffp = *offp; in ext2_search_dirblock() 782 *offp += le16toh(ep->e2d_reclen); in ext2_search_dirblock() 786 *endusefulp = *offp; in ext2_search_dirblock()
|
| /freebsd/sys/contrib/openzfs/config/ |
| H A D | kernel-proc-operations.m4 | 13 size_t size, loff_t *offp) { return 0; } 15 size_t size, loff_t *offp) { return 0; }
|
| /freebsd/sys/contrib/openzfs/lib/libzpool/ |
| H A D | zfs_file_os.c | 272 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) in zfs_file_seek() argument 276 rc = lseek(fp->f_fd, *offp, whence); in zfs_file_seek() 280 *offp = rc; in zfs_file_seek()
|
| /freebsd/sys/netpfil/pf/ |
| H A D | if_pfsync.c | 939 pfsync_input(struct mbuf **mp, int *offp __unused, int proto __unused) in pfsync_input() 1041 pfsync6_input(struct mbuf **mp, int *offp __unused, int proto __unused) in pfsync6_input() 1149 int i, offp; in pfsync_in_clr() 1152 mp = m_pulldown(m, offset, len, &offp); in pfsync_in_clr() 1157 clr = (struct pfsync_clr *)(mp->m_data + offp); in pfsync_in_clr() 1193 int i, offp, total_len, msg_version, msg_len; in pfsync_in_ins() 1217 mp = m_pulldown(m, offset, total_len, &offp); in pfsync_in_ins() 1222 sa = (union pfsync_state_union *)(mp->m_data + offp); in pfsync_in_ins() 1268 int offp, i; in pfsync_in_iack() 1270 mp = m_pulldown(m, offset, len, &offp); in pfsync_in_iack() 1148 int i, offp; pfsync_in_clr() local 1189 int i, offp, total_len, msg_version, msg_len; pfsync_in_ins() local 1264 int offp, i; pfsync_in_iack() local 1334 int sync, offp, i, total_len, msg_len, msg_version; pfsync_in_upd() local 1450 int offp, i; pfsync_in_upd_c() local 1534 int i, offp; pfsync_in_ureq() local 1576 int offp, i; pfsync_in_del_c() local 1608 int offp; pfsync_in_bus() local 1671 int offp; pfsync_in_tdb() local [all...] |
| /freebsd/lib/libc/regex/ |
| H A D | engine.c | 84 const char *offp; /* offsets work from here */ member 271 m->offp = string; in matcher() 383 pmatch[0].rm_so = m->coldp - m->offp; in matcher() 384 pmatch[0].rm_eo = endp - m->offp; in matcher() 579 m->pmatch[i].rm_so = sp - m->offp; in dissect() 584 m->pmatch[i].rm_eo = sp - m->offp; in dissect() 599 (sp > m->offp && !ISWORD(*(sp-1))))) 678 (sp > m->offp && sp < m->endp && in backref() 757 ssp = m->offp + m->pmatch[i].rm_so; in backref() 809 m->pmatch[i].rm_so = sp - m->offp; in backref() [all …]
|
| /freebsd/sys/ufs/ufs/ |
| H A D | ufs_bmap.c | 472 ufs_bmap_seekdata(struct vnode *vp, off_t *offp) in ufs_bmap_seekdata() argument 492 if (*offp < 0 || *offp >= ip->i_size) in ufs_bmap_seekdata() 504 for (bn = *offp / bsize, numblks = howmany(ip->i_size, bsize); in ufs_bmap_seekdata() 566 if (error == 0 && *offp < bn * bsize) in ufs_bmap_seekdata() 567 *offp = bn * bsize; in ufs_bmap_seekdata()
|
| /freebsd/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/sys/contrib/openzfs/include/sys/ |
| H A D | zfs_file.h | 56 int zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence);
|
| /freebsd/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;
|