Searched refs:qshift (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_xive_native.c | 541 static int xive_native_validate_queue_size(u32 qshift) in xive_native_validate_queue_size() argument 547 switch (qshift) { in xive_native_validate_queue_size() 604 kvm_eq.qshift, kvm_eq.qaddr, kvm_eq.qtoggle, kvm_eq.qindex); in kvmppc_xive_native_set_queue_config() 607 if (!kvm_eq.qshift) { in kvmppc_xive_native_set_queue_config() 634 rc = xive_native_validate_queue_size(kvm_eq.qshift); in kvmppc_xive_native_set_queue_config() 636 pr_err("invalid queue size %d\n", kvm_eq.qshift); in kvmppc_xive_native_set_queue_config() 640 if (kvm_eq.qaddr & ((1ull << kvm_eq.qshift) - 1)) { in kvmppc_xive_native_set_queue_config() 642 1ull << kvm_eq.qshift); in kvmppc_xive_native_set_queue_config() 650 if (1ull << kvm_eq.qshift > page_size) { in kvmppc_xive_native_set_queue_config() 671 q->guest_qshift = kvm_eq.qshift; in kvmppc_xive_native_set_queue_config() [all …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_iomap.c | 360 int *qshift, in xfs_quota_calc_throttle() argument 387 if ((freesp >> shift) < (*qblocks >> *qshift)) { in xfs_quota_calc_throttle() 389 *qshift = shift; in xfs_quota_calc_throttle() 417 int qshift = 0; in xfs_iomap_prealloc_size() local 493 xfs_quota_calc_throttle(ip, XFS_DQTYPE_USER, &qblocks, &qshift, in xfs_iomap_prealloc_size() 496 xfs_quota_calc_throttle(ip, XFS_DQTYPE_GROUP, &qblocks, &qshift, in xfs_iomap_prealloc_size() 499 xfs_quota_calc_throttle(ip, XFS_DQTYPE_PROJ, &qblocks, &qshift, in xfs_iomap_prealloc_size() 510 shift = max(shift, qshift); in xfs_iomap_prealloc_size()
|
/openbmc/linux/Documentation/virt/kvm/devices/ |
H A D | xive.rst | 166 __u32 qshift; 177 - qshift: queue size (power of 2)
|
/openbmc/qemu/hw/intc/ |
H A D | spapr_xive_kvm.c | 430 kvm_eq.qshift = xive_get_field32(END_W0_QSIZE, end->w0) + 12; in kvmppc_xive_set_queue_config() 439 kvm_eq.qshift = 0; in kvmppc_xive_set_queue_config()
|
/openbmc/linux/arch/powerpc/include/uapi/asm/ |
H A D | kvm.h | 724 __u32 qshift; member
|
/openbmc/qemu/linux-headers/asm-powerpc/ |
H A D | kvm.h | 726 __u32 qshift; member
|
/openbmc/linux/tools/arch/powerpc/include/uapi/asm/ |
H A D | kvm.h | 724 __u32 qshift; member
|