Searched refs:const_ilog2 (Results 1 – 5 of 5) sorted by relevance
10 #define SCSI_CMD_FLAG_NAME(name)[const_ilog2(SCMD_##name)] = #name
40 #define size_to_shift(size) ((size) == 1 ? 1 : (const_ilog2((size)-1) + 1))
50 #define NFT_PIPAPO_MAP_NBITS (const_ilog2(NFT_PIPAPO_MAX_BITS * 2))
122 const_ilog2(AS_LOCK_REGION_MIN_SIZE)) - 1; in lock_region()
1950 #define const_ilog2(x) (63 - __builtin_clzll(x)) in cmd_dev_get_features() macro1951 #define FEAT_NAME(f) [const_ilog2(f)] = #f in cmd_dev_get_features()