Home
last modified time | relevance | path

Searched refs:level_size (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/vc4/
Dvc4_validate.c702 uint32_t level_size; in reloc_tex() local
725 level_size = aligned_width * cpp * aligned_height; in reloc_tex()
727 if (offset < level_size) { in reloc_tex()
732 level_size, offset); in reloc_tex()
736 offset -= level_size; in reloc_tex()
/linux-6.12.1/drivers/md/dm-vdo/
Dencodings.c445 page_count_t level_size = DIV_ROUND_UP(leaf_pages, root_count); in vdo_compute_new_forest_pages() local
452 level_size = DIV_ROUND_UP(level_size, VDO_BLOCK_MAP_ENTRIES_PER_PAGE); in vdo_compute_new_forest_pages()
453 new_sizes->levels[height] = level_size; in vdo_compute_new_forest_pages()
454 new_pages = level_size; in vdo_compute_new_forest_pages()
/linux-6.12.1/fs/btrfs/
Dqgroup.c3342 u32 level_size = 0; in btrfs_qgroup_inherit() local
3471 level_size = fs_info->nodesize; in btrfs_qgroup_inherit()
3474 dstgroup->excl = level_size; in btrfs_qgroup_inherit()
3475 dstgroup->excl_cmpr = level_size; in btrfs_qgroup_inherit()
3476 srcgroup->excl = level_size; in btrfs_qgroup_inherit()
3477 srcgroup->excl_cmpr = level_size; in btrfs_qgroup_inherit()
3536 dst->rfer = src->rfer - level_size; in btrfs_qgroup_inherit()
3537 dst->rfer_cmpr = src->rfer_cmpr - level_size; in btrfs_qgroup_inherit()
3557 dst->excl = src->excl + level_size; in btrfs_qgroup_inherit()
3558 dst->excl_cmpr = src->excl_cmpr + level_size; in btrfs_qgroup_inherit()
Dzstd.c166 size_t level_size = in zstd_calc_ws_mem_sizes() local
171 max_size = max_t(size_t, max_size, level_size); in zstd_calc_ws_mem_sizes()
/linux-6.12.1/drivers/iommu/intel/
Diommu.h922 static inline u64 level_size(int level) in level_size() function
929 return (pfn + level_size(level) - 1) & level_mask(level); in align_to_level()
Diommu.c957 last_pfn < level_pfn + level_size(level) - 1)) { in dma_pte_free_level()
963 pfn += level_size(level); in dma_pte_free_level()
1033 last_pfn >= level_pfn + level_size(level) - 1) { in dma_pte_clear_level()
1051 pfn = level_pfn + level_size(level); in dma_pte_clear_level()
4475 pgsize = level_size(lvl) << VTD_PAGE_SHIFT; in intel_iommu_read_and_clear_dirty()
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dfiji_smumgr.c227 uint32_t level_size = sizeof(avfs_graphics_level); in fiji_setup_graphics_level_structure() local
253 (uint8_t *)(&avfs_graphics_level), level_size, 0x40000), in fiji_setup_graphics_level_structure()