/freebsd/contrib/file/src/ |
H A D | readelf.c | 555 size_t noff, size_t doff, int *flags) in do_bid_note() argument 557 if (NAMEEQUALS(RCAST(char *, &nbuf[noff]), "GNU") && in do_bid_note() 585 if (namesz == 4 && memcmp(RCAST(char *, &nbuf[noff]), "Go", 3) == 0 && in do_bid_note() 600 size_t noff, size_t doff, int *flags) in do_os_note() argument 602 const char *name = RCAST(const char *, &nbuf[noff]); in do_os_note() 717 size_t noff, size_t doff, int *flags) in do_pax_note() argument 719 const char *name = RCAST(const char *, &nbuf[noff]); in do_pax_note() 756 size_t noff, size_t doff, int *flags) in do_memtag_note() argument 758 const char *name = RCAST(const char *, &nbuf[noff]); in do_memtag_note() 795 size_t noff, size_t doff, int *flags, size_t size, int clazz) in do_core_note() argument [all …]
|
/freebsd/contrib/ntp/scripts/monitoring/ |
H A D | ntploopwatch | 1347 local($noff); 1348 $noff = $loffset[$[] - ($cnt - @loffset + 1) * $RecordSize; 1349 $noff = 0 if $noff < 0; 1351 return (@fpos[$[,$[+1], ($noff == $fpos[$[+2]) ? $loffset[$[] : $noff); 1369 local($noff,$key); 1372 $noff = $fpos[$[+2] - $RecordSize * ($cnt - @loffset + 1); 1373 $noff = 0 if $noff < 0; 1374 return (@fpos[$[,$[+1],$noff); 1397 $noff = int($F_size{$key} / $RecordSize); 1398 $noff -= $cnt - @loffset; [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_msfees.c | 1247 register int noff; in ees_process() local 1284 noff = samples; in ees_process() 1286 while ((noff - i) > samplereduce) { in ees_process() 1293 tmp = coffs[(noff + i)/2]; in ees_process() 1296 L_SUB(&tmp, &coffs[noff-1]); in ees_process() 1297 if (L_ISNEG(&tmp)) noff--; else i++; in ees_process() 1301 if (ees->dump_vals) dump_buf(coffs, i, noff, "Reduced to:"); in ees_process() 1309 for (j = i; j < noff; j++) in ees_process() 1322 tmp = coffs[noff-1]; in ees_process() 1339 noff-1, in ees_process() [all …]
|
/freebsd/sys/fs/tmpfs/ |
H A D | tmpfs_vnops.c | 2088 tmpfs_seek_data_locked(vm_object_t obj, off_t noff) in tmpfs_seek_data_locked() 2092 p = swap_pager_seek_data(obj, OFF_TO_IDX(noff)); in tmpfs_seek_data_locked() 2093 return (p == OFF_TO_IDX(noff) ? noff : IDX_TO_OFF(p)); in tmpfs_seek_data_locked() 2097 tmpfs_seek_clamp(struct tmpfs_node *tn, off_t *noff, bool seekdata) in tmpfs_seek_clamp() 2099 if (*noff < tn->tn_size) in tmpfs_seek_clamp() 2103 *noff = tn->tn_size; in tmpfs_seek_clamp() 2108 tmpfs_seek_hole_locked(vm_object_t obj, off_t noff) in tmpfs_seek_hole_locked() 2111 return (IDX_TO_OFF(swap_pager_seek_hole(obj, OFF_TO_IDX(noff)))); in tmpfs_seek_hole_locked() 2119 off_t noff; in tmpfs_seek_datahole() 2087 tmpfs_seek_data_locked(vm_object_t obj,off_t noff) tmpfs_seek_data_locked() argument 2096 tmpfs_seek_clamp(struct tmpfs_node * tn,off_t * noff,bool seekdata) tmpfs_seek_clamp() argument 2107 tmpfs_seek_hole_locked(vm_object_t obj,off_t noff) tmpfs_seek_hole_locked() argument 2118 off_t noff; tmpfs_seek_datahole() local [all...] |
/freebsd/sys/kern/ |
H A D | vfs_default.c | 1001 off_t noff, xfersize, rem; in vop_stddeallocate() local 1013 noff = offset; in vop_stddeallocate() 1014 error = vn_bmap_seekhole_locked(vp, FIOSEEKDATA, &noff, cred); in vop_stddeallocate() 1028 KASSERT(noff >= offset, ("FIOSEEKDATA going backward")); in vop_stddeallocate() 1029 if (noff != offset) { in vop_stddeallocate() 1030 xfersize = omin(noff - offset, len); in vop_stddeallocate() 1036 error = vn_bmap_seekhole_locked(vp, FIOSEEKHOLE, &noff, cred); in vop_stddeallocate() 1041 xfersize = rem = omin(noff - offset, len); in vop_stddeallocate()
|
H A D | vfs_vnops.c | 2586 off_t noff; in vn_bmap_seekhole_locked() local 2600 noff = *off; in vn_bmap_seekhole_locked() 2601 if (noff < 0 || noff >= size) { in vn_bmap_seekhole_locked() 2610 for (bn = noff / bsize; noff < size; bn++, noff += bsize - in vn_bmap_seekhole_locked() 2611 noff % bsize) { in vn_bmap_seekhole_locked() 2619 noff = bn * bsize; in vn_bmap_seekhole_locked() 2620 if (noff < *off) in vn_bmap_seekhole_locked() 2621 noff = *off; in vn_bmap_seekhole_locked() 2625 if (noff > size) in vn_bmap_seekhole_locked() 2626 noff = size; in vn_bmap_seekhole_locked() [all …]
|
H A D | vfs_bio.c | 3784 vm_ooffset_t foff, noff, eoff; in vfs_clean_pages_dirty_buf() local 3798 noff = (foff + PAGE_SIZE) & ~(off_t)PAGE_MASK; in vfs_clean_pages_dirty_buf() 3799 eoff = noff; in vfs_clean_pages_dirty_buf() 3805 foff = noff; in vfs_clean_pages_dirty_buf()
|
/freebsd/sys/netipsec/ |
H A D | xform_ah.c | 277 int ad, alloc, nxt, noff; in ah_massage_headers() local 463 noff = off + ((ip6e->ip6e_len + 1) << 3); in ah_massage_headers() 466 if (noff > skip - sizeof(struct ip6_hdr)) in ah_massage_headers() 473 count < noff;) { in ah_massage_headers() 480 if (count + ad > noff) in ah_massage_headers() 488 if (count != noff) in ah_massage_headers()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_vnops.c | 123 uint64_t noff = (uint64_t)*off; /* new offset */ in zfs_holey_common() local 129 if (noff >= file_sz) { in zfs_holey_common() 143 error = dmu_offset_next(ZTOZSB(zp)->z_os, zp->z_id, hole, &noff); in zfs_holey_common() 164 if (noff > file_sz) { in zfs_holey_common() 166 noff = file_sz; in zfs_holey_common() 169 if (noff < *off) in zfs_holey_common() 171 *off = noff; in zfs_holey_common()
|
H A D | zfs_ioctl.c | 5176 offset_t off, noff; in zfs_ioc_recv_impl() local 5194 noff = off = zfs_file_off(input_fp); in zfs_ioc_recv_impl() 5379 *read_bytes = off - noff; in zfs_ioc_recv_impl()
|
/freebsd/sys/netinet6/ |
H A D | icmp6.c | 457 int code, error, icmp6len, ip6len, noff, off, sum; in icmp6_input() local 592 noff = sizeof(struct ip6_hdr); in icmp6_input() 594 n->m_len = noff + sizeof(struct icmp6_hdr); in icmp6_input() 601 n->m_pkthdr.len = n0len + (noff - off); in icmp6_input() 612 noff = off; in icmp6_input() 619 icmp6_reflect(n, noff); in icmp6_input() 688 noff = sizeof(struct ip6_hdr); in icmp6_input() 742 noff = sizeof(struct ip6_hdr); in icmp6_input() 751 icmp6_reflect(n, noff); in icmp6_input()
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_mem2.c | 2430 size_t noff; in netmap_mem_ext_create() local 2437 noff = off + p->_objsize; in netmap_mem_ext_create() 2438 if (noff < PAGE_SIZE) { in netmap_mem_ext_create() 2439 off = noff; in netmap_mem_ext_create() 2443 while (noff >= PAGE_SIZE) { in netmap_mem_ext_create() 2445 noff -= PAGE_SIZE; in netmap_mem_ext_create() 2448 nm_prdis("noff %zu page %p nr_pages %d", noff, in netmap_mem_ext_create() 2450 if (noff > 0 && !nm_isset(p->invalid_bitmap, j) && in netmap_mem_ext_create() 2458 nm_prdis("non contiguous at off %zu, drop", noff); in netmap_mem_ext_create() 2463 off = noff; in netmap_mem_ext_create()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_write_set_format_iso9660.c | 879 int noff; member 5869 idr_register(struct idr *idr, struct isoent *isoent, int weight, int noff) in idr_register() argument 5877 idrent->noff = noff; in idr_register() 5899 if (wnp->noff + numsize != wnp_ext_off) { in idr_extend_identifier() 5902 memmove(p + wnp->noff + numsize, p + wnp_ext_off, in idr_extend_identifier() 5904 wnp->isoent->ext_off = wnp_ext_off = wnp->noff + numsize; in idr_extend_identifier() 5917 p = (unsigned char *)n->isoent->identifier + n->noff; in idr_resolve() 6028 int ext_off, noff, weight; in isoent_gen_iso9660_identifier() local 6169 noff = 5; in isoent_gen_iso9660_identifier() 6171 noff = ext_off; in isoent_gen_iso9660_identifier() [all …]
|
/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_block_decoder.c | 1784 uint64_t nip, dip, ioff, noff; in pt_blk_proceed_no_event_fill_cache() local 1876 noff = pt_msec_unmap(msec, nip); in pt_blk_proceed_no_event_fill_cache() 1959 status = pt_bcache_lookup(&bce, bcache, noff); in pt_blk_proceed_no_event_fill_cache() 1978 return pt_blk_add_trampoline(bcache, ioff, noff, in pt_blk_proceed_no_event_fill_cache() 1988 status = pt_bcache_lookup(&bce, bcache, noff); in pt_blk_proceed_no_event_fill_cache() 2036 return pt_blk_add_trampoline(bcache, ioff, noff, insn.mode); in pt_blk_proceed_no_event_fill_cache()
|
/freebsd/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_rfcomm.c | 3492 int mlen, noff, len; in ng_btsocket_rfcomm_prepare_packet() local 3505 noff = 0; in ng_btsocket_rfcomm_prepare_packet() 3508 len = min(mlen - m->m_len, n->m_len - noff); in ng_btsocket_rfcomm_prepare_packet() 3512 bcopy(mtod(n, caddr_t)+noff, mtod(m, caddr_t)+m->m_len, len); in ng_btsocket_rfcomm_prepare_packet() 3514 noff += len; in ng_btsocket_rfcomm_prepare_packet() 3529 if (noff == n->m_len) { in ng_btsocket_rfcomm_prepare_packet() 3530 noff = 0; in ng_btsocket_rfcomm_prepare_packet()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zvol_os.c | 1207 uint64_t noff; in zvol_cdev_ioctl() local 1211 noff = *off; in zvol_cdev_ioctl() 1214 error = dmu_offset_next(zv->zv_objset, ZVOL_OBJ, hole, &noff); in zvol_cdev_ioctl() 1216 *off = noff; in zvol_cdev_ioctl()
|