Home
last modified time | relevance | path

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

/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_xive_native.c541 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 …]
/linux-6.6.21/fs/xfs/
Dxfs_iomap.c368 int *qshift, in xfs_quota_calc_throttle() argument
395 if ((freesp >> shift) < (*qblocks >> *qshift)) { in xfs_quota_calc_throttle()
397 *qshift = shift; in xfs_quota_calc_throttle()
425 int qshift = 0; in xfs_iomap_prealloc_size() local
501 xfs_quota_calc_throttle(ip, XFS_DQTYPE_USER, &qblocks, &qshift, in xfs_iomap_prealloc_size()
504 xfs_quota_calc_throttle(ip, XFS_DQTYPE_GROUP, &qblocks, &qshift, in xfs_iomap_prealloc_size()
507 xfs_quota_calc_throttle(ip, XFS_DQTYPE_PROJ, &qblocks, &qshift, in xfs_iomap_prealloc_size()
518 shift = max(shift, qshift); in xfs_iomap_prealloc_size()
/linux-6.6.21/Documentation/virt/kvm/devices/
Dxive.rst166 __u32 qshift;
177 - qshift: queue size (power of 2)
/linux-6.6.21/tools/arch/powerpc/include/uapi/asm/
Dkvm.h724 __u32 qshift; member
/linux-6.6.21/arch/powerpc/include/uapi/asm/
Dkvm.h724 __u32 qshift; member