Symbol: const_ilog2
arch/arm64/include/asm/hwcap.h
62
#define __khwcap_feature(x) const_ilog2(HWCAP_ ## x)
arch/arm64/include/asm/hwcap.h
63
#define __khwcap2_feature(x) (const_ilog2(HWCAP2_ ## x) + 64)
arch/arm64/include/asm/hwcap.h
64
#define __khwcap3_feature(x) (const_ilog2(HWCAP3_ ## x) + 128)
arch/arm64/kernel/cpuinfo.c
178
#define COMPAT_KERNEL_HWCAP(x) const_ilog2(COMPAT_HWCAP_ ## x)
arch/arm64/kernel/cpuinfo.c
210
#define COMPAT_KERNEL_HWCAP2(x) const_ilog2(COMPAT_HWCAP2_ ## x)
drivers/gpu/drm/msm/msm_perfcntr.c
406
if (args->bufsz_shift > const_ilog2(SZ_128M))
drivers/gpu/drm/panfrost/panfrost_mmu.c
122
const_ilog2(AS_LOCK_REGION_MIN_SIZE)) - 1;
drivers/gpu/drm/panthor/panthor_mmu.c
572
const_ilog2(AS_LOCK_REGION_MIN_SIZE)) - 1;
drivers/gpu/drm/xe/regs/xe_reg_defs.h
37
u32 addr:const_ilog2(XE_REG_ADDR_MAX);
drivers/net/ethernet/mediatek/mtk_eth_soc.c
5083
const_ilog2(MTK_ETH_SRAM_GRANULARITY),
drivers/scsi/scsi_debugfs.c
10
#define SCSI_CMD_FLAG_NAME(name)[const_ilog2(SCMD_##name)] = #name
drivers/scsi/scsi_sysfs.c
1070
[const_ilog2((__force __u64)BLIST_##name)] = #name
include/linux/kho/abi/kexec_handover.h
267
KHO_TABLE_SIZE_LOG2 = const_ilog2(PAGE_SIZE / sizeof(phys_addr_t)),
include/linux/kho/abi/kexec_handover.h
270
KHO_BITMAP_SIZE_LOG2 = PAGE_SHIFT + const_ilog2(BITS_PER_BYTE),
include/linux/userfaultfd_k.h
131
#define MFILL_ATOMIC_MODE_BITS (const_ilog2(NR_MFILL_ATOMIC_MODES - 1) + 1)
mm/kfence/core.c
165
#define ALLOC_COVERED_ORDER (const_ilog2(CONFIG_KFENCE_NUM_OBJECTS) + 2)
net/ethtool/common.c
508
[const_ilog2(WAKE_PHY)] = "phy",
net/ethtool/common.c
509
[const_ilog2(WAKE_UCAST)] = "ucast",
net/ethtool/common.c
510
[const_ilog2(WAKE_MCAST)] = "mcast",
net/ethtool/common.c
511
[const_ilog2(WAKE_BCAST)] = "bcast",
net/ethtool/common.c
512
[const_ilog2(WAKE_ARP)] = "arp",
net/ethtool/common.c
513
[const_ilog2(WAKE_MAGIC)] = "magic",
net/ethtool/common.c
514
[const_ilog2(WAKE_MAGICSECURE)] = "magicsecure",
net/ethtool/common.c
515
[const_ilog2(WAKE_FILTER)] = "filter",
net/ethtool/common.c
520
[const_ilog2(SOF_TIMESTAMPING_TX_HARDWARE)] = "hardware-transmit",
net/ethtool/common.c
521
[const_ilog2(SOF_TIMESTAMPING_TX_SOFTWARE)] = "software-transmit",
net/ethtool/common.c
522
[const_ilog2(SOF_TIMESTAMPING_RX_HARDWARE)] = "hardware-receive",
net/ethtool/common.c
523
[const_ilog2(SOF_TIMESTAMPING_RX_SOFTWARE)] = "software-receive",
net/ethtool/common.c
524
[const_ilog2(SOF_TIMESTAMPING_SOFTWARE)] = "software-system-clock",
net/ethtool/common.c
525
[const_ilog2(SOF_TIMESTAMPING_SYS_HARDWARE)] = "hardware-legacy-clock",
net/ethtool/common.c
526
[const_ilog2(SOF_TIMESTAMPING_RAW_HARDWARE)] = "hardware-raw-clock",
net/ethtool/common.c
527
[const_ilog2(SOF_TIMESTAMPING_OPT_ID)] = "option-id",
net/ethtool/common.c
528
[const_ilog2(SOF_TIMESTAMPING_TX_SCHED)] = "sched-transmit",
net/ethtool/common.c
529
[const_ilog2(SOF_TIMESTAMPING_TX_ACK)] = "ack-transmit",
net/ethtool/common.c
530
[const_ilog2(SOF_TIMESTAMPING_OPT_CMSG)] = "option-cmsg",
net/ethtool/common.c
531
[const_ilog2(SOF_TIMESTAMPING_OPT_TSONLY)] = "option-tsonly",
net/ethtool/common.c
532
[const_ilog2(SOF_TIMESTAMPING_OPT_STATS)] = "option-stats",
net/ethtool/common.c
533
[const_ilog2(SOF_TIMESTAMPING_OPT_PKTINFO)] = "option-pktinfo",
net/ethtool/common.c
534
[const_ilog2(SOF_TIMESTAMPING_OPT_TX_SWHW)] = "option-tx-swhw",
net/ethtool/common.c
535
[const_ilog2(SOF_TIMESTAMPING_BIND_PHC)] = "bind-phc",
net/ethtool/common.c
536
[const_ilog2(SOF_TIMESTAMPING_OPT_ID_TCP)] = "option-id-tcp",
net/ethtool/common.c
537
[const_ilog2(SOF_TIMESTAMPING_OPT_RX_FILTER)] = "option-rx-filter",
net/ethtool/common.c
538
[const_ilog2(SOF_TIMESTAMPING_TX_COMPLETION)] = "tx-completion",
net/ethtool/common.c
571
[const_ilog2(HWTSTAMP_FLAG_BONDED_PHC_INDEX)] = "bonded-phc-index",
net/ethtool/common.h
15
#define __SOF_TIMESTAMPING_CNT (const_ilog2(SOF_TIMESTAMPING_LAST) + 1)
net/ethtool/common.h
16
#define __HWTSTAMP_FLAG_CNT (const_ilog2(HWTSTAMP_FLAG_LAST) + 1)
net/netfilter/nft_set_pipapo.h
50
#define NFT_PIPAPO_MAP_NBITS (const_ilog2(NFT_PIPAPO_MAX_BITS * 2))
security/selinux/ss/sidtab.h
40
#define size_to_shift(size) ((size) == 1 ? 1 : (const_ilog2((size)-1) + 1))
tools/testing/selftests/ublk/kublk.c
1951
#define FEAT_NAME(f) [const_ilog2(f)] = #f