Searched refs:lpid (Results 1 - 14 of 14) sorted by relevance

/linux-4.4.14/arch/powerpc/kvm/
H A De500mc.c362 int lpid; kvmppc_core_init_vm_e500mc() local
364 lpid = kvmppc_alloc_lpid(); kvmppc_core_init_vm_e500mc()
365 if (lpid < 0) kvmppc_core_init_vm_e500mc()
366 return lpid; kvmppc_core_init_vm_e500mc()
370 * even numbers to speedup vcpu lpid computation with consecutive lpids kvmppc_core_init_vm_e500mc()
374 lpid <<= 1; kvmppc_core_init_vm_e500mc()
376 kvm->arch.lpid = lpid; kvmppc_core_init_vm_e500mc()
382 int lpid = kvm->arch.lpid; kvmppc_core_destroy_vm_e500mc() local
385 lpid >>= 1; kvmppc_core_destroy_vm_e500mc()
387 kvmppc_free_lpid(lpid); kvmppc_core_destroy_vm_e500mc()
418 * Expose half the number of available hardware lpids to the lpid kvmppc_e500mc_init()
H A Dpowerpc.c1377 long lpid; kvmppc_alloc_lpid() local
1380 lpid = find_first_zero_bit(lpid_inuse, KVMPPC_NR_LPIDS); kvmppc_alloc_lpid()
1381 if (lpid >= nr_lpids) { kvmppc_alloc_lpid()
1385 } while (test_and_set_bit(lpid, lpid_inuse)); kvmppc_alloc_lpid()
1387 return lpid; kvmppc_alloc_lpid()
1391 void kvmppc_claim_lpid(long lpid) kvmppc_claim_lpid() argument
1393 set_bit(lpid, lpid_inuse); kvmppc_claim_lpid()
1397 void kvmppc_free_lpid(long lpid) kvmppc_free_lpid() argument
1399 clear_bit(lpid, lpid_inuse); kvmppc_free_lpid()
H A De500_mmu_host.c73 uint32_t lpid) __write_host_tlbe()
84 mtspr(SPRN_MAS8, MAS8_TGS | get_thread_specific_lpid(lpid)); __write_host_tlbe()
133 __write_host_tlbe(stlbe, mas0, vcpu_e500->vcpu.kvm->arch.lpid); write_host_tlbe()
138 vcpu_e500->vcpu.kvm->arch.lpid); write_host_tlbe()
71 __write_host_tlbe(struct kvm_book3e_206_tlb_entry *stlbe, uint32_t mas0, uint32_t lpid) __write_host_tlbe() argument
H A De500.h310 return get_thread_specific_lpid(vcpu->kvm->arch.lpid); get_lpid()
H A Dbook3s_hv.c2978 unsigned long lpcr, lpid; kvmppc_core_init_vm_hv() local
2983 lpid = kvmppc_alloc_lpid(); kvmppc_core_init_vm_hv()
2984 if ((long)lpid < 0) kvmppc_core_init_vm_hv()
2986 kvm->arch.lpid = lpid; kvmppc_core_init_vm_hv()
2990 * and this lpid might have previously been used, kvmppc_core_init_vm_hv()
H A Dbook3s_hv_rm_mmu.c51 * cores as potentially having stale TLB entries for this lpid. global_invalidates()
419 "r" (rbvalues[i]), "r" (kvm->arch.lpid)); do_tlbies()
H A Dbook3s_64_mmu_hv.c101 hpt, order, kvm->arch.lpid); kvmppc_alloc_hpt()
153 kvmppc_free_lpid(kvm->arch.lpid); kvmppc_free_hpt()
/linux-4.4.14/drivers/usb/early/
H A Dehci-dbgp.c202 u32 pids, lpid; dbgp_wait_until_done() local
209 lpid = DBGP_PID_GET(pids); dbgp_wait_until_done()
229 if ((lpid == USB_PID_NAK) || (lpid == USB_PID_NYET)) dbgp_wait_until_done()
233 if (lpid == USB_PID_NAK) { dbgp_wait_until_done()
/linux-4.4.14/drivers/misc/cxl/
H A Dnative.c319 be32_to_cpu(ctx->elem->lpid)); slb_invalid()
525 ctx->elem->lpid = cpu_to_be32(mfspr(SPRN_LPID)); attach_afu_directed()
H A Dcxl.h538 __be32 lpid; member in struct:cxl_process_element
/linux-4.4.14/arch/powerpc/include/asm/
H A Dkvm_ppc.h514 void kvmppc_claim_lpid(long lpid);
515 void kvmppc_free_lpid(long lpid);
H A Dkvm_host.h224 unsigned int lpid; member in struct:kvm_arch
/linux-4.4.14/ipc/
H A Dshm.c123 " key shmid perms size cpid lpid nattch uid gid cuid cgid atime dtime ctime rss swap\n", shm_init()
125 " key shmid perms size cpid lpid nattch uid gid cuid cgid atime dtime ctime rss swap\n", shm_init()
/linux-4.4.14/arch/powerpc/kernel/
H A Dasm-offsets.c497 DEFINE(KVM_LPID, offsetof(struct kvm, arch.lpid)); main()

Completed in 409 milliseconds