Home
last modified time | relevance | path

Searched refs:const_ilog2 (Results 1 – 14 of 14) sorted by relevance

/linux/tools/testing/selftests/ublk/
H A Dkublk.c1365 #define const_ilog2(x) (63 - __builtin_clzll(x)) in cmd_dev_get_features() macro
1367 [const_ilog2(UBLK_F_SUPPORT_ZERO_COPY)] = "ZERO_COPY", in cmd_dev_get_features()
1368 [const_ilog2(UBLK_F_URING_CMD_COMP_IN_TASK)] = "COMP_IN_TASK", in cmd_dev_get_features()
1369 [const_ilog2(UBLK_F_NEED_GET_DATA)] = "GET_DATA", in cmd_dev_get_features()
1370 [const_ilog2(UBLK_F_USER_RECOVERY)] = "USER_RECOVERY", in cmd_dev_get_features()
1371 [const_ilog2(UBLK_F_USER_RECOVERY_REISSUE)] = "RECOVERY_REISSUE", in cmd_dev_get_features()
1372 [const_ilog2(UBLK_F_UNPRIVILEGED_DEV)] = "UNPRIVILEGED_DEV", in cmd_dev_get_features()
1373 [const_ilog2(UBLK_F_CMD_IOCTL_ENCODE)] = "CMD_IOCTL_ENCODE", in cmd_dev_get_features()
1374 [const_ilog2(UBLK_F_USER_COPY)] = "USER_COPY", in cmd_dev_get_features()
1375 [const_ilog2(UBLK_F_ZONE in cmd_dev_get_features()
[all...]
/linux/arch/arm64/include/asm/
H A Dhwcap.h62 #define __khwcap_feature(x) const_ilog2(HWCAP_ ## x)
112 #define __khwcap2_feature(x) (const_ilog2(HWCAP2_ ## x) + 64)
178 #define __khwcap3_feature(x) (const_ilog2(HWCAP3_ ## x) + 128)
/linux/drivers/gpu/drm/xe/regs/
H A Dxe_reg_defs.h36 u32 addr:const_ilog2(XE_REG_ADDR_MAX);
/linux/drivers/scsi/
H A Dscsi_debugfs.c10 #define SCSI_CMD_FLAG_NAME(name)[const_ilog2(SCMD_##name)] = #name
/linux/include/linux/
H A Dlog2.h71 * const_ilog2 - log base 2 of 32-bit or a 64-bit constant unsigned value
77 #define const_ilog2(n) \ macro
H A Duserfaultfd_k.h95 #define MFILL_ATOMIC_MODE_BITS (const_ilog2(NR_MFILL_ATOMIC_MODES - 1) + 1)
/linux/security/selinux/ss/
H A Dsidtab.h40 #define size_to_shift(size) ((size) == 1 ? 1 : (const_ilog2((size)-1) + 1))
/linux/arch/arm64/kernel/
H A Dcpuinfo.c168 #define COMPAT_KERNEL_HWCAP(x) const_ilog2(COMPAT_HWCAP_ ## x)
200 #define COMPAT_KERNEL_HWCAP2(x) const_ilog2(COMPAT_HWCAP2_ ## x)
/linux/net/netfilter/
H A Dnft_set_pipapo.h53 #define NFT_PIPAPO_MAP_NBITS (const_ilog2(NFT_PIPAPO_MAX_BITS * 2))
/linux/drivers/iio/common/scmi_sensors/
H A Dscmi_iio.c72 const_ilog2(NSEC_PER_SEC) / const_ilog2(10); in scmi_iio_sensor_update_cb()
/linux/mm/kfence/
H A Dcore.c158 #define ALLOC_COVERED_ORDER (const_ilog2(CONFIG_KFENCE_NUM_OBJECTS) + 2)
/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c121 const_ilog2(AS_LOCK_REGION_MIN_SIZE)) - 1; in lock_region()
/linux/fs/btrfs/
H A Dzoned.c39 #define BTRFS_SB_LOG_FIRST_SHIFT const_ilog2(BTRFS_SB_LOG_FIRST_OFFSET)
40 #define BTRFS_SB_LOG_SECOND_SHIFT const_ilog2(BTRFS_SB_LOG_SECOND_OFFSET)
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c556 const_ilog2(AS_LOCK_REGION_MIN_SIZE)) - 1; in lock_region()