/freebsd/contrib/libdiff/lib/ |
H A D | diff_output_plain.c | 36 off_t *offp; in output_plain_chunk() local 101 ARRAYLIST_ADD(offp, outinfo->line_offsets); in output_plain_chunk() 102 if (offp == NULL) in output_plain_chunk() 105 *offp = *outoff; in output_plain_chunk() 129 ARRAYLIST_ADD(offp, in output_plain_chunk() 131 if (offp == NULL) in output_plain_chunk() 134 *offp = *outoff; in output_plain_chunk() 167 off_t outoff = 0, *offp; in diff_output_plain() local 195 ARRAYLIST_ADD(offp, outinfo->line_offsets); in diff_output_plain() 196 if (offp == NULL) in diff_output_plain() [all …]
|
H A D | diff_output.c | 66 off_t outoff = 0, *offp; in diff_output_lines() local 114 ARRAYLIST_ADD(offp, outinfo->line_offsets); in diff_output_lines() 115 if (offp == NULL) in diff_output_lines() 118 *offp = outoff; in diff_output_lines() 209 off_t outoff = 0, *offp; in diff_output_trailing_newline_msg() local 240 ARRAYLIST_ADD(offp, outinfo->line_offsets); in diff_output_trailing_newline_msg() 241 if (offp == NULL) in diff_output_trailing_newline_msg() 244 *offp = outoff; in diff_output_trailing_newline_msg() 325 off_t *offp; in diff_output_info_alloc() local 332 if (offp == NULL) { in diff_output_info_alloc() [all …]
|
H A D | diff_output_unidiff.c | 243 off_t outoff = 0, *offp; in output_unidiff_chunk() local 261 if (offp == NULL) in output_unidiff_chunk() 264 *offp = outoff; 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() 457 off_t outoff = 0, *offp; in diff_output_unidiff() local 492 if (offp == NULL) in diff_output_unidiff() [all …]
|
H A D | diff_output_edscript.c | 37 off_t outoff = 0, *offp; in output_edscript_chunk() local 100 ARRAYLIST_ADD(offp, outinfo->line_offsets); in output_edscript_chunk() 101 if (offp == NULL) in output_edscript_chunk() 104 *offp = outoff; in output_edscript_chunk()
|
/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 | 115 zfs_file_write_impl(zfs_file_t *fp, const void *buf, size_t count, loff_t *offp, in zfs_file_write_impl() argument 132 auio.uio_offset = *offp; in zfs_file_write_impl() 147 *offp += count - auio.uio_resid; in zfs_file_write_impl() 172 zfs_file_read_impl(zfs_file_t *fp, void *buf, size_t count, loff_t *offp, in zfs_file_read_impl() argument 189 auio.uio_offset = *offp; in zfs_file_read_impl() 199 *offp += count - auio.uio_resid; in zfs_file_read_impl() 223 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) in zfs_file_seek() argument 231 rc = fo_seek(fp, *offp, whence, td); in zfs_file_seek() 233 *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 | 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/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 | 182 rip6_input(struct mbuf **mp, int *offp, int proto) in rip6_input() argument 226 if (m->m_pkthdr.len - (*offp + inp->in6p_cksum) < 2 || in rip6_input() 227 in6_cksum(m, proto, *offp, in rip6_input() 228 m->m_pkthdr.len - *offp)) { in rip6_input() 292 m_adj(n, *offp); in rip6_input() 315 ip6_get_prevhdr(m, *offp)); in rip6_input()
|
/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/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()
|
/freebsd/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/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/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/ufs/ufs/ |
H A D | ufs_bmap.c | 344 ufs_bmap_seekdata(struct vnode *vp, off_t *offp) in ufs_bmap_seekdata() argument 364 if (*offp < 0 || *offp >= ip->i_size) in ufs_bmap_seekdata() 376 for (bn = *offp / bsize, numblks = howmany(ip->i_size, bsize); in ufs_bmap_seekdata() 438 if (error == 0 && *offp < bn * bsize) in ufs_bmap_seekdata() 439 *offp = bn * bsize; in ufs_bmap_seekdata()
|
/freebsd/sys/netpfil/pf/ |
H A D | if_pfsync.c | 968 int i, offp; in pfsync_in_clr() local 971 mp = m_pulldown(m, offset, len, &offp); in pfsync_in_clr() 1066 int offp, i; in pfsync_in_iack() local 1068 mp = m_pulldown(m, offset, len, &offp); in pfsync_in_iack() 1237 int offp, i; in pfsync_in_upd_c() local 1239 mp = m_pulldown(m, offset, len, &offp); in pfsync_in_upd_c() 1321 int i, offp; in pfsync_in_ureq() local 1325 mp = m_pulldown(m, offset, len, &offp); in pfsync_in_ureq() 1363 int offp, i; in pfsync_in_del_c() local 1395 int offp; in pfsync_in_bus() local [all …]
|
/freebsd/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/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/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 | 53 int zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence);
|