Home
last modified time | relevance | path

Searched refs:root_count (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/lib/
Dtest_objagg.c30 unsigned int root_count; member
138 world->root_count++; in root_create()
147 world->root_count--; in root_destroy()
154 unsigned int orig_root_count = world->root_count; in test_nodelta_obj_get()
169 if (world->root_count != orig_root_count + 1) { in test_nodelta_obj_get()
175 if (world->root_count != orig_root_count) { in test_nodelta_obj_get()
207 unsigned int orig_root_count = world->root_count; in test_nodelta_obj_put()
212 if (world->root_count != orig_root_count - 1) { in test_nodelta_obj_put()
217 if (world->root_count != orig_root_count) { in test_nodelta_obj_put()
598 if (orig_root_count != world->root_count) { in check_expect()
[all …]
Dobjagg.c20 unsigned int root_count; member
244 min = objagg->hints->root_count; in objagg_obj_root_id_alloc()
626 objagg_stats->root_count++; in objagg_stats_get()
669 hnode->root_id = objagg_hints->root_count++; in objagg_hints_node_create()
1024 objagg_stats->root_count++; in objagg_hints_stats_get()
/linux-6.12.1/arch/x86/kernel/
Damd_nb.c288 u16 root_count = 0; in amd_cache_northbridges() local
309 root_count++; in amd_cache_northbridges()
311 if (root_count) { in amd_cache_northbridges()
312 roots_per_misc = root_count / misc_count; in amd_cache_northbridges()
318 if (!roots_per_misc || (root_count % roots_per_misc)) { in amd_cache_northbridges()
/linux-6.12.1/arch/x86/kvm/mmu/
Dmmutrace.h15 __field(__u32, root_count) \
22 __entry->root_count = sp->root_count; \
45 __entry->root_count, \
Dmmu_internal.h101 int root_count; member
Dmmu.c2577 if (!sp->root_count) { in __kvm_mmu_prepare_zap_page()
2649 WARN_ON_ONCE(!sp->role.invalid || sp->root_count); in kvm_mmu_commit_zap_page()
2672 if (sp->root_count) in kvm_mmu_zap_oldest_mmu_pages()
3610 if (!--sp->root_count && sp->role.invalid) in mmu_free_root_page()
3723 ++sp->root_count; in mmu_alloc_root()
/linux-6.12.1/drivers/md/dm-vdo/
Dencodings.c370 block_count_t flat_page_count, root_count; in decode_block_map_state_2_0() local
398 decode_u64_le(buffer, offset, &root_count); in decode_block_map_state_2_0()
409 .root_count = root_count, in decode_block_map_state_2_0()
426 encode_u64_le(buffer, offset, state.root_count); in encode_block_map_state_2_0()
439 block_count_t vdo_compute_new_forest_pages(root_count_t root_count, in vdo_compute_new_forest_pages() argument
445 page_count_t level_size = DIV_ROUND_UP(leaf_pages, root_count); in vdo_compute_new_forest_pages()
457 total_pages += (new_pages * root_count); in vdo_compute_new_forest_pages()
Dblock-map.c2237 page_index = (lock->tree_slots[0].page_index / zone->block_map->root_count); in vdo_find_block_map_slot()
2302 root_count_t root_index = page_number % map->root_count; in vdo_find_block_map_page_pbn()
2303 page_number_t page_index = page_number / map->root_count; in vdo_find_block_map_page_pbn()
2380 for (root = 0; root < forest->map->root_count; root++) { in make_segment()
2431 for (root = 0; root < forest->map->root_count; root++) in deforest()
2455 new_pages = vdo_compute_new_forest_pages(map->root_count, old_boundary, in make_forest()
2462 result = vdo_allocate_extended(struct forest, map->root_count, in make_forest()
2655 page_count_t last_tree_root = (leaf_pages - 1) % map->root_count; in compute_boundary()
2656 page_count_t level_pages = leaf_pages / map->root_count; in compute_boundary()
2684 result = vdo_allocate_extended(struct cursors, map->root_count, in vdo_traverse_forest()
[all …]
Dblock-map.h259 block_count_t root_count; member
Dencodings.h188 block_count_t root_count; member
892 block_count_t __must_check vdo_compute_new_forest_pages(root_count_t root_count,
/linux-6.12.1/include/linux/
Dobjagg.h44 unsigned int root_count; member
/linux-6.12.1/drivers/cxl/core/
Dcdat.c980 int root_count = 0; in cxl_region_shared_upstream_bandwidth_update() local
1002 root_count += is_root; in cxl_region_shared_upstream_bandwidth_update()
1006 if (root_count && root_count != cxlr->params.nr_targets) { in cxl_region_shared_upstream_bandwidth_update()
1017 if (!root_count) { in cxl_region_shared_upstream_bandwidth_update()
/linux-6.12.1/fs/btrfs/
Dbackref.c45 int root_count; in check_extent_in_eb() local
66 &root_count); in check_extent_in_eb()
70 for (int i = 0; i < root_count; i++) { in check_extent_in_eb()
2462 int root_count; in iterate_extent_inodes() local
2466 &root_ids, &root_count); in iterate_extent_inodes()
2468 for (int i = 0; i < root_count; i++) { in iterate_extent_inodes()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_erp.c1394 if (hstats->root_count < ostats->root_count) in mlxsw_sp_acl_erp_hints_check()
/linux-6.12.1/Documentation/virt/kvm/x86/
Dmmu.rst242 root_count / tdp_mmu_root_count:
243 root_count is a reference counter for root shadow pages in Shadow MMU.