Home
last modified time | relevance | path

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

/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
396 ebitmap.clear_bit(ebitmap.first_bit)
400 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/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()