/linux-6.3-rc2/arch/x86/kvm/mmu/ |
A D | tdp_iter.c | 27 iter->level = iter->root_level; in tdp_iter_restart() 42 int root_level = root->role.level; in tdp_iter_start() local 44 WARN_ON(root_level < 1); in tdp_iter_start() 45 WARN_ON(root_level > PT64_ROOT_MAX_LEVEL); in tdp_iter_start() 48 iter->root_level = root_level; in tdp_iter_start() 50 iter->pt_path[iter->root_level - 1] = (tdp_ptep_t)root->spt; in tdp_iter_start() 134 if (iter->level == iter->root_level) in try_step_up()
|
A D | tdp_iter.h | 77 int root_level; member
|
A D | tdp_mmu.h | 69 int *root_level);
|
A D | tdp_mmu.c | 1859 int *root_level) in kvm_tdp_mmu_get_walk() argument 1866 *root_level = vcpu->arch.mmu->root_role.level; in kvm_tdp_mmu_get_walk()
|
A D | mmu.c | 4032 static int get_walk(struct kvm_vcpu *vcpu, u64 addr, u64 *sptes, int *root_level) in get_walk() argument 4039 *root_level = iterator.level; in get_walk()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A 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()
|
A D | amdgpu_vm.h | 344 enum amdgpu_vm_level root_level; member
|
A D | amdgpu_vm.c | 1963 adev->vm_manager.root_level = AMDGPU_VM_PDB2; in amdgpu_vm_adjust_size() 1966 adev->vm_manager.root_level = AMDGPU_VM_PDB1; in amdgpu_vm_adjust_size() 1969 adev->vm_manager.root_level = AMDGPU_VM_PDB0; in amdgpu_vm_adjust_size() 2080 r = amdgpu_vm_pt_create(adev, vm, adev->vm_manager.root_level, in amdgpu_vm_init()
|
/linux-6.3-rc2/fs/btrfs/ |
A D | qgroup.c | 1939 if (root_level == 0) in adjust_slots_upwards() 1953 if (level != root_level) { in adjust_slots_upwards() 2036 int cur_level = root_level; in qgroup_trace_extent_swap() 2058 src_path->slots[root_level] = dst_path->slots[root_level]; in qgroup_trace_extent_swap() 2166 root_level < 0 || root_level >= BTRFS_MAX_LEVEL - 1 || in qgroup_trace_new_subtree_blocks() 2186 __func__, root_level, root_level, cur_level); in qgroup_trace_new_subtree_blocks() 2319 BUG_ON(root_level < 0 || root_level >= BTRFS_MAX_LEVEL); in btrfs_qgroup_trace_subtree() 2346 .level = root_level in btrfs_qgroup_trace_subtree() 2354 if (root_level == 0) { in btrfs_qgroup_trace_subtree() 2374 path->slots[root_level] = 0; in btrfs_qgroup_trace_subtree() [all …]
|
A D | qgroup.h | 346 u64 root_gen, int root_level);
|
A D | backref.c | 601 int root_level; in resolve_indirect_ref() local 634 root_level = btrfs_header_level(root->commit_root); in resolve_indirect_ref() 636 root_level = btrfs_header_level(root->node); in resolve_indirect_ref() 638 root_level = btrfs_old_root_level(root, ctx->time_seq); in resolve_indirect_ref() 640 if (root_level + 1 == level) in resolve_indirect_ref()
|
A D | send.c | 7445 int *level, int root_level) in tree_move_next_or_upnext() argument 7454 if (*level == root_level) { in tree_move_next_or_upnext() 7477 int *level, int root_level, in tree_advance() argument 7485 ret = tree_move_next_or_upnext(path, level, root_level); in tree_advance() 7558 int root_level; in restart_after_relocation() local 7605 root_level = btrfs_header_level(sctx->send_root->commit_root); in restart_after_relocation() 7606 if (root_level > 0) { in restart_after_relocation() 7607 ret = replace_node_with_clone(left_path, root_level); in restart_after_relocation() 7612 root_level = btrfs_header_level(sctx->parent_root->commit_root); in restart_after_relocation() 7613 if (root_level > 0) { in restart_after_relocation() [all …]
|
A D | accessors.h | 725 BTRFS_SETGET_STACK_FUNCS(root_level, struct btrfs_root_item, level, 8); 884 root_level, 8);
|
A D | transaction.c | 1916 super->root_level = root_item->level; in update_super_roots()
|
/linux-6.3-rc2/fs/xfs/scrub/ |
A D | btree.c | 484 unsigned int root_level = cur->bc_nlevels - 1; in xchk_btree_check_minrecs() local 504 root_block = xfs_btree_get_block(cur, root_level, &root_bp); in xchk_btree_check_minrecs() 505 root_maxrecs = cur->bc_ops->get_dmaxrecs(cur, root_level); in xchk_btree_check_minrecs() 517 if (level < root_level) in xchk_btree_check_minrecs()
|
/linux-6.3-rc2/arch/x86/kvm/vmx/ |
A D | vmx.h | 411 u64 construct_eptp(struct kvm_vcpu *vcpu, hpa_t root_hpa, int root_level);
|
A D | vmx.c | 3355 u64 construct_eptp(struct kvm_vcpu *vcpu, hpa_t root_hpa, int root_level) in construct_eptp() argument 3359 eptp |= (root_level == 5) ? VMX_EPTP_PWL_5 : VMX_EPTP_PWL_4; in construct_eptp() 3370 int root_level) in vmx_load_mmu_pgd() argument 3378 eptp = construct_eptp(vcpu, root_hpa, root_level); in vmx_load_mmu_pgd()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | btrfs_tree.h | 678 __u8 root_level; member
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | kvm_host.h | 1662 int root_level);
|
/linux-6.3-rc2/arch/x86/kvm/svm/ |
A D | svm.c | 4067 int root_level) in svm_load_mmu_pgd() argument 4079 } else if (root_level >= PT64_ROOT_4LEVEL) { in svm_load_mmu_pgd()
|