Home
last modified time | relevance | path

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

/freebsd-14.2/usr.bin/patch/
H A Dpatch.c131 static LINENUM last_offset = 0; variable
363 newwhere = pch_newfirst() + last_offset; in main()
383 if (last_offset) in main()
385 last_offset, in main()
386 last_offset == 1L ? "" : "s"); in main()
508 last_offset = 0; in reinitialize_almost_everything()
708 LINENUM first_guess = pch_first() + last_offset; in locate_hunk()
734 last_offset, offset); in locate_hunk()
736 last_offset = offset; in locate_hunk()
742 last_offset, -offset); in locate_hunk()
[all …]
/freebsd-14.2/sys/kern/
H A Dsubr_disk.c156 head->last_offset = 0; in bioq_init()
168 head->last_offset = bp->bio_offset + bp->bio_length; in bioq_remove()
192 head->last_offset = bp->bio_offset; in bioq_insert_head()
206 head->last_offset = bp->bio_offset; in bioq_insert_tail()
236 return ((uoff_t)(bp->bio_offset - head->last_offset)); in bioq_bio_key()
H A Duipc_ktls.c2300 u_int digest_start, last_offset, m_len, offset; in tls13_find_record_type() local
2304 last_offset = 0; in tls13_find_record_type()
2317 last_offset = offset + m_len; in tls13_find_record_type()
2320 if (last_offset < tls->params.tls_hlen) in tls13_find_record_type()
2324 *trailer_len = tls_len - last_offset + 1; in tls13_find_record_type()
/freebsd-14.2/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-14.2/sys/gdb/
H A Dgdb_main.c303 size_t last_offset; member
327 qx->last_offset += len; in qXfer_drain()
353 qx->last_offset = 0; in init_qXfer_ctx()
449 if (offset != ctx.qXfer.last_offset) { in do_qXfer_threads_read()
451 __func__, offset, ctx.qXfer.last_offset); in do_qXfer_threads_read()
560 ctx.qXfer.last_offset = 0; in do_qXfer_threads_read()
/freebsd-14.2/usr.bin/mkuzip/
H A Dmkuzip.c126 uint64_t offset, last_offset; in main() local
327 last_offset = 0; in main()
350 if (chit != NULL && chit->offset == last_offset) { in main()
364 last_offset = offset; in main()
/freebsd-14.2/contrib/libarchive/libarchive/test/
H A Dtest_sparse_basic.c335 int64_t offset, expected_offset, last_offset; in verify_sparse_file() local
344 last_offset = 0; in verify_sparse_file()
351 if (offset > last_offset) { in verify_sparse_file()
424 last_offset = offset + bytes_read; in verify_sparse_file()
427 if (last_offset < archive_entry_size(ae)) { in verify_sparse_file()
/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Dvdev_initialize.c73 uint64_t last_offset = vd->vdev_initialize_offset[txg & TXG_MASK]; in vdev_initialize_zap_update_sync() local
80 if (last_offset > 0) { in vdev_initialize_zap_update_sync()
81 vd->vdev_initialize_last_offset = last_offset; in vdev_initialize_zap_update_sync()
84 sizeof (last_offset), 1, &last_offset, tx)); in vdev_initialize_zap_update_sync()
H A Dvdev_mirror.c184 uint64_t last_offset; in vdev_mirror_load() local
204 last_offset = vdev_queue_last_offset(vd); in vdev_mirror_load()
208 if (last_offset == zio_offset) { in vdev_mirror_load()
224 if (last_offset == zio_offset) { in vdev_mirror_load()
234 offset_diff = (int64_t)(last_offset - zio_offset); in vdev_mirror_load()
H A Dvdev_trim.c229 uint64_t last_offset = vd->vdev_trim_offset[txg & TXG_MASK]; in vdev_trim_zap_update_sync() local
236 if (last_offset > 0 || vd->vdev_trim_last_offset == UINT64_MAX) { in vdev_trim_zap_update_sync()
239 last_offset = 0; in vdev_trim_zap_update_sync()
241 vd->vdev_trim_last_offset = last_offset; in vdev_trim_zap_update_sync()
244 sizeof (last_offset), 1, &last_offset, tx)); in vdev_trim_zap_update_sync()
H A Ddmu_recv.c123 uint64_t last_offset; member
2184 ASSERT3U(rwa->last_offset, ==, last_drrw->drr_offset); in flush_write_batch_impl()
2406 drrw->drr_offset < rwa->last_offset)) { in receive_process_write_record()
2423 rwa->last_offset = drrw->drr_offset; in receive_process_write_record()
/freebsd-14.2/contrib/libarchive/libarchive/
H A Darchive_write_set_format_pax.c854 int64_t offset, length, last_offset = 0; local
858 last_offset = offset + length;
863 if (last_offset < archive_entry_size(entry_main))
2059 int64_t last_offset; local
2063 last_offset = 0;
2065 last_offset = pax->sparse_tail->offset +
2068 if (last_offset < offset) {
2070 r = _sparse_list_add_block(pax, last_offset,
2071 offset - last_offset, 1);
H A Darchive_read_support_format_rar5.c94 int64_t last_offset; /* Used in sanity checks. */ member
3696 if(offset != rar->file.last_offset + rar->file.last_size) { in push_data_ready()
3711 rar->file.last_offset = offset; in push_data_ready()
/freebsd-14.2/sys/dev/usb/net/
H A Dif_cdce.c1384 uint32_t last_offset; in cdce_ncm_fill_tx_frames() local
1394 last_offset = offset; in cdce_ncm_fill_tx_frames()
1401 cdce_ncm_tx_zero(pc, last_offset, offset); in cdce_ncm_fill_tx_frames()
1446 last_offset = offset; in cdce_ncm_fill_tx_frames()
1453 cdce_ncm_tx_zero(pc, last_offset, offset); in cdce_ncm_fill_tx_frames()
1483 offset = last_offset; in cdce_ncm_fill_tx_frames()
1495 cdce_ncm_tx_zero(pc, last_offset, offset); in cdce_ncm_fill_tx_frames()
/freebsd-14.2/sys/sys/
H A Dbio.h143 off_t last_offset; member
/freebsd-14.2/contrib/ntp/ntpd/
H A Dntp_loopfilter.c166 double last_offset; /* last offset (s) */ variable
662 dtemp = SQUARE(max(fabs(fp_offset - last_offset), in local_clock()
1047 last_offset = clock_offset = offset; in rstclock()
H A Dntp_refclock.c703 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.c1995 ctl_putdbl6(sys_var[CS_OFFSET].text, last_offset * 1e3); in ctl_putsys()
/freebsd-14.2/contrib/ntp/include/
H A Dntpd.h470 extern double last_offset; /* last clock offset (s) */
H A Dntp_request.h465 l_fp last_offset; member
/freebsd-14.2/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-14.2/usr.sbin/ntp/ntpdc/
H A Dnl.c286 (int) offsetof(struct info_loop, last_offset));