Home
last modified time | relevance | path

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

/freebsd-13.1/usr.bin/patch/
H A Dpatch.c132 static LINENUM last_offset = 0; variable
364 newwhere = pch_newfirst() + last_offset; in main()
384 if (last_offset) in main()
386 last_offset, in main()
387 last_offset == 1L ? "" : "s"); in main()
505 last_offset = 0; in reinitialize_almost_everything()
705 LINENUM first_guess = pch_first() + last_offset; in locate_hunk()
731 last_offset, offset); in locate_hunk()
733 last_offset = offset; in locate_hunk()
739 last_offset, -offset); in locate_hunk()
[all …]
/freebsd-13.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()
194 head->last_offset = bp->bio_offset; in bioq_insert_head()
208 head->last_offset = bp->bio_offset; in bioq_insert_tail()
238 return ((uoff_t)(bp->bio_offset - head->last_offset)); in bioq_bio_key()
/freebsd-13.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-13.1/sys/gdb/
H A Dgdb_main.c305 size_t last_offset; member
329 qx->last_offset += len; in qXfer_drain()
355 qx->last_offset = 0; in init_qXfer_ctx()
451 if (offset != ctx.qXfer.last_offset) { in do_qXfer_threads_read()
453 __func__, offset, ctx.qXfer.last_offset); in do_qXfer_threads_read()
562 ctx.qXfer.last_offset = 0; in do_qXfer_threads_read()
/freebsd-13.1/usr.bin/mkuzip/
H A Dmkuzip.c128 uint64_t offset, last_offset; in main() local
330 last_offset = 0; in main()
353 if (chit != NULL && chit->offset == last_offset) { in main()
367 last_offset = offset; in main()
/freebsd-13.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()
420 last_offset = offset + bytes_read; in verify_sparse_file()
423 if (last_offset < archive_entry_size(ae)) { in verify_sparse_file()
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dvdev_initialize.c77 uint64_t last_offset = vd->vdev_initialize_offset[txg & TXG_MASK]; in vdev_initialize_zap_update_sync() local
84 if (last_offset > 0) { in vdev_initialize_zap_update_sync()
85 vd->vdev_initialize_last_offset = last_offset; in vdev_initialize_zap_update_sync()
88 sizeof (last_offset), 1, &last_offset, tx)); in vdev_initialize_zap_update_sync()
H A Dvdev_mirror.c182 uint64_t last_offset; in vdev_mirror_load() local
202 last_offset = vdev_queue_last_offset(vd); in vdev_mirror_load()
206 if (last_offset == zio_offset) { in vdev_mirror_load()
222 if (last_offset == zio_offset) { in vdev_mirror_load()
232 offset_diff = (int64_t)(last_offset - zio_offset); in vdev_mirror_load()
H A Dvdev_trim.c208 uint64_t last_offset = vd->vdev_trim_offset[txg & TXG_MASK]; in vdev_trim_zap_update_sync() local
215 if (last_offset > 0 || vd->vdev_trim_last_offset == UINT64_MAX) { in vdev_trim_zap_update_sync()
218 last_offset = 0; in vdev_trim_zap_update_sync()
220 vd->vdev_trim_last_offset = last_offset; in vdev_trim_zap_update_sync()
223 sizeof (last_offset), 1, &last_offset, tx)); in vdev_trim_zap_update_sync()
H A Ddmu_recv.c110 uint64_t last_offset; member
1885 ASSERT3U(rwa->last_offset, ==, last_drrw->drr_offset); in flush_write_batch_impl()
2060 drrw->drr_offset < rwa->last_offset)) { in receive_process_write_record()
2077 rwa->last_offset = drrw->drr_offset; in receive_process_write_record()
/freebsd-13.1/contrib/libarchive/libarchive/
H A Darchive_write_set_format_pax.c834 int64_t offset, length, last_offset = 0; in archive_write_pax_header() local
838 last_offset = offset + length; in archive_write_pax_header()
843 if (last_offset < archive_entry_size(entry_main)) in archive_write_pax_header()
2029 int64_t last_offset; in sparse_list_add() local
2033 last_offset = 0; in sparse_list_add()
2035 last_offset = pax->sparse_tail->offset + in sparse_list_add()
2038 if (last_offset < offset) { in sparse_list_add()
2040 r = _sparse_list_add_block(pax, last_offset, in sparse_list_add()
2041 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
3641 if(offset != rar->file.last_offset + rar->file.last_size) { in push_data_ready()
3656 rar->file.last_offset = offset; in push_data_ready()
/freebsd-13.1/sys/dev/usb/net/
H A Dif_cdce.c1386 uint32_t last_offset; in cdce_ncm_fill_tx_frames() local
1396 last_offset = offset; in cdce_ncm_fill_tx_frames()
1403 cdce_ncm_tx_zero(pc, last_offset, offset); in cdce_ncm_fill_tx_frames()
1448 last_offset = offset; in cdce_ncm_fill_tx_frames()
1455 cdce_ncm_tx_zero(pc, last_offset, offset); in cdce_ncm_fill_tx_frames()
1485 offset = last_offset; in cdce_ncm_fill_tx_frames()
1497 cdce_ncm_tx_zero(pc, last_offset, offset); in cdce_ncm_fill_tx_frames()
/freebsd-13.1/sys/sys/
H A Dbio.h143 off_t last_offset; member
/freebsd-13.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-13.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-13.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-13.1/usr.sbin/ntp/ntpdc/
H A Dnl.c287 (int) offsetof(struct info_loop, last_offset));
/freebsd-13.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()