Searched refs:lpid (Results 1 - 14 of 14) sorted by relevance
/linux-4.4.14/arch/powerpc/kvm/ |
H A D | e500mc.c | 362 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 D | powerpc.c | 1377 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 D | e500_mmu_host.c | 73 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 D | e500.h | 310 return get_thread_specific_lpid(vcpu->kvm->arch.lpid); get_lpid()
|
H A D | book3s_hv.c | 2978 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 D | book3s_hv_rm_mmu.c | 51 * cores as potentially having stale TLB entries for this lpid. global_invalidates() 419 "r" (rbvalues[i]), "r" (kvm->arch.lpid)); do_tlbies()
|
H A D | book3s_64_mmu_hv.c | 101 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 D | ehci-dbgp.c | 202 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 D | native.c | 319 be32_to_cpu(ctx->elem->lpid)); slb_invalid() 525 ctx->elem->lpid = cpu_to_be32(mfspr(SPRN_LPID)); attach_afu_directed()
|
H A D | cxl.h | 538 __be32 lpid; member in struct:cxl_process_element
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | kvm_ppc.h | 514 void kvmppc_claim_lpid(long lpid); 515 void kvmppc_free_lpid(long lpid);
|
H A D | kvm_host.h | 224 unsigned int lpid; member in struct:kvm_arch
|
/linux-4.4.14/ipc/ |
H A D | shm.c | 123 " 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 D | asm-offsets.c | 497 DEFINE(KVM_LPID, offsetof(struct kvm, arch.lpid)); main()
|
Completed in 409 milliseconds