Searched refs:const_ilog2 (Results 1 – 18 of 18) sorted by relevance
| /linux-6.15/net/ethtool/ |
| H A D | common.c | 449 [const_ilog2(WAKE_PHY)] = "phy", 450 [const_ilog2(WAKE_UCAST)] = "ucast", 451 [const_ilog2(WAKE_MCAST)] = "mcast", 452 [const_ilog2(WAKE_BCAST)] = "bcast", 453 [const_ilog2(WAKE_ARP)] = "arp", 454 [const_ilog2(WAKE_MAGIC)] = "magic", 455 [const_ilog2(WAKE_MAGICSECURE)] = "magicsecure", 456 [const_ilog2(WAKE_FILTER)] = "filter", 468 [const_ilog2(SOF_TIMESTAMPING_OPT_ID)] = "option-id", 471 [const_ilog2(SOF_TIMESTAMPING_OPT_CMSG)] = "option-cmsg", [all …]
|
| H A D | common.h | 15 #define __SOF_TIMESTAMPING_CNT (const_ilog2(SOF_TIMESTAMPING_LAST) + 1) 16 #define __HWTSTAMP_FLAG_CNT (const_ilog2(HWTSTAMP_FLAG_LAST) + 1)
|
| /linux-6.15/arch/arm64/include/asm/ |
| H A D | hwcap.h | 62 #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-6.15/tools/testing/selftests/ublk/ |
| H A D | kublk.c | 1197 #define const_ilog2(x) (63 - __builtin_clzll(x)) in cmd_dev_get_features() macro 1199 [const_ilog2(UBLK_F_SUPPORT_ZERO_COPY)] = "ZERO_COPY", in cmd_dev_get_features() 1200 [const_ilog2(UBLK_F_URING_CMD_COMP_IN_TASK)] = "COMP_IN_TASK", in cmd_dev_get_features() 1201 [const_ilog2(UBLK_F_NEED_GET_DATA)] = "GET_DATA", in cmd_dev_get_features() 1202 [const_ilog2(UBLK_F_USER_RECOVERY)] = "USER_RECOVERY", in cmd_dev_get_features() 1203 [const_ilog2(UBLK_F_USER_RECOVERY_REISSUE)] = "RECOVERY_REISSUE", in cmd_dev_get_features() 1204 [const_ilog2(UBLK_F_UNPRIVILEGED_DEV)] = "UNPRIVILEGED_DEV", in cmd_dev_get_features() 1205 [const_ilog2(UBLK_F_CMD_IOCTL_ENCODE)] = "CMD_IOCTL_ENCODE", in cmd_dev_get_features() 1206 [const_ilog2(UBLK_F_USER_COPY)] = "USER_COPY", in cmd_dev_get_features() 1207 [const_ilog2(UBLK_F_ZONED)] = "ZONED", in cmd_dev_get_features() [all …]
|
| /linux-6.15/drivers/gpu/drm/xe/regs/ |
| H A D | xe_reg_defs.h | 36 u32 addr:const_ilog2(XE_REG_ADDR_MAX);
|
| /linux-6.15/drivers/scsi/ |
| H A D | scsi_debugfs.c | 10 #define SCSI_CMD_FLAG_NAME(name)[const_ilog2(SCMD_##name)] = #name
|
| H A D | scsi_sysfs.c | 1075 [const_ilog2((__force __u64)BLIST_##name)] = #name
|
| /linux-6.15/include/linux/ |
| H A D | log2.h | 77 #define const_ilog2(n) \ macro
|
| H A D | userfaultfd_k.h | 99 #define MFILL_ATOMIC_MODE_BITS (const_ilog2(NR_MFILL_ATOMIC_MODES - 1) + 1)
|
| /linux-6.15/security/selinux/ss/ |
| H A D | sidtab.h | 40 #define size_to_shift(size) ((size) == 1 ? 1 : (const_ilog2((size)-1) + 1))
|
| /linux-6.15/arch/arm64/kernel/ |
| H A D | cpuinfo.c | 166 #define COMPAT_KERNEL_HWCAP(x) const_ilog2(COMPAT_HWCAP_ ## x) 198 #define COMPAT_KERNEL_HWCAP2(x) const_ilog2(COMPAT_HWCAP2_ ## x)
|
| /linux-6.15/net/netfilter/ |
| H A D | nft_set_pipapo.h | 53 #define NFT_PIPAPO_MAP_NBITS (const_ilog2(NFT_PIPAPO_MAX_BITS * 2))
|
| /linux-6.15/fs/btrfs/ |
| H A D | volumes.h | 49 static_assert(const_ilog2(BTRFS_STRIPE_LEN) == BTRFS_STRIPE_LEN_SHIFT); 62 static_assert(const_ilog2(BTRFS_BLOCK_GROUP_RAID0) >
|
| H A D | zoned.c | 39 #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-6.15/drivers/iio/common/scmi_sensors/ |
| H A D | scmi_iio.c | 72 const_ilog2(NSEC_PER_SEC) / const_ilog2(10); in scmi_iio_sensor_update_cb()
|
| /linux-6.15/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_mmu.c | 79 const_ilog2(AS_LOCK_REGION_MIN_SIZE)) - 1; in lock_region()
|
| /linux-6.15/mm/kfence/ |
| H A D | core.c | 158 #define ALLOC_COVERED_ORDER (const_ilog2(CONFIG_KFENCE_NUM_OBJECTS) + 2)
|
| /linux-6.15/drivers/gpu/drm/panthor/ |
| H A D | panthor_mmu.c | 556 const_ilog2(AS_LOCK_REGION_MIN_SIZE)) - 1; in lock_region()
|