kvm_pgtable_visit_ctx
typedef int (*kvm_pgtable_visitor_fn_t)(const struct kvm_pgtable_visit_ctx *ctx,
static inline bool kvm_pgtable_walk_shared(const struct kvm_pgtable_visit_ctx *ctx)
static int __check_page_state_visitor(const struct kvm_pgtable_visit_ctx *ctx,
static int __create_fixmap_slot_cb(const struct kvm_pgtable_visit_ctx *ctx,
static int fix_host_ownership_walker(const struct kvm_pgtable_visit_ctx *ctx,
static int fix_hyp_pgtable_refcnt_walker(const struct kvm_pgtable_visit_ctx *ctx,
static int stage2_map_walk_table_pre(const struct kvm_pgtable_visit_ctx *ctx,
static int stage2_map_walk_leaf(const struct kvm_pgtable_visit_ctx *ctx,
static int stage2_map_walker(const struct kvm_pgtable_visit_ctx *ctx,
static int stage2_unmap_walker(const struct kvm_pgtable_visit_ctx *ctx,
static int stage2_attr_walker(const struct kvm_pgtable_visit_ctx *ctx,
const struct kvm_pgtable_visit_ctx *ctx,
static int stage2_age_walker(const struct kvm_pgtable_visit_ctx *ctx,
static int stage2_flush_walker(const struct kvm_pgtable_visit_ctx *ctx,
static int stage2_split_walker(const struct kvm_pgtable_visit_ctx *ctx,
static int stage2_free_leaf(const struct kvm_pgtable_visit_ctx *ctx)
static int stage2_free_table_post(const struct kvm_pgtable_visit_ctx *ctx)
struct kvm_pgtable_visit_ctx ctx = {
static int stage2_free_walker(const struct kvm_pgtable_visit_ctx *ctx,
static bool kvm_pgtable_walk_skip_bbm_tlbi(const struct kvm_pgtable_visit_ctx *ctx)
static bool kvm_pgtable_walk_skip_cmo(const struct kvm_pgtable_visit_ctx *ctx)
static int leaf_walker(const struct kvm_pgtable_visit_ctx *ctx,
static bool kvm_block_mapping_supported(const struct kvm_pgtable_visit_ctx *ctx, u64 phys)
static bool hyp_map_walker_try_leaf(const struct kvm_pgtable_visit_ctx *ctx,
static int hyp_map_walker(const struct kvm_pgtable_visit_ctx *ctx,
static int hyp_unmap_walker(const struct kvm_pgtable_visit_ctx *ctx,
static int hyp_free_walker(const struct kvm_pgtable_visit_ctx *ctx,
static bool stage2_try_set_pte(const struct kvm_pgtable_visit_ctx *ctx, kvm_pte_t new)
static bool stage2_try_break_pte(const struct kvm_pgtable_visit_ctx *ctx,
static void stage2_make_pte(const struct kvm_pgtable_visit_ctx *ctx, kvm_pte_t new)
static void stage2_unmap_put_pte(const struct kvm_pgtable_visit_ctx *ctx,
static u64 stage2_map_walker_phys_addr(const struct kvm_pgtable_visit_ctx *ctx,
static bool stage2_leaf_mapping_allowed(const struct kvm_pgtable_visit_ctx *ctx,
static int stage2_map_walker_try_leaf(const struct kvm_pgtable_visit_ctx *ctx,
static int kvm_ptdump_visitor(const struct kvm_pgtable_visit_ctx *ctx,