Home
last modified time | relevance | path

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

/arch/powerpc/platforms/pseries/
Dhvconsole.c45 unsigned long *lbuf = (unsigned long *)buf; in hvc_get_chars() local
48 lbuf[0] = be64_to_cpu(retbuf[1]); in hvc_get_chars()
49 lbuf[1] = be64_to_cpu(retbuf[2]); in hvc_get_chars()
70 unsigned long *lbuf = (unsigned long *) buf; in hvc_put_chars() local
79 cpu_to_be64(lbuf[0]), in hvc_put_chars()
80 cpu_to_be64(lbuf[1])); in hvc_put_chars()
/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c1740 unsigned long __user *lbuf; in kvm_htab_read() local
1755 lbuf = (unsigned long __user *)buf; in kvm_htab_read()
1765 lbuf = (unsigned long __user *)(buf + sizeof(hdr)); in kvm_htab_read()
1785 if (__put_user(hpte[0], lbuf) || in kvm_htab_read()
1786 __put_user(hpte[1], lbuf + 1)) in kvm_htab_read()
1789 lbuf += 2; in kvm_htab_read()
1810 buf = (char __user *)lbuf; in kvm_htab_read()
1836 unsigned long __user *lbuf; in kvm_htab_write() local
1880 lbuf = (unsigned long __user *)buf; in kvm_htab_write()
1886 if (__get_user(hpte_v, lbuf) || in kvm_htab_write()
[all …]