Home
last modified time | relevance | path

Searched refs:first_bit (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/system/
H A Dram-block-attributes.c42 const uint64_t first_bit = section->offset_within_region / block_size; in ram_block_attributes_rdm_is_populated() local
44 first_bit + int128_get64(section->size) / block_size - 1; in ram_block_attributes_rdm_is_populated()
48 first_bit); in ram_block_attributes_rdm_is_populated()
80 unsigned long first_bit, last_bit; in ram_block_attributes_for_each_populated_section() local
85 first_bit = section->offset_within_region / block_size; in ram_block_attributes_for_each_populated_section()
86 first_bit = find_next_bit(attr->bitmap, attr->bitmap_size, in ram_block_attributes_for_each_populated_section()
87 first_bit); in ram_block_attributes_for_each_populated_section()
89 while (first_bit < attr->bitmap_size) { in ram_block_attributes_for_each_populated_section()
92 offset = first_bit * block_size; in ram_block_attributes_for_each_populated_section()
94 first_bit + 1) - 1; in ram_block_attributes_for_each_populated_section()
[all …]
/openbmc/qemu/hw/virtio/
H A Dvirtio-mem.c226 unsigned long first_bit, last_bit; in virtio_mem_for_each_plugged_range() local
230 first_bit = find_first_bit(vmem->bitmap, vmem->bitmap_size); in virtio_mem_for_each_plugged_range()
231 while (first_bit < vmem->bitmap_size) { in virtio_mem_for_each_plugged_range()
232 offset = first_bit * vmem->block_size; in virtio_mem_for_each_plugged_range()
234 first_bit + 1) - 1; in virtio_mem_for_each_plugged_range()
235 size = (last_bit - first_bit + 1) * vmem->block_size; in virtio_mem_for_each_plugged_range()
241 first_bit = find_next_bit(vmem->bitmap, vmem->bitmap_size, in virtio_mem_for_each_plugged_range()
254 unsigned long first_bit, last_bit; in virtio_mem_for_each_plugged_section() local
258 first_bit = s->offset_within_region / vmem->block_size; in virtio_mem_for_each_plugged_section()
259 first_bit = find_next_bit(vmem->bitmap, vmem->bitmap_size, first_bit); in virtio_mem_for_each_plugged_section()
[all …]
/openbmc/qemu/scripts/kvm/
H A Dvmxcap92 def first_bit(key): function
97 for bits in sorted(self.bits.keys(), key = first_bit):
/openbmc/qemu/tests/qemu-iotests/
H A D257114 def first_bit(self): member in EmulatedBitmap
392 ebitmap.clear_bit(ebitmap.first_bit)
396 fail_bit = ebitmap.first_bit
/openbmc/qemu/hw/core/
H A Dnuma.c211 int i, first_bit, last_bit; in parse_numa_hmat_lb() local
353 first_bit = ctz64(bitmap_copy); in parse_numa_hmat_lb()
354 temp_base = UINT64_C(1) << first_bit; in parse_numa_hmat_lb()
363 if ((last_bit - first_bit) > UINT16_BITS || in parse_numa_hmat_lb()
/openbmc/qemu/hw/pci-host/
H A Daspeed_pcie.c394 int first_bit = -1; in aspeed_pcie_cfg_translate_write() local
415 if (first_bit < 0) { in aspeed_pcie_cfg_translate_write()
416 first_bit = i; in aspeed_pcie_cfg_translate_write()
423 *addr += first_bit; in aspeed_pcie_cfg_translate_write()
/openbmc/qemu/tests/unit/
H A Dtest-hbitmap.c828 bool first_bit = hbitmap_get(data->hb, start); in test_hbitmap_next_x_check_range() local
831 next < end && hbitmap_get(data->hb, next) == first_bit; in test_hbitmap_next_x_check_range()
841 g_assert_cmpint(next_dirty, ==, first_bit ? start : next); in test_hbitmap_next_x_check_range()
842 g_assert_cmpint(next_zero, ==, first_bit ? next : start); in test_hbitmap_next_x_check_range()
/openbmc/qemu/hw/pci/
H A Dpcie_aer.c424 uint8_t first_bit = ctz32(err->status); in pcie_aer_update_log() local
432 errcap |= PCI_ERR_CAP_FEP(first_bit); in pcie_aer_update_log()