Home
last modified time | relevance | path

Searched refs:new_offset (Results 1 – 17 of 17) sorted by relevance

/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()
557 pad = new_offset % shdr.sh_addralign; in write_file()
560 new_offset += shdr.sh_addralign - pad; 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()
676 new_offset += shdr.sh_addralign - pad; in write_file()
678 shdr.sh_offset = new_offset; in write_file()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugMacro.cpp69 lldb::offset_t new_offset = 0, str_offset = 0; in ReadMacroEntries()
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()
68 lldb::offset_t new_offset = 0, str_offset = 0; ReadMacroEntries() local
/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()
771 uint16_t new_offset; in jedec_dimm_field_to_str() local
776 rc = jedec_dimm_adjust_offset(sc, offset, &new_offset, &page_changed); in jedec_dimm_field_to_str()
784 if (new_offset >= JEDEC_SPD_PAGE_SIZE) { in jedec_dimm_field_to_str()
786 device_printf(sc->dev, "invalid offset 0x%04x\n", new_offset); in jedec_dimm_field_to_str()
789 if ((new_offset + len) >= JEDEC_SPD_PAGE_SIZE) { in jedec_dimm_field_to_str()
793 new_offset, len); in jedec_dimm_field_to_str()
[all …]
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dabd_os.c376 size_t new_offset) in abd_get_offset_from_pages() argument
384 size_t parent_offset = new_offset / PAGE_SIZE; in abd_get_offset_from_pages()
401 size_t new_offset = ABD_SCATTER(sabd).abd_offset + off; in abd_get_offset_scatter() local
403 (new_offset & PAGE_MASK) + size); in abd_get_offset_scatter()
426 ABD_SCATTER(abd).abd_offset = new_offset & PAGE_MASK; in abd_get_offset_scatter()
430 new_offset)); in abd_get_offset_scatter()
435 &ABD_SCATTER(sabd).abd_chunks[new_offset >> PAGE_SHIFT], in abd_get_offset_scatter()
/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/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_report.cpp268 uptr new_offset = untagged_addr - local_end; in PrintStackAllocations() local
269 if (new_offset < offset) { in PrintStackAllocations()
270 offset = new_offset; in PrintStackAllocations()
276 uptr new_offset = local_beg - untagged_addr; in PrintStackAllocations() local
277 if (new_offset < offset) { in PrintStackAllocations()
278 offset = new_offset; in PrintStackAllocations()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dabd_os.c803 size_t new_offset = ABD_SCATTER(sabd).abd_offset + off; in abd_get_offset_scatter() local
815 if (new_offset < sg->length) in abd_get_offset_scatter()
817 new_offset -= sg->length; in abd_get_offset_scatter()
821 ABD_SCATTER(abd).abd_offset = new_offset; in abd_get_offset_scatter()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DDWARFExpression.cpp1490 lldb::offset_t new_offset = offset + skip_offset; in Evaluate() local
1494 if (new_offset <= opcodes.GetByteSize()) in Evaluate()
1495 offset = new_offset; in Evaluate()
1516 lldb::offset_t new_offset = offset + bra_offset; in Evaluate() local
1520 if (new_offset <= opcodes.GetByteSize()) in Evaluate()
1521 offset = new_offset; in Evaluate()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Minidump/
H A DMinidumpFileBuilder.cpp88 offset_t new_offset = m_core_file->SeekFromStart(m_saved_data_size); in AddHeaderAndCalculateDirectories() local
89 if (new_offset != m_saved_data_size) in AddHeaderAndCalculateDirectories()
93 new_offset, m_saved_data_size); in AddHeaderAndCalculateDirectories()
/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_dcb.c203 cmd->new_offset = CPU_TO_LE16(offset); in ice_aq_update_lldp_tlv()
H A Dice_adminq_cmd.h2508 __le16 new_offset;
2372 __le16 new_offset; global() member
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_raidz.c3718 uint64_t new_offset = in raidz_reflow_sync() local
3727 old_offset, new_offset - old_offset, in raidz_reflow_sync()
3734 RRSS_SCRATCH_INVALID_SYNCED_REFLOW, new_offset); in raidz_reflow_sync()
/freebsd/sys/dev/ixl/
H A Di40e_adminq_cmd.h2647 __le16 new_offset; member
/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()