Home
last modified time | relevance | path

Searched refs:new_idx (Results 1 – 3 of 3) sorted by relevance

/arch/x86/events/intel/
Duncore_nhmex.c629 static u64 nhmex_mbox_alter_er(struct perf_event *event, int new_idx, bool modify) in nhmex_mbox_alter_er() argument
642 if (new_idx > orig_idx) { in nhmex_mbox_alter_er()
643 idx = new_idx - orig_idx; in nhmex_mbox_alter_er()
646 idx = orig_idx - new_idx; in nhmex_mbox_alter_er()
658 if (new_idx > orig_idx) in nhmex_mbox_alter_er()
663 reg1->idx = ~0xff | new_idx; in nhmex_mbox_alter_er()
Duncore_snbep.c907 static u64 snbep_pcu_alter_er(struct perf_event *event, int new_idx, bool modify) in snbep_pcu_alter_er() argument
913 if (new_idx > reg1->idx) in snbep_pcu_alter_er()
914 config <<= 8 * (new_idx - reg1->idx); in snbep_pcu_alter_er()
916 config >>= 8 * (reg1->idx - new_idx); in snbep_pcu_alter_er()
919 hwc->config += new_idx - reg1->idx; in snbep_pcu_alter_er()
921 reg1->idx = new_idx; in snbep_pcu_alter_er()
/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c1262 unsigned long new_idx, new_pteg, replace_vpte; in resize_hpt_rehash_hpte() local
1354 new_idx = new_pteg * HPTES_PER_GROUP + (idx % HPTES_PER_GROUP); in resize_hpt_rehash_hpte()
1355 new_hptep = (__be64 *)(new->virt + (new_idx << 4)); in resize_hpt_rehash_hpte()
1374 new->rev[new_idx].guest_rpte = guest_rpte; in resize_hpt_rehash_hpte()