Home
last modified time | relevance | path

Searched refs:popmap (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/vm/
H A Dvm_reserv.c168 bitstr_t bit_decl(popmap, VM_LEVEL_0_NPAGES_MAX);
397 KASSERT(bit_ntest(rv->popmap, 0, VM_LEVEL_0_NPAGES - 1, 0), in vm_reserv_insert()
417 return (((uint16_t *)rv->popmap)[index / 16] == UINT16_MAX); in vm_reserv_is_sublevel_full()
420 return (((uint64_t *)rv->popmap)[index] == UINT64_MAX && in vm_reserv_is_sublevel_full()
421 ((uint64_t *)rv->popmap)[index + 1] == UINT64_MAX); in vm_reserv_is_sublevel_full()
444 KASSERT(bit_test(rv->popmap, index), in vm_reserv_depopulate()
462 bit_clear(rv->popmap, index); in vm_reserv_depopulate()
568 KASSERT(!bit_test(rv->popmap, index), in vm_reserv_populate()
579 bit_set(rv->popmap, index); in vm_reserv_populate()
682 if (!bit_ntest(rv->popmap, index, index + npages - 1, 0)) in vm_reserv_alloc_contig()
[all …]
/freebsd/sys/kern/
H A Dsubr_pctrie.c1304 pn_popmap_t popmap; in DB_SHOW_COMMAND() local
1312 for (popmap = node->pn_popmap; popmap != 0; popmap ^= 1 << slot) { in DB_SHOW_COMMAND()
1313 slot = ffs(popmap) - 1; in DB_SHOW_COMMAND()