Home
last modified time | relevance | path

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

/freebsd/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()
736 last_offset, offset); in locate_hunk()
738 last_offset = offset; in locate_hunk()
744 last_offset, -offset); in locate_hunk()
[all …]
/freebsd/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.c2377 u_int digest_start, last_offset, m_len, offset; in tls13_find_record_type() local
2381 last_offset = 0; in tls13_find_record_type()
2394 last_offset = offset + m_len; in tls13_find_record_type()
2397 if (last_offset < tls->params.tls_hlen) in tls13_find_record_type()
2401 *trailer_len = tls_len - last_offset + 1; in tls13_find_record_type()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_qp.c532 u32 last_offset; in mlx4_create_zones() local
585 last_offset = dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW]; in mlx4_create_zones()
609 if (((last_offset & MLX4_BF_QP_SKIP_MASK) && in mlx4_create_zones()
610 ((int)(max_table_offset - last_offset)) >= 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()
618 (last_offset | MLX4_BF_QP_SKIP_MASK | bf_mask) + 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()
[all …]
/freebsd/sys/gdb/
H A Dgdb_main.c307 size_t last_offset;
331 qx->last_offset += len; in qXfer_drain()
357 qx->last_offset = 0; in init_qXfer_ctx()
453 if (offset != ctx.qXfer.last_offset) { in do_qXfer_threads_read()
455 __func__, offset, ctx.qXfer.last_offset); in do_qXfer_threads_read()
562 ctx.qXfer.last_offset = 0; in do_qXfer_threads_read()
302 size_t last_offset; global() member
/freebsd/usr.bin/mkuzip/
H A Dmkuzip.c125 uint64_t offset, last_offset; in main() local
326 last_offset = 0; in main()
349 if (chit != NULL && chit->offset == last_offset) { in main()
363 last_offset = offset; in main()
/freebsd/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/sys/contrib/openzfs/module/zfs/
H A Dvdev_initialize.c76 uint64_t last_offset = vd->vdev_initialize_offset[txg & TXG_MASK]; in vdev_initialize_zap_update_sync() local
83 if (last_offset > 0) { in vdev_initialize_zap_update_sync()
84 vd->vdev_initialize_last_offset = last_offset; in vdev_initialize_zap_update_sync()
87 sizeof (last_offset), 1, &last_offset, tx)); in vdev_initialize_zap_update_sync()
H A Dvdev_mirror.c185 uint64_t last_offset; in vdev_mirror_load() local
205 last_offset = vdev_queue_last_offset(vd); in vdev_mirror_load()
209 if (last_offset == zio_offset) { in vdev_mirror_load()
225 if (last_offset == zio_offset) { in vdev_mirror_load()
235 offset_diff = (int64_t)(last_offset - zio_offset); in vdev_mirror_load()
H A Dvdev_trim.c233 uint64_t last_offset = vd->vdev_trim_offset[txg & TXG_MASK]; in vdev_trim_zap_update_sync() local
240 if (last_offset > 0 || vd->vdev_trim_last_offset == UINT64_MAX) { in vdev_trim_zap_update_sync()
243 last_offset = 0; in vdev_trim_zap_update_sync()
245 vd->vdev_trim_last_offset = last_offset; in vdev_trim_zap_update_sync()
248 sizeof (last_offset), 1, &last_offset, tx)); in vdev_trim_zap_update_sync()
H A Ddmu_recv.c124 uint64_t last_offset; member
2225 ASSERT3U(rwa->last_offset, ==, last_drrw->drr_offset); in flush_write_batch_impl()
2450 drrw->drr_offset < rwa->last_offset)) { in receive_process_write_record()
2467 rwa->last_offset = drrw->drr_offset; in receive_process_write_record()
/freebsd/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/sys/dev/usb/net/
H A Dif_cdce.c1383 uint32_t last_offset; in cdce_ncm_fill_tx_frames() local
1393 last_offset = offset; in cdce_ncm_fill_tx_frames()
1400 cdce_ncm_tx_zero(pc, last_offset, offset); in cdce_ncm_fill_tx_frames()
1445 last_offset = offset; in cdce_ncm_fill_tx_frames()
1452 cdce_ncm_tx_zero(pc, last_offset, offset); in cdce_ncm_fill_tx_frames()
1482 offset = last_offset; in cdce_ncm_fill_tx_frames()
1494 cdce_ncm_tx_zero(pc, last_offset, offset); in cdce_ncm_fill_tx_frames()
/freebsd/sys/sys/
H A Dbio.h140 off_t last_offset; member
/freebsd/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;
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/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/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/usr.sbin/ntp/ntpdc/
H A Dnl.c286 (int) offsetof(struct info_loop, last_offset));