Home
last modified time | relevance | path

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

/freebsd/usr.bin/etdump/
H A Detdump.c125 size_t entry_offset; in dump_section() local
139 entry_offset = offset + i * ET_BOOT_ENTRY_SIZE; in dump_section()
140 if (entry_offset + sizeof(boot_catalog_section_entry) > in dump_section()
145 (boot_catalog_section_entry *)&buffer[entry_offset]; in dump_section()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspace_map.c166 uint64_t entry_offset = (raw_offset << sm->sm_shift) + in space_map_iterate() local
170 VERIFY0(P2PHASE(entry_offset, 1ULL << sm->sm_shift)); in space_map_iterate()
172 ASSERT3U(entry_offset, >=, sm->sm_start); in space_map_iterate()
173 ASSERT3U(entry_offset, <, sm->sm_start + sm->sm_size); in space_map_iterate()
175 ASSERT3U(entry_offset + entry_run, <=, in space_map_iterate()
181 .sme_offset = entry_offset, in space_map_iterate()
355 uint64_t entry_offset = in space_map_incremental_destroy() local
359 VERIFY0(P2PHASE(entry_offset, 1ULL << sm->sm_shift)); in space_map_incremental_destroy()
361 VERIFY3U(entry_offset, >=, sm->sm_start); in space_map_incremental_destroy()
362 VERIFY3U(entry_offset, <, sm->sm_start + sm->sm_size); in space_map_incremental_destroy()
[all …]
H A Dspa_log_spacemap.c1307 uint64_t entry_offset = ms->ms_id * entry_size; in spa_ld_unflushed_txgs() local
1310 entry_offset, entry_size, &entry, 0); in spa_ld_unflushed_txgs()
H A Dmetaslab.c6346 uint64_t entry_offset = ms->ms_id * entry_size; in metaslab_update_ondisk_flush_data() local
6362 dmu_write(spa_meta_objset(spa), object, entry_offset, entry_size, in metaslab_update_ondisk_flush_data()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDebugNamesDWARFIndex.cpp202 uint64_t entry_offset = nte.getEntryOffset(); in GetGlobalVariables() local
203 llvm::Expected<DebugNames::Entry> entry_or = ni.getEntry(&entry_offset); in GetGlobalVariables()
204 for (; entry_or; entry_or = ni.getEntry(&entry_offset)) { in GetGlobalVariables()
235 uint64_t entry_offset = nte.getEntryOffset(); in GetGlobalVariables() local
236 llvm::Expected<DebugNames::Entry> entry_or = ni.getEntry(&entry_offset); in GetGlobalVariables()
237 for (; entry_or; entry_or = ni.getEntry(&entry_offset)) { in GetGlobalVariables()
641 uint64_t entry_offset = nte.getEntryOffset(); in GetFunctions() local
642 llvm::Expected<DebugNames::Entry> entry_or = ni.getEntry(&entry_offset); in GetFunctions()
643 for (; entry_or; entry_or = ni.getEntry(&entry_offset)) { in GetFunctions()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_ar.c59 int64_t entry_offset; member
452 ar->entry_offset = 0; in ar_parse_common_header()
483 *offset = ar->entry_offset; in archive_read_format_ar_read_data()
484 ar->entry_offset += bytes_read; in archive_read_format_ar_read_data()
493 *offset = ar->entry_offset; in archive_read_format_ar_read_data()
H A Darchive_read_support_format_cpio.c184 int64_t entry_offset; member
414 cpio->entry_offset = 0; in archive_read_format_cpio_read_header()
488 *offset = cpio->entry_offset; in archive_read_format_cpio_read_data()
489 cpio->entry_offset += bytes_read; in archive_read_format_cpio_read_data()
500 *offset = cpio->entry_offset; in archive_read_format_cpio_read_data()
H A Darchive_read_support_format_lha.c150 int64_t entry_offset; member
726 lha->entry_offset = 0; in archive_read_format_lha_read_header()
1482 *offset = lha->entry_offset; in archive_read_format_lha_read_data()
1512 *offset = lha->entry_offset; in lha_read_data_none()
1533 *offset = lha->entry_offset; in lha_read_data_none()
1534 lha->entry_offset += bytes_avail; in lha_read_data_none()
1621 *offset = lha->entry_offset; in lha_read_data_lzh()
1626 lha->entry_offset += *size; in lha_read_data_lzh()
1628 *offset = lha->entry_offset; in lha_read_data_lzh()
H A Darchive_write_set_format_zip.c147 int64_t entry_offset; member
848 zip->entry_offset = zip->written_bytes; in archive_write_zip_header()
2129 archive_le32enc(zip->file_header + 42, (uint32_t)zip->entry_offset); in archive_write_zip_finish_entry()
2136 || zip->entry_offset > ZIP_4GB_MAX) { in archive_write_zip_finish_entry()
2151 if (zip->entry_offset >= ZIP_4GB_MAX) { in archive_write_zip_finish_entry()
2153 archive_le64enc(z, zip->entry_offset); in archive_write_zip_finish_entry()
2183 (uint32_t)zipmin(zip->entry_offset, in archive_write_zip_finish_entry()
H A Darchive_read_support_format_cab.c371 int64_t entry_offset; member
1110 cab->entry_offset = 0; in archive_read_format_cab_read_header()
1169 *offset = cab->entry_offset; in archive_read_format_cab_read_data()
2037 *offset = cab->entry_offset; in cab_read_data()
2060 *offset = cab->entry_offset; in cab_read_data()
2061 cab->entry_offset += bytes_avail; in cab_read_data()
H A Darchive_read_support_format_7zip.c283 int64_t entry_offset; member
935 zip->entry_offset = 0; in archive_read_format_7zip_read_header()
1109 *offset = zip->entry_offset; in archive_read_format_7zip_read_data()
1157 *offset = zip->entry_offset; in archive_read_format_7zip_read_data()
1158 zip->entry_offset += bytes; in archive_read_format_7zip_read_data()
H A Darchive_read_support_format_tar.c130 int64_t entry_offset; member
542 tar->entry_offset = 0; in archive_read_format_tar_read_header()
3217 tar->entry_offset = tar->sparse_list->offset; in gnu_sparse_old_read()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/
H A DObjectContainerMachOFileset.cpp233 const lldb::offset_t entry_offset = entry.fileoff + file_offset; in GetModuleSpecifications() local
235 file, entry_offset, file_size - entry_offset, specs)) { in GetModuleSpecifications()
/freebsd/usr.sbin/bhyve/
H A Dpci_passthru.c434 size_t entry_offset; in msix_table_read() local
472 entry_offset = offset % MSIX_TABLE_ENTRY_SIZE; in msix_table_read()
476 src8 = (uint8_t *)((uint8_t *)entry + entry_offset); in msix_table_read()
480 src16 = (uint16_t *)((uint8_t *)entry + entry_offset); in msix_table_read()
484 src32 = (uint32_t *)((uint8_t *)entry + entry_offset); in msix_table_read()
488 src64 = (uint64_t *)((uint8_t *)entry + entry_offset); in msix_table_read()
508 size_t entry_offset; in msix_table_write() local
544 entry_offset = offset % MSIX_TABLE_ENTRY_SIZE; in msix_table_write()
548 assert(entry_offset % 4 == 0); in msix_table_write()
551 dest32 = (uint32_t *)((uint8_t *)entry + entry_offset); in msix_table_write()
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DCompactUnwindInfo.cpp563 offset_t entry_offset = BinarySearchRegularSecondPage( in GetCompactUnwindInfoForFunction() local
567 if (entry_offset == LLDB_INVALID_OFFSET) { in GetCompactUnwindInfoForFunction()
570 entry_offset += 4; // skip over functionOffset in GetCompactUnwindInfoForFunction()
571 unwind_info.encoding = m_unwindinfo_data.GetU32(&entry_offset); // encoding in GetCompactUnwindInfoForFunction()
/freebsd/sys/dev/bhnd/bcma/
H A Dbcma_erom.c943 bus_size_t entry_offset; in bcma_erom_corecfg_fill_port_regions() local
981 entry_offset = bcma_erom_tell(erom); in bcma_erom_corecfg_fill_port_regions()
1005 bcma_erom_seek(erom, entry_offset); in bcma_erom_corecfg_fill_port_regions()
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dmac.c7372 u32 entry_idx, entry_offset, vdev_idx; in ath12k_mac_mlo_sta_set_link_active() local
7381 entry_offset = vdev_id % 32; in ath12k_mac_mlo_sta_set_link_active()
7387 param.vdev_bitmap[entry_idx] |= 1 << entry_offset; in ath12k_mac_mlo_sta_set_link_active()
7401 entry_offset = vdev_id % 32; in ath12k_mac_mlo_sta_set_link_active()
7407 param.inactive_vdev_bitmap[entry_idx] |= 1 << entry_offset; in ath12k_mac_mlo_sta_set_link_active()