Searched refs:victim (Results 1 – 4 of 4) sorted by relevance
/arch/powerpc/platforms/cell/spufs/ |
D | sched.c | 631 struct spu_context *victim = NULL; in find_victim() local 657 (!victim || tmp->prio > victim->prio)) { in find_victim() 658 victim = spu->ctx; in find_victim() 661 if (victim) in find_victim() 662 get_spu_context(victim); in find_victim() 665 if (victim) { in find_victim() 676 if (!mutex_trylock(&victim->state_mutex)) { in find_victim() 677 put_spu_context(victim); in find_victim() 678 victim = NULL; in find_victim() 682 spu = victim->spu; in find_victim() [all …]
|
/arch/powerpc/kvm/ |
D | 44x_tlb.c | 305 unsigned int victim; in kvmppc_mmu_map() local 310 victim = ++tlb_44x_index; in kvmppc_mmu_map() 311 if (victim > tlb_44x_hwater) in kvmppc_mmu_map() 312 victim = 0; in kvmppc_mmu_map() 313 tlb_44x_index = victim; in kvmppc_mmu_map() 328 kvmppc_44x_shadow_release(vcpu_44x, victim); in kvmppc_mmu_map() 362 ref = &vcpu_44x->shadow_refs[victim]; in kvmppc_mmu_map() 369 kvmppc_44x_tlbe_set_modified(vcpu_44x, victim); in kvmppc_mmu_map() 370 kvmppc_44x_tlbwe(victim, &stlbe); in kvmppc_mmu_map() 371 trace_kvm_stlb_write(victim, stlbe.tid, stlbe.word0, stlbe.word1, in kvmppc_mmu_map()
|
D | trace.h | 50 TP_PROTO(unsigned int victim, unsigned int tid, unsigned int word0, 52 TP_ARGS(victim, tid, word0, word1, word2), 55 __field( unsigned int, victim ) 63 __entry->victim = victim; 71 __entry->victim, __entry->tid, __entry->word0,
|
D | e500_tlb.c | 236 unsigned int victim; in gtlb0_get_next_victim() local 238 victim = vcpu_e500->gtlb_nv[0]++; in gtlb0_get_next_victim() 242 return victim; in gtlb0_get_next_victim() 565 unsigned int victim, pidsel, tsized; in kvmppc_e500_deliver_tlb_miss() local 570 victim = (tlbsel == 0) ? gtlb0_get_next_victim(vcpu_e500) : 0; in kvmppc_e500_deliver_tlb_miss() 574 vcpu->arch.shared->mas0 = MAS0_TLBSEL(tlbsel) | MAS0_ESEL(victim) in kvmppc_e500_deliver_tlb_miss() 766 unsigned int victim; in kvmppc_e500_tlb1_map() local 768 victim = vcpu_e500->host_tlb1_nv++; in kvmppc_e500_tlb1_map() 773 ref = &vcpu_e500->tlb_refs[1][victim]; in kvmppc_e500_tlb1_map() 776 return victim; in kvmppc_e500_tlb1_map() [all …]
|