Home
last modified time | relevance | path

Searched refs:qshift (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_xive_native.c539 static int xive_native_validate_queue_size(u32 qshift) in xive_native_validate_queue_size() argument
545 switch (qshift) { in xive_native_validate_queue_size()
602 kvm_eq.qshift, kvm_eq.qaddr, kvm_eq.qtoggle, kvm_eq.qindex); in kvmppc_xive_native_set_queue_config()
605 if (!kvm_eq.qshift) { in kvmppc_xive_native_set_queue_config()
632 rc = xive_native_validate_queue_size(kvm_eq.qshift); in kvmppc_xive_native_set_queue_config()
634 pr_err("invalid queue size %d\n", kvm_eq.qshift); in kvmppc_xive_native_set_queue_config()
638 if (kvm_eq.qaddr & ((1ull << kvm_eq.qshift) - 1)) { in kvmppc_xive_native_set_queue_config()
640 1ull << kvm_eq.qshift); in kvmppc_xive_native_set_queue_config()
648 if (1ull << kvm_eq.qshift > page_size) { in kvmppc_xive_native_set_queue_config()
669 q->guest_qshift = kvm_eq.qshift; in kvmppc_xive_native_set_queue_config()
[all …]
/Linux-v5.10/fs/xfs/
Dxfs_iomap.c321 int *qshift, in xfs_quota_calc_throttle() argument
348 if ((freesp >> shift) < (*qblocks >> *qshift)) { in xfs_quota_calc_throttle()
350 *qshift = shift; in xfs_quota_calc_throttle()
378 int qshift = 0; in xfs_iomap_prealloc_size() local
454 xfs_quota_calc_throttle(ip, XFS_DQTYPE_USER, &qblocks, &qshift, in xfs_iomap_prealloc_size()
457 xfs_quota_calc_throttle(ip, XFS_DQTYPE_GROUP, &qblocks, &qshift, in xfs_iomap_prealloc_size()
460 xfs_quota_calc_throttle(ip, XFS_DQTYPE_PROJ, &qblocks, &qshift, in xfs_iomap_prealloc_size()
471 shift = max(shift, qshift); in xfs_iomap_prealloc_size()
/Linux-v5.10/Documentation/virt/kvm/devices/
Dxive.rst166 __u32 qshift;
177 - qshift: queue size (power of 2)
/Linux-v5.10/tools/arch/powerpc/include/uapi/asm/
Dkvm.h722 __u32 qshift; member
/Linux-v5.10/arch/powerpc/include/uapi/asm/
Dkvm.h722 __u32 qshift; member