| /freebsd/usr.bin/etdump/ |
| H A D | etdump.c | 125 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 D | space_map.c | 166 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 D | spa_log_spacemap.c | 1307 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 D | metaslab.c | 6342 uint64_t entry_offset = ms->ms_id * entry_size; in metaslab_update_ondisk_flush_data() local 6358 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 D | DebugNamesDWARFIndex.cpp | 202 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 D | archive_read_support_format_ar.c | 58 int64_t entry_offset; member 472 ar->entry_offset = 0; in ar_parse_common_header() 506 *offset = ar->entry_offset; in archive_read_format_ar_read_data() 507 ar->entry_offset += bytes_read; in archive_read_format_ar_read_data() 524 *offset = ar->entry_offset; in archive_read_format_ar_read_data()
|
| H A D | archive_read_support_format_cpio.c | 181 int64_t entry_offset; member 404 cpio->entry_offset = 0; in archive_read_format_cpio_read_header() 480 *offset = cpio->entry_offset; in archive_read_format_cpio_read_data() 481 cpio->entry_offset += bytes_read; in archive_read_format_cpio_read_data() 492 *offset = cpio->entry_offset; in archive_read_format_cpio_read_data()
|
| H A D | archive_read_support_format_lha.c | 151 int64_t entry_offset; member 732 lha->entry_offset = 0; in archive_read_format_lha_read_header() 1489 *offset = lha->entry_offset; in archive_read_format_lha_read_data() 1519 *offset = lha->entry_offset; in lha_read_data_none() 1540 *offset = lha->entry_offset; in lha_read_data_none() 1541 lha->entry_offset += bytes_avail; in lha_read_data_none() 1629 *offset = lha->entry_offset; in lha_read_data_lzh() 1634 lha->entry_offset += *size; in lha_read_data_lzh() 1636 *offset = lha->entry_offset; in lha_read_data_lzh()
|
| H A D | archive_write_set_format_zip.c | 146 int64_t entry_offset; member 849 zip->entry_offset = zip->written_bytes; in archive_write_zip_header() 2110 archive_le32enc(zip->file_header + 42, (uint32_t)zip->entry_offset); in archive_write_zip_finish_entry() 2117 || zip->entry_offset > ZIP_4GB_MAX) { in archive_write_zip_finish_entry() 2132 if (zip->entry_offset >= ZIP_4GB_MAX) { in archive_write_zip_finish_entry() 2134 archive_le64enc(z, zip->entry_offset); in archive_write_zip_finish_entry() 2164 (uint32_t)zipmin(zip->entry_offset, in archive_write_zip_finish_entry()
|
| H A D | archive_read_support_format_cab.c | 268 int64_t entry_offset; member 1000 cab->entry_offset = 0; in archive_read_format_cab_read_header() 1059 *offset = cab->entry_offset; in archive_read_format_cab_read_data() 1938 *offset = cab->entry_offset; in cab_read_data() 1961 *offset = cab->entry_offset; in cab_read_data() 1962 cab->entry_offset += bytes_avail; in cab_read_data()
|
| H A D | archive_read_support_format_7zip.c | 285 int64_t entry_offset; member 929 zip->entry_offset = 0; in archive_read_format_7zip_read_header() 1117 *offset = zip->entry_offset; in archive_read_format_7zip_read_data() 1165 *offset = zip->entry_offset; in archive_read_format_7zip_read_data() 1166 zip->entry_offset += bytes; in archive_read_format_7zip_read_data()
|
| H A D | archive_read_support_format_tar.c | 129 int64_t entry_offset; member 546 tar->entry_offset = 0; in archive_read_format_tar_read_header() 3137 tar->entry_offset = tar->sparse_list->offset; in gnu_sparse_old_read()
|
| /freebsd/usr.sbin/bhyve/ |
| H A D | pci_passthru.c | 385 size_t entry_offset; in msix_table_read() local 423 entry_offset = offset % MSIX_TABLE_ENTRY_SIZE; in msix_table_read() 427 src8 = (uint8_t *)((uint8_t *)entry + entry_offset); in msix_table_read() 431 src16 = (uint16_t *)((uint8_t *)entry + entry_offset); in msix_table_read() 435 src32 = (uint32_t *)((uint8_t *)entry + entry_offset); in msix_table_read() 439 src64 = (uint64_t *)((uint8_t *)entry + entry_offset); in msix_table_read() 459 size_t entry_offset; in msix_table_write() local 495 entry_offset = offset % MSIX_TABLE_ENTRY_SIZE; in msix_table_write() 499 assert(entry_offset % 4 == 0); in msix_table_write() 502 dest32 = (uint32_t *)((uint8_t *)entry + entry_offset); in msix_table_write()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/ |
| H A D | ObjectContainerMachOFileset.cpp | 233 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/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | CompactUnwindInfo.cpp | 563 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 D | bcma_erom.c | 943 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 D | mac.c | 7372 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()
|