/linux-6.1.9/arch/x86/kvm/mmu/ |
D | tdp_iter.c | 31 iter->level = iter->root_level; in tdp_iter_restart() 46 int root_level = root->role.level; in tdp_iter_start() local 48 WARN_ON(root_level < 1); in tdp_iter_start() 49 WARN_ON(root_level > PT64_ROOT_MAX_LEVEL); in tdp_iter_start() 52 iter->root_level = root_level; in tdp_iter_start() 54 iter->pt_path[iter->root_level - 1] = (tdp_ptep_t)root->spt; in tdp_iter_start() 138 if (iter->level == iter->root_level) in try_step_up()
|
D | tdp_iter.h | 77 int root_level; member
|
D | tdp_mmu.h | 64 int *root_level);
|
D | tdp_mmu.c | 1860 int *root_level) in kvm_tdp_mmu_get_walk() argument 1867 *root_level = vcpu->arch.mmu->root_role.level; in kvm_tdp_mmu_get_walk()
|
D | mmu.c | 3963 static int get_walk(struct kvm_vcpu *vcpu, u64 addr, u64 *sptes, int *root_level) in get_walk() argument 3970 *root_level = iterator.level; in get_walk()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vm_pt.c | 79 shift = amdgpu_vm_pt_level_shift(adev, adev->vm_manager.root_level); in amdgpu_vm_pt_num_entries() 80 if (level == adev->vm_manager.root_level) in amdgpu_vm_pt_num_entries() 104 shift = amdgpu_vm_pt_level_shift(adev, adev->vm_manager.root_level); in amdgpu_vm_pt_num_ats_entries() 120 if (level <= adev->vm_manager.root_level) in amdgpu_vm_pt_entries_mask() 179 cursor->level = adev->vm_manager.root_level; in amdgpu_vm_pt_start() 378 unsigned int level = adev->vm_manager.root_level; in amdgpu_vm_pt_clear() 734 enum amdgpu_vm_level root = adev->vm_manager.root_level; in amdgpu_vm_pt_is_root_clean() 765 level += params->adev->vm_manager.root_level; in amdgpu_vm_pde_update()
|
D | amdgpu_vm.h | 348 enum amdgpu_vm_level root_level; member
|
D | amdgpu_vm.c | 1954 adev->vm_manager.root_level = AMDGPU_VM_PDB2; in amdgpu_vm_adjust_size() 1957 adev->vm_manager.root_level = AMDGPU_VM_PDB1; in amdgpu_vm_adjust_size() 1960 adev->vm_manager.root_level = AMDGPU_VM_PDB0; in amdgpu_vm_adjust_size() 2071 r = amdgpu_vm_pt_create(adev, vm, adev->vm_manager.root_level, in amdgpu_vm_init()
|
/linux-6.1.9/fs/btrfs/ |
D | qgroup.c | 1928 static int adjust_slots_upwards(struct btrfs_path *path, int root_level) in adjust_slots_upwards() argument 1934 if (root_level == 0) in adjust_slots_upwards() 1937 while (level <= root_level) { in adjust_slots_upwards() 1948 if (level != root_level) { in adjust_slots_upwards() 1968 eb = path->nodes[root_level]; in adjust_slots_upwards() 1969 if (path->slots[root_level] >= btrfs_header_nritems(eb)) in adjust_slots_upwards() 2024 int dst_level, int root_level, in qgroup_trace_extent_swap() argument 2031 int cur_level = root_level; in qgroup_trace_extent_swap() 2034 BUG_ON(dst_level > root_level); in qgroup_trace_extent_swap() 2036 if (btrfs_header_level(src_eb) != root_level) in qgroup_trace_extent_swap() [all …]
|
D | qgroup.h | 343 u64 root_gen, int root_level);
|
D | backref.c | 551 int root_level; in resolve_indirect_ref() local 584 root_level = btrfs_header_level(root->commit_root); in resolve_indirect_ref() 586 root_level = btrfs_header_level(root->node); in resolve_indirect_ref() 588 root_level = btrfs_old_root_level(root, time_seq); in resolve_indirect_ref() 590 if (root_level + 1 == level) in resolve_indirect_ref()
|
D | send.c | 7194 int *level, int root_level) in tree_move_next_or_upnext() argument 7203 if (*level == root_level) { in tree_move_next_or_upnext() 7226 int *level, int root_level, in tree_advance() argument 7234 ret = tree_move_next_or_upnext(path, level, root_level); in tree_advance() 7307 int root_level; in restart_after_relocation() local 7354 root_level = btrfs_header_level(sctx->send_root->commit_root); in restart_after_relocation() 7355 if (root_level > 0) { in restart_after_relocation() 7356 ret = replace_node_with_clone(left_path, root_level); in restart_after_relocation() 7361 root_level = btrfs_header_level(sctx->parent_root->commit_root); in restart_after_relocation() 7362 if (root_level > 0) { in restart_after_relocation() [all …]
|
D | ctree.h | 274 u8 root_level; member 2432 BTRFS_SETGET_STACK_FUNCS(root_level, struct btrfs_root_item, level, 8); 2613 root_level, 8);
|
D | transaction.c | 1890 super->root_level = root_item->level; in update_super_roots()
|
/linux-6.1.9/fs/xfs/scrub/ |
D | btree.c | 482 unsigned int root_level = cur->bc_nlevels - 1; in xchk_btree_check_minrecs() local 502 root_block = xfs_btree_get_block(cur, root_level, &root_bp); in xchk_btree_check_minrecs() 503 root_maxrecs = cur->bc_ops->get_dmaxrecs(cur, root_level); in xchk_btree_check_minrecs() 515 if (level < root_level) in xchk_btree_check_minrecs()
|
/linux-6.1.9/arch/x86/kvm/vmx/ |
D | vmx.h | 411 u64 construct_eptp(struct kvm_vcpu *vcpu, hpa_t root_hpa, int root_level);
|
D | vmx.c | 3228 u64 construct_eptp(struct kvm_vcpu *vcpu, hpa_t root_hpa, int root_level) in construct_eptp() argument 3232 eptp |= (root_level == 5) ? VMX_EPTP_PWL_5 : VMX_EPTP_PWL_4; in construct_eptp() 3243 int root_level) in vmx_load_mmu_pgd() argument 3251 eptp = construct_eptp(vcpu, root_hpa, root_level); in vmx_load_mmu_pgd()
|
/linux-6.1.9/arch/x86/include/asm/ |
D | kvm_host.h | 1564 int root_level);
|
/linux-6.1.9/arch/x86/kvm/svm/ |
D | svm.c | 4043 int root_level) in svm_load_mmu_pgd() argument 4055 } else if (root_level >= PT64_ROOT_4LEVEL) { in svm_load_mmu_pgd()
|