| /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/sys/contrib/openzfs/module/zfs/ |
| H A D | zfs_vnops.c | 143 uint64_t noff = (uint64_t)*off; /* new offset */ in zfs_holey_common() local 149 if (noff >= file_sz) { in zfs_holey_common() 163 error = dmu_offset_next(ZTOZSB(zp)->z_os, zp->z_id, hole, &noff); in zfs_holey_common() 184 if (noff > file_sz) { in zfs_holey_common() 186 noff = file_sz; in zfs_holey_common() 189 if (noff < *off) in zfs_holey_common() 191 *off = noff; in zfs_holey_common() 1197 uint64_t n, noff = off, nr = 0, nw = 0; in zfs_rewrite() local 1203 if (noff == off) { in zfs_rewrite() 1205 error = dnode_next_offset(dn, 0, &noff, 1, 1, 0); in zfs_rewrite() [all …]
|
| H A D | zfs_ioctl.c | 5594 offset_t off, noff; in zfs_ioc_recv_impl() local 5612 noff = off = zfs_file_off(input_fp); in zfs_ioc_recv_impl() 5797 *read_bytes = off - noff; in zfs_ioc_recv_impl()
|
| /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 | 2099 tmpfs_seek_data_locked(vm_object_t obj, off_t noff) in tmpfs_seek_data_locked() argument 2103 p = swap_pager_seek_data(obj, OFF_TO_IDX(noff)); in tmpfs_seek_data_locked() 2106 return (p == OFF_TO_IDX(noff) ? noff : IDX_TO_OFF(p)); in tmpfs_seek_data_locked() 2110 tmpfs_seek_clamp(struct tmpfs_node *tn, off_t *noff, bool seekdata) in tmpfs_seek_clamp() argument 2112 if (*noff < tn->tn_size) in tmpfs_seek_clamp() 2116 *noff = tn->tn_size; in tmpfs_seek_clamp() 2121 tmpfs_seek_hole_locked(vm_object_t obj, off_t noff) in tmpfs_seek_hole_locked() argument 2124 return (IDX_TO_OFF(swap_pager_seek_hole(obj, OFF_TO_IDX(noff)))); in tmpfs_seek_hole_locked() 2132 off_t noff; in tmpfs_seek_datahole() local 2138 noff = *off; in tmpfs_seek_datahole() [all …]
|
| /freebsd/sys/kern/ |
| H A D | vfs_default.c | 1009 off_t noff, xfersize, rem; in vop_stddeallocate() local 1021 noff = offset; in vop_stddeallocate() 1022 error = vn_bmap_seekhole_locked(vp, FIOSEEKDATA, &noff, cred); in vop_stddeallocate() 1036 KASSERT(noff >= offset, ("FIOSEEKDATA going backward")); in vop_stddeallocate() 1037 if (noff != offset) { in vop_stddeallocate() 1038 xfersize = omin(noff - offset, len); in vop_stddeallocate() 1044 error = vn_bmap_seekhole_locked(vp, FIOSEEKHOLE, &noff, cred); in vop_stddeallocate() 1049 xfersize = rem = omin(noff - offset, len); in vop_stddeallocate()
|
| H A D | vfs_vnops.c | 2795 off_t noff; in vn_bmap_seekhole_locked() local 2809 noff = *off; in vn_bmap_seekhole_locked() 2810 if (noff < 0 || noff >= size) { in vn_bmap_seekhole_locked() 2819 for (bn = noff / bsize; noff < size; bn++, noff += bsize - in vn_bmap_seekhole_locked() 2820 noff % bsize) { in vn_bmap_seekhole_locked() 2828 noff = bn * bsize; in vn_bmap_seekhole_locked() 2829 if (noff < *off) in vn_bmap_seekhole_locked() 2830 noff = *off; in vn_bmap_seekhole_locked() 2834 if (noff > size) in vn_bmap_seekhole_locked() 2835 noff = size; in vn_bmap_seekhole_locked() [all …]
|
| H A D | vfs_bio.c | 3788 vm_ooffset_t foff, noff, eoff; in vfs_clean_pages_dirty_buf() local 3802 noff = (foff + PAGE_SIZE) & ~(off_t)PAGE_MASK; in vfs_clean_pages_dirty_buf() 3803 eoff = noff; in vfs_clean_pages_dirty_buf() 3809 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/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 | 2434 size_t noff; in netmap_mem_ext_create() local 2441 noff = off + p->_objsize; in netmap_mem_ext_create() 2442 if (noff < PAGE_SIZE) { in netmap_mem_ext_create() 2443 off = noff; in netmap_mem_ext_create() 2447 while (noff >= PAGE_SIZE) { in netmap_mem_ext_create() 2449 noff -= PAGE_SIZE; in netmap_mem_ext_create() 2452 nm_prdis("noff %zu page %p nr_pages %d", noff, in netmap_mem_ext_create() 2454 if (noff > 0 && !nm_isset(p->invalid_bitmap, j) && in netmap_mem_ext_create() 2462 nm_prdis("non contiguous at off %zu, drop", noff); in netmap_mem_ext_create() 2467 off = noff; in netmap_mem_ext_create()
|
| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_write_set_format_iso9660.c | 879 int noff; member 5880 idr_register(struct idr *idr, struct isoent *isoent, int weight, int noff) in idr_register() argument 5888 idrent->noff = noff; in idr_register() 5910 if (wnp->noff + numsize != wnp_ext_off) { in idr_extend_identifier() 5913 memmove(p + wnp->noff + numsize, p + wnp_ext_off, in idr_extend_identifier() 5915 wnp->isoent->ext_off = wnp_ext_off = wnp->noff + numsize; in idr_extend_identifier() 5928 p = (unsigned char *)n->isoent->identifier + n->noff; in idr_resolve() 6039 int ext_off, noff, weight; in isoent_gen_iso9660_identifier() local 6180 noff = 5; in isoent_gen_iso9660_identifier() 6182 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 | 1189 uint64_t noff; in zvol_cdev_ioctl() local 1193 noff = *off; in zvol_cdev_ioctl() 1197 error = dmu_offset_next(zv->zv_objset, ZVOL_OBJ, hole, &noff); in zvol_cdev_ioctl() 1200 *off = noff; in zvol_cdev_ioctl()
|