Home
last modified time | relevance | path

Searched refs:victim (Results 1 – 2 of 2) sorted by relevance

/arch/powerpc/kvm/
D44x_tlb.c281 unsigned int victim; in kvmppc_mmu_map() local
286 victim = ++tlb_44x_index; in kvmppc_mmu_map()
287 if (victim > tlb_44x_hwater) in kvmppc_mmu_map()
288 victim = 0; in kvmppc_mmu_map()
289 tlb_44x_index = victim; in kvmppc_mmu_map()
303 kvmppc_44x_shadow_release(vcpu_44x, victim); in kvmppc_mmu_map()
337 ref = &vcpu_44x->shadow_refs[victim]; in kvmppc_mmu_map()
344 kvmppc_44x_tlbe_set_modified(vcpu_44x, victim); in kvmppc_mmu_map()
345 kvmppc_44x_tlbwe(victim, &stlbe); in kvmppc_mmu_map()
346 KVMTRACE_5D(STLB_WRITE, vcpu, victim, stlbe.tid, stlbe.word0, stlbe.word1, in kvmppc_mmu_map()
/arch/powerpc/platforms/cell/spufs/
Dsched.c630 struct spu_context *victim = NULL; in find_victim() local
656 (!victim || tmp->prio > victim->prio)) { in find_victim()
657 victim = spu->ctx; in find_victim()
660 if (victim) in find_victim()
661 get_spu_context(victim); in find_victim()
664 if (victim) { in find_victim()
675 if (!mutex_trylock(&victim->state_mutex)) { in find_victim()
676 put_spu_context(victim); in find_victim()
677 victim = NULL; in find_victim()
681 spu = victim->spu; in find_victim()
[all …]