Home
last modified time | relevance | path

Searched refs:newpriv (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/target/riscv/
H A Dpmu.c193 target_ulong newpriv, bool new_virt) in riscv_pmu_icount_update_priv() argument
216 g_assert(newpriv <= PRV_S); in riscv_pmu_icount_update_priv()
227 snapshot_new[newpriv] = current_icount; in riscv_pmu_icount_update_priv()
233 target_ulong newpriv, bool new_virt) in riscv_pmu_cycle_update_priv() argument
256 g_assert(newpriv <= PRV_S); in riscv_pmu_cycle_update_priv()
263 snapshot_new[newpriv] = current_ticks; in riscv_pmu_cycle_update_priv()
268 void riscv_pmu_update_fixed_ctrs(CPURISCVState *env, target_ulong newpriv, in riscv_pmu_update_fixed_ctrs() argument
271 riscv_pmu_cycle_update_priv(env, newpriv, new_virt); in riscv_pmu_update_fixed_ctrs()
272 riscv_pmu_icount_update_priv(env, newpriv, new_virt); in riscv_pmu_update_fixed_ctrs()
H A Dpmu.h37 void riscv_pmu_update_fixed_ctrs(CPURISCVState *env, target_ulong newpriv,
H A Dcpu_helper.c774 void riscv_cpu_set_mode(CPURISCVState *env, target_ulong newpriv, bool virt_en) in riscv_cpu_set_mode() argument
776 g_assert(newpriv <= PRV_M && newpriv != PRV_RESERVED); in riscv_cpu_set_mode()
778 if (newpriv != env->priv || env->virt_enabled != virt_en) { in riscv_cpu_set_mode()
783 riscv_pmu_update_fixed_ctrs(env, newpriv, virt_en); in riscv_cpu_set_mode()
787 env->priv = newpriv; in riscv_cpu_set_mode()
H A Dcpu.h602 void riscv_cpu_set_mode(CPURISCVState *env, target_ulong newpriv, bool virt_en);
/openbmc/linux/net/netfilter/
H A Dnft_quota.c122 struct nft_quota *newpriv = nft_obj_data(newobj); in nft_quota_obj_update() local
126 newquota = atomic64_read(&newpriv->quota); in nft_quota_obj_update()
128 priv->flags = newpriv->flags; in nft_quota_obj_update()
H A Dnft_synproxy.c341 struct nft_synproxy *newpriv = nft_obj_data(newobj); in nft_synproxy_obj_update() local
344 priv->info = newpriv->info; in nft_synproxy_obj_update()