Home
last modified time | relevance | path

Searched refs:new_offset (Results 1 – 15 of 15) sorted by path

/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c464 off_t new_offset = 0; in write_file() local
533 new_offset = (off_t)dehdr.e_phoff; in write_file()
561 shdr.sh_offset = new_offset; in write_file()
654 new_offset = (off_t)shdr.sh_offset; in write_file()
656 new_offset += shdr.sh_size; in write_file()
673 pad = new_offset % shdr.sh_addralign; in write_file()
678 shdr.sh_offset = new_offset; in write_file()
679 new_offset += shdr.sh_size; in write_file()
693 size_t r = new_offset % align; in write_file()
696 new_offset += align - r; in write_file()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_open_fd.c135 int64_t old_offset, new_offset; in file_skip() local
155 ((new_offset = lseek(mine->fd, skip, SEEK_CUR)) >= 0)) in file_skip()
156 return (new_offset - old_offset); in file_skip()
H A Darchive_read_open_filename.c482 int64_t old_offset, new_offset; in file_skip_lseek() local
484 off_t old_offset, new_offset; in file_skip_lseek() local
495 (new_offset = lseek(mine->fd, request, SEEK_CUR)) >= 0) in file_skip_lseek()
496 return (new_offset - old_offset); in file_skip_lseek()
H A Darchive_write_set_format_iso9660.c8025 int64_t read_offset, write_offset, new_offset; in zisofs_rewind_boot_file() local
8044 new_offset = wb_offset(a); in zisofs_rewind_boot_file()
8095 file->content.offset_of_temp = new_offset; in zisofs_rewind_boot_file()
/freebsd/contrib/libxo/libxo/
H A Dlibxo.c4042 ssize_t new_offset = xbp->xb_curp - xbp->xb_bufp; in xo_buf_append_div() local
4047 xbp->xb_bufp + base_offset, new_offset - base_offset); in xo_buf_append_div()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DDWARFExpression.cpp1706 lldb::offset_t new_offset = offset + skip_offset; in Evaluate() local
1710 if (new_offset <= opcodes.GetByteSize()) in Evaluate()
1711 offset = new_offset; in Evaluate()
1740 lldb::offset_t new_offset = offset + bra_offset; in Evaluate() local
1744 if (new_offset <= opcodes.GetByteSize()) in Evaluate()
1745 offset = new_offset; in Evaluate()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugMacro.cpp69 lldb::offset_t new_offset = 0, str_offset = 0; in ReadMacroEntries() local
113 new_offset = debug_macro_data.GetU64(offset); in ReadMacroEntries()
115 new_offset = debug_macro_data.GetU32(offset); in ReadMacroEntries()
117 sym_file_dwarf->ParseDebugMacros(&new_offset))); in ReadMacroEntries()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dabd_os.c377 size_t new_offset = ABD_SCATTER(sabd).abd_offset + off; in abd_get_offset_scatter() local
379 (new_offset & PAGE_MASK) + size); in abd_get_offset_scatter()
402 ABD_SCATTER(abd).abd_offset = new_offset & PAGE_MASK; in abd_get_offset_scatter()
406 &ABD_SCATTER(sabd).abd_chunks[new_offset >> PAGE_SHIFT], in abd_get_offset_scatter()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dabd_os.c869 size_t new_offset = ABD_SCATTER(sabd).abd_offset + off; in abd_get_offset_scatter() local
881 if (new_offset < sg->length) in abd_get_offset_scatter()
883 new_offset -= sg->length; in abd_get_offset_scatter()
887 ABD_SCATTER(abd).abd_offset = new_offset; in abd_get_offset_scatter()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_raidz.c3680 uint64_t new_offset = in raidz_reflow_sync() local
3689 old_offset, new_offset - old_offset, in raidz_reflow_sync()
3696 RRSS_SCRATCH_INVALID_SYNCED_REFLOW, new_offset); in raidz_reflow_sync()
/freebsd/sys/contrib/zstd/doc/educational_decoder/
H A Dzstd_decompress.c1620 const int new_offset = in->bit_offset - num_bits; in IO_rewind_bits() local
1623 const i64 bytes = -(new_offset - 7) / 8; in IO_rewind_bits()
1629 in->bit_offset = ((new_offset % 8) + 8) % 8; in IO_rewind_bits()
/freebsd/sys/dev/ice/
H A Dice_adminq_cmd.h2385 __le16 new_offset; member
H A Dice_dcb.c203 cmd->new_offset = CPU_TO_LE16(offset); in ice_aq_update_lldp_tlv()
/freebsd/sys/dev/ixl/
H A Di40e_adminq_cmd.h2647 __le16 new_offset; member
/freebsd/sys/dev/jedec_dimm/
H A Djedec_dimm.c146 uint16_t orig_offset, uint16_t *new_offset, bool *page_changed);
198 uint16_t *new_offset, bool *page_changed) in jedec_dimm_adjust_offset() argument
205 *new_offset = orig_offset; in jedec_dimm_adjust_offset()
237 *new_offset = orig_offset - JEDEC_SPD_PAGE_SIZE; in jedec_dimm_adjust_offset()
786 uint16_t new_offset; in jedec_dimm_field_to_str() local
799 if (new_offset >= JEDEC_SPD_PAGE_SIZE) { in jedec_dimm_field_to_str()
801 device_printf(sc->dev, "invalid offset 0x%04x\n", new_offset); in jedec_dimm_field_to_str()
804 if ((new_offset + len) >= JEDEC_SPD_PAGE_SIZE) { in jedec_dimm_field_to_str()
808 new_offset, len); in jedec_dimm_field_to_str()
839 rc = smbus_readb(sc->smbus, sc->spd_addr, (new_offset + i), in jedec_dimm_field_to_str()
[all …]