Home
last modified time | relevance | path

Searched refs:last_offset (Results 1 – 25 of 25) sorted by relevance

/freebsd-12.1/usr.bin/patch/
H A Dpatch.c130 static LINENUM last_offset = 0; variable
322 newwhere = pch_newfirst() + last_offset; in main()
342 if (last_offset) in main()
344 last_offset, in main()
345 last_offset == 1L ? "" : "s"); in main()
450 last_offset = 0; in reinitialize_almost_everything()
650 LINENUM first_guess = pch_first() + last_offset; in locate_hunk()
676 last_offset, offset); in locate_hunk()
678 last_offset = offset; in locate_hunk()
684 last_offset, -offset); in locate_hunk()
[all …]
/freebsd-12.1/sys/kern/
H A Dsubr_disk.c158 head->last_offset = 0; in bioq_init()
170 head->last_offset = bp->bio_offset + bp->bio_length; in bioq_remove()
192 head->last_offset = bp->bio_offset; in bioq_insert_head()
205 head->last_offset = bp->bio_offset; in bioq_insert_tail()
235 return ((uoff_t)(bp->bio_offset - head->last_offset)); in bioq_bio_key()
/freebsd-12.1/sys/dev/mlx4/mlx4_core/
H A Dmlx4_qp.c532 u32 last_offset; in mlx4_create_zones() local
609 if (((last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones()
612 (!(last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones()
613 !((last_offset + requested_size - 1) & in mlx4_create_zones()
620 if (last_offset & MLX4_BF_QP_SKIP_MASK) in mlx4_create_zones()
621 last_offset = candidate_offset; in mlx4_create_zones()
625 if (last_offset > max_table_offset) { in mlx4_create_zones()
630 bf_mask - (last_offset & bf_mask), in mlx4_create_zones()
637 bf_mask - (last_offset & bf_mask), in mlx4_create_zones()
644 last_offset = candidate_offset; in mlx4_create_zones()
[all …]
/freebsd-12.1/usr.bin/mkuzip/
H A Dmkuzip.c107 uint64_t offset, last_offset; in main() local
268 last_offset = 0; in main()
291 if (chit != NULL && chit->offset == last_offset) { in main()
305 last_offset = offset; in main()
/freebsd-12.1/contrib/libarchive/libarchive/test/
H A Dtest_sparse_basic.c331 int64_t offset, expected_offset, last_offset; in verify_sparse_file() local
340 last_offset = 0; in verify_sparse_file()
347 if (offset > last_offset) { in verify_sparse_file()
418 last_offset = offset + bytes_read; in verify_sparse_file()
421 if (last_offset < archive_entry_size(ae)) { in verify_sparse_file()
/freebsd-12.1/contrib/libarchive/libarchive/
H A Darchive_write_set_format_pax.c819 int64_t offset, length, last_offset = 0; in archive_write_pax_header() local
823 last_offset = offset + length; in archive_write_pax_header()
828 if (last_offset < archive_entry_size(entry_main)) in archive_write_pax_header()
1967 int64_t last_offset; in sparse_list_add() local
1971 last_offset = 0; in sparse_list_add()
1973 last_offset = pax->sparse_tail->offset + in sparse_list_add()
1976 if (last_offset < offset) { in sparse_list_add()
1978 r = _sparse_list_add_block(pax, last_offset, in sparse_list_add()
1979 offset - last_offset, 1); in sparse_list_add()
H A Darchive_read_support_format_rar5.c94 int64_t last_offset; /* Used in sanity checks. */ member
3450 if(offset != rar->file.last_offset + rar->file.last_size) { in push_data_ready()
3465 rar->file.last_offset = offset; in push_data_ready()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_initialize.c79 uint64_t last_offset = vd->vdev_initialize_offset[txg & TXG_MASK]; in vdev_initialize_zap_update_sync() local
86 if (last_offset > 0) { in vdev_initialize_zap_update_sync()
87 vd->vdev_initialize_last_offset = last_offset; in vdev_initialize_zap_update_sync()
90 sizeof (last_offset), 1, &last_offset, tx)); in vdev_initialize_zap_update_sync()
H A Ddmu_send.c1876 uint64_t last_offset; member
2303 drrw->drr_offset < rwa->last_offset)) { in receive_write()
2307 rwa->last_offset = drrw->drr_offset; in receive_write()
/freebsd-12.1/sys/dev/usb/net/
H A Dif_cdce.c1222 uint32_t last_offset; in cdce_ncm_fill_tx_frames() local
1232 last_offset = offset; in cdce_ncm_fill_tx_frames()
1239 cdce_ncm_tx_zero(pc, last_offset, offset); in cdce_ncm_fill_tx_frames()
1285 last_offset = offset; in cdce_ncm_fill_tx_frames()
1292 cdce_ncm_tx_zero(pc, last_offset, offset); in cdce_ncm_fill_tx_frames()
1322 offset = last_offset; in cdce_ncm_fill_tx_frames()
1334 cdce_ncm_tx_zero(pc, last_offset, offset); in cdce_ncm_fill_tx_frames()
/freebsd-12.1/sys/dev/drm2/radeon/
H A Dradeon_gart.c842 uint64_t eoffset, last_offset = 0; in radeon_vm_bo_set_addr() local
868 last_offset = 0; in radeon_vm_bo_set_addr()
875 if (soffset >= last_offset && eoffset <= tmp->soffset) { in radeon_vm_bo_set_addr()
887 last_offset = tmp->eoffset; in radeon_vm_bo_set_addr()
/freebsd-12.1/sys/sys/
H A Dbio.h139 off_t last_offset; member
/freebsd-12.1/contrib/ntp/ntpd/
H A Dntp_loopfilter.c169 double last_offset; /* last offset (s) */ variable
665 dtemp = SQUARE(max(fabs(fp_offset - last_offset), in local_clock()
1034 last_offset = clock_offset = offset; in rstclock()
H A Dntp_refclock.c699 if (cal_enable && fabs(last_offset) < sys_mindisp && sys_peer != in refclock_receive()
H A Dntp_request.c1270 DTOLFP(last_offset, &ltmp); in loop_info()
1271 HTONL_FP(&ltmp, &li->last_offset); in loop_info()
H A Dntp_control.c2001 ctl_putdbl6(sys_var[CS_OFFSET].text, last_offset * 1e3); in ctl_putsys()
/freebsd-12.1/contrib/binutils/binutils/
H A Ddwarf.c2297 unsigned long last_offset = 0; in display_debug_loc() local
2332 last_offset = debug_information [i].loc_offsets [0]; in display_debug_loc()
2342 if (last_offset > in display_debug_loc()
2348 last_offset = debug_information [i].loc_offsets [j]; in display_debug_loc()
2668 unsigned long last_offset = 0; in display_debug_ranges() local
2703 last_offset = debug_information [i].range_lists [0]; in display_debug_ranges()
2713 if (last_offset > in display_debug_ranges()
2719 last_offset = debug_information [i].range_lists [j]; in display_debug_ranges()
/freebsd-12.1/contrib/ntp/include/
H A Dntpd.h426 extern double last_offset; /* last clock offset (s) */
H A Dntp_request.h465 l_fp last_offset; member
/freebsd-12.1/contrib/ntp/ntpdc/
H A Dlayout.std143 offsetof(last_offset) = 0
H A Dntpdc_ops.c922 NTOHL_FP(&il->last_offset, &tempts); in loopinfo()
932 NTOHL_FP(&il->last_offset, &tempts); in loopinfo()
/freebsd-12.1/usr.sbin/ntp/ntpdc/
H A Dnl.c287 (int) offsetof(struct info_loop, last_offset));
/freebsd-12.1/contrib/subversion/subversion/libsvn_fs_x/
H A Dindex.c808 apr_uint64_t last_offset = 0; in encode_l2p_page() local
841 - last_offset)); in encode_l2p_page()
842 last_offset = sorted[i].offset; in encode_l2p_page()
/freebsd-12.1/sys/dev/de/
H A Dif_de.c3338 int total_len = 0, last_offset = 0; in tulip_rx_intr() local
3417 last_offset += TULIP_RX_BUFLEN; in tulip_rx_intr()
3436 me->m_len = total_len - last_offset; in tulip_rx_intr()
/freebsd-12.1/contrib/binutils/bfd/
H A Delflink.c8720 bfd_vma last_offset; in elf_link_input_bfd() local
8740 last_offset = o->output_offset; in elf_link_input_bfd()
8742 last_offset += o->output_section->vma; in elf_link_input_bfd()
8765 irela->r_offset = last_offset; in elf_link_input_bfd()
8777 last_offset = irela->r_offset; in elf_link_input_bfd()