/freebsd/contrib/file/src/ |
H A D | readelf.c | 551 size_t noff, size_t doff, int *flags) in do_bid_note() argument 596 size_t noff, size_t doff, int *flags) in do_os_note() argument 695 size_t noff, size_t doff, int *flags) in do_pax_note() argument 1162 size_t noff, doff; in donote() local 1206 noff = offset; in donote() 1227 namesz, descsz, noff, doff, flags)) in donote() 1358 off_t noff, coff, name_off, offs; in doshn() local 1475 noff = 0; in doshn() 1477 if (noff >= CAST(off_t, xsh_size)) in doshn() 1479 noff = donote(ms, nbuf, CAST(size_t, noff), in doshn() [all …]
|
/freebsd/contrib/ntp/scripts/monitoring/ |
H A D | ntploopwatch | 1347 local($noff); 1349 $noff = 0 if $noff < 0; 1351 return (@fpos[$[,$[+1], ($noff == $fpos[$[+2]) ? $loffset[$[] : $noff); 1369 local($noff,$key); 1373 $noff = 0 if $noff < 0; 1374 return (@fpos[$[,$[+1],$noff); 1397 $noff = int($F_size{$key} / $RecordSize); 1398 $noff -= $cnt - @loffset; 1399 $noff = 0 if $noff < 0; 1400 $noff *= $RecordSize; [all …]
|
/freebsd/sys/fs/tmpfs/ |
H A D | tmpfs_vnops.c | 2084 return (noff); in tmpfs_seek_data_locked() 2088 return (noff); in tmpfs_seek_data_locked() 2097 return (noff + PAGE_SIZE - (noff & PAGE_MASK)); in tmpfs_seek_next() 2117 for (;; noff = tmpfs_seek_next(noff)) { in tmpfs_seek_hole_locked() 2123 m = vm_page_next(m), noff = tmpfs_seek_next(noff)) in tmpfs_seek_hole_locked() 2137 return (noff); in tmpfs_seek_hole_locked() 2145 off_t noff; in tmpfs_seek_datahole() local 2151 noff = *off; in tmpfs_seek_datahole() 2152 if (noff < 0) in tmpfs_seek_datahole() 2160 noff = seekdata ? tmpfs_seek_data_locked(obj, noff) : in tmpfs_seek_datahole() [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() 1309 for (j = i; j < noff; j++) in ees_process() 1322 tmp = coffs[noff-1]; in ees_process() 1339 noff-1, in ees_process() 1340 (coffs[noff-1].l_f) / 4295, in ees_process() [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 | 2583 off_t noff; in vn_bmap_seekhole_locked() local 2597 noff = *off; in vn_bmap_seekhole_locked() 2598 if (noff < 0 || noff >= size) { in vn_bmap_seekhole_locked() 2607 for (bn = noff / bsize; noff < size; bn++, noff += bsize - in vn_bmap_seekhole_locked() 2608 noff % bsize) { in vn_bmap_seekhole_locked() 2616 noff = bn * bsize; in vn_bmap_seekhole_locked() 2617 if (noff < *off) in vn_bmap_seekhole_locked() 2618 noff = *off; in vn_bmap_seekhole_locked() 2622 if (noff > size) in vn_bmap_seekhole_locked() 2623 noff = size; in vn_bmap_seekhole_locked() [all …]
|
H A D | vfs_bio.c | 3779 vm_ooffset_t foff, noff, eoff; in vfs_clean_pages_dirty_buf() local 3793 noff = (foff + PAGE_SIZE) & ~(off_t)PAGE_MASK; in vfs_clean_pages_dirty_buf() 3794 eoff = noff; in vfs_clean_pages_dirty_buf() 3800 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 | 109 uint64_t noff = (uint64_t)*off; /* new offset */ in zfs_holey_common() local 115 if (noff >= file_sz) { in zfs_holey_common() 129 error = dmu_offset_next(ZTOZSB(zp)->z_os, zp->z_id, hole, &noff); in zfs_holey_common() 150 if (noff > file_sz) { in zfs_holey_common() 152 noff = file_sz; in zfs_holey_common() 155 if (noff < *off) in zfs_holey_common() 157 *off = noff; in zfs_holey_common()
|
H A D | zfs_ioctl.c | 5003 offset_t off, noff; in zfs_ioc_recv_impl() local 5021 noff = off = zfs_file_off(input_fp); in zfs_ioc_recv_impl() 5206 *read_bytes = off - noff; in zfs_ioc_recv_impl()
|
/freebsd/sys/netinet6/ |
H A D | icmp6.c | 454 int code, error, icmp6len, ip6len, noff, off, sum; in icmp6_input() local 589 noff = sizeof(struct ip6_hdr); in icmp6_input() 591 n->m_len = noff + sizeof(struct icmp6_hdr); in icmp6_input() 598 n->m_pkthdr.len = n0len + (noff - off); in icmp6_input() 609 noff = off; in icmp6_input() 616 icmp6_reflect(n, noff); in icmp6_input() 685 noff = sizeof(struct ip6_hdr); in icmp6_input() 739 noff = sizeof(struct ip6_hdr); in icmp6_input() 748 icmp6_reflect(n, noff); in icmp6_input()
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_mem2.c | 2415 size_t noff; in netmap_mem_ext_create() local 2422 noff = off + p->_objsize; in netmap_mem_ext_create() 2423 if (noff < PAGE_SIZE) { in netmap_mem_ext_create() 2424 off = noff; in netmap_mem_ext_create() 2428 while (noff >= PAGE_SIZE) { in netmap_mem_ext_create() 2430 noff -= PAGE_SIZE; in netmap_mem_ext_create() 2433 nm_prdis("noff %zu page %p nr_pages %d", noff, in netmap_mem_ext_create() 2435 if (noff > 0 && !nm_isset(p->invalid_bitmap, j) && in netmap_mem_ext_create() 2443 nm_prdis("non contiguous at off %zu, drop", noff); in netmap_mem_ext_create() 2448 off = noff; in netmap_mem_ext_create()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_write_set_format_iso9660.c | 879 int noff; member 5877 idrent->noff = noff; in idr_register() 6169 noff = 5; in isoent_gen_iso9660_identifier() 6171 noff = ext_off; in isoent_gen_iso9660_identifier() 6174 noff = ext_off - 3; in isoent_gen_iso9660_identifier() 6176 noff = ext_off - 2; in isoent_gen_iso9660_identifier() 6180 noff = ext_off; in isoent_gen_iso9660_identifier() 6319 noff = ext_off - 6; in isoent_gen_joliet_identifier() 6321 noff = ext_off - 4; in isoent_gen_joliet_identifier() 6323 noff = ext_off - 2; in isoent_gen_joliet_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 | 1198 uint64_t noff; in zvol_cdev_ioctl() local 1202 noff = *off; in zvol_cdev_ioctl() 1205 error = dmu_offset_next(zv->zv_objset, ZVOL_OBJ, hole, &noff); in zvol_cdev_ioctl() 1207 *off = noff; in zvol_cdev_ioctl()
|