/kernel/linux/linux-5.10/include/linux/ |
D | log2.h | 45 bool is_power_of_2(unsigned long n) in is_power_of_2() function 229 if (is_power_of_2(n)) in __bits_per()
|
D | generic-radix-tree.h | 106 if (!is_power_of_2(obj_size)) { in __idx_to_offset() 188 if (!is_power_of_2(obj_size) && in __genradix_iter_advance()
|
D | iommu-helper.h | 21 BUG_ON(!is_power_of_2(boundary_size)); in iommu_is_span_boundary()
|
/kernel/linux/linux-5.10/fs/verity/ |
D | hash_algs.c | 325 BUG_ON(!is_power_of_2(alg->digest_size)); in fsverity_check_hash_algs() 326 BUG_ON(!is_power_of_2(alg->block_size)); in fsverity_check_hash_algs()
|
/kernel/linux/linux-5.10/scripts/dtc/ |
D | dtc.c | 26 static int is_power_of_2(int x) in is_power_of_2() function 208 if (!is_power_of_2(alignsize)) in main()
|
/kernel/linux/linux-5.10/include/crypto/ |
D | ctr.h | 31 if (WARN_ON_ONCE(!is_power_of_2(blocksize))) in crypto_ctr_encrypt_walk()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
D | msm_ringbuffer.c | 18 BUILD_BUG_ON(!is_power_of_2(MSM_GPU_RINGBUFFER_SZ)); in msm_ringbuffer_new()
|
/kernel/linux/linux-5.10/tools/include/linux/ |
D | log2.h | 38 bool is_power_of_2(unsigned long n) in is_power_of_2() function
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | div64.h | 26 if (__builtin_constant_p(__base) && is_power_of_2(__base)) { \
|
/kernel/linux/linux-5.10/drivers/scsi/bnx2i/ |
D | bnx2i_sysfs.c | 77 (is_power_of_2(val))) in bnx2i_set_sq_info()
|
/kernel/linux/linux-5.10/fs/pstore/ |
D | ram.c | 771 if (pdata->record_size && !is_power_of_2(pdata->record_size)) in ramoops_probe() 773 if (pdata->console_size && !is_power_of_2(pdata->console_size)) in ramoops_probe() 775 if (pdata->ftrace_size && !is_power_of_2(pdata->ftrace_size)) in ramoops_probe() 777 if (pdata->pmsg_size && !is_power_of_2(pdata->pmsg_size)) in ramoops_probe() 779 if (pdata->blackbox_size && !is_power_of_2(pdata->blackbox_size)) in ramoops_probe()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
D | init-common.c | 119 BUG_ON(!is_power_of_2(minalign)); in pgtable_cache_add()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
D | cache-uniphier.c | 348 !is_power_of_2(data->line_size)) { in __uniphier_cache_init() 356 !is_power_of_2(data->nsets)) { in __uniphier_cache_init()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_doorbell.c | 58 if (!is_power_of_2(num)) in pvrdma_uar_table_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | intel_ring.h | 137 GEM_BUG_ON(!is_power_of_2(size)); in __intel_ring_space()
|
/kernel/linux/linux-5.10/drivers/media/rc/img-ir/ |
D | img-ir-sony.c | 75 if (!is_power_of_2(protocols)) { in img_ir_sony_filter()
|
D | img-ir-nec.c | 69 if (!is_power_of_2(protocols)) { in img_ir_nec_filter()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_wq.c | 514 if (!is_power_of_2(wqebb_size)) { in hinic_wq_allocate() 533 if (!is_power_of_2(num_wqebbs_per_page)) { in hinic_wq_allocate() 611 if (!is_power_of_2(wqebb_size)) { in hinic_wqs_cmdq_alloc() 630 if (!is_power_of_2(num_wqebbs_per_page)) { in hinic_wqs_cmdq_alloc()
|
/kernel/linux/linux-5.10/drivers/iio/light/ |
D | as73211.c | 451 !is_power_of_2(freq_kHz) || val2) in _as73211_write_raw() 472 if (val < 0 || !is_power_of_2(val) || val2) in _as73211_write_raw() 502 if (time_ms < 0 || !is_power_of_2(time_ms) || time_ms > AS73211_SAMPLE_TIME_MAX_MS) in _as73211_write_raw()
|
/kernel/linux/linux-5.10/drivers/dma/qcom/ |
D | hidma_mgmt.c | 70 if (!is_power_of_2(mgmtdev->max_write_request) || in hidma_mgmt_setup() 78 if (!is_power_of_2(mgmtdev->max_read_request) || in hidma_mgmt_setup()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/ |
D | ctrl.c | 395 if (!is_power_of_2(abm->num_bands) || !is_power_of_2(abm->num_prios) || in nfp_abm_ctrl_find_addrs()
|
/kernel/linux/linux-5.10/arch/ia64/mm/ |
D | hugetlbpage.c | 185 if (*str || !is_power_of_2(size) || !(tr_pages & size) || in hugetlb_setup_sz()
|
/kernel/linux/linux-5.10/lib/ |
D | hexdump.c | 142 if (!is_power_of_2(groupsize) || groupsize > 8) in hex_dump_to_buffer()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-exception-store.c | 165 if (!is_power_of_2(chunk_size)) { in dm_exception_store_set_chunk_size()
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | div64.h | 228 is_power_of_2(__base)) { \
|