Home
last modified time | relevance | path

Searched refs:ilog2 (Results 1 – 17 of 17) sorted by relevance

/f-stack/freebsd/contrib/openzfs/cmd/raidz_test/
H A Draidz_test.h83 static inline size_t ilog2(size_t a) in ilog2() function
85 return (a > 1 ? 1 + ilog2(a >> 1) : 0); in ilog2()
H A Draidz_test.c87 ilog2(opts->rto_offset), /* -o */ in print_opts()
91 ilog2(opts->rto_dsize), /* -s */ in print_opts()
119 ilog2(o->rto_offset), /* -o */ in usage()
121 ilog2(o->rto_dsize), /* -s */ in usage()
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_rss.h59 #ifndef ilog2
71 #define ilog2(x) rss_ilog2(x) macro
H A Dhns3_rss.c604 roundup_size = ilog2(roundup_size); in hns3_set_rss_tc_mode()
/f-stack/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_eqs.c80 #define EQ_SET_HW_PAGE_SIZE_VAL(eq) ((u32)ilog2(PAGE_IN_4K((eq)->page_size)))
83 #define EQ_SET_HW_ELEM_SIZE_VAL(eq) ((u32)ilog2(ELEMENT_SIZE_IN_32B(eq)))
H A Dhinic_compat.h190 static inline u16 ilog2(u32 n) in ilog2() function
H A Dhinic_pmd_nicio.c484 root_ctxt.rq_depth = (u16)ilog2(rq_depth); in hinic_set_root_ctxt()
486 root_ctxt.sq_depth = (u16)ilog2(sq_depth); in hinic_set_root_ctxt()
H A Dhinic_pmd_cmdq.c128 #define CMDQ_PFN(addr, page_size) ((addr) >> (ilog2(page_size)))
646 root_ctxt.cmdq_depth = (u8)ilog2(cmdq_depth); in hinic_set_cmdq_depth()
H A Dhinic_pmd_api_cmd.c483 cell_size = (u32)ilog2(chain->cell_size >> in api_cmd_ctrl_init()
H A Dhinic_pmd_niccfg.c1132 rss_cfg.rq_priority_number = tc_num ? (u8)ilog2(tc_num) : 0; in hinic_rss_cfg()
/f-stack/dpdk/drivers/net/cxgbe/
H A Dcxgbe_compat.h205 static inline unsigned long ilog2(unsigned long n) in ilog2() function
H A Dsge.c1838 V_FW_IQ_CMD_IQESIZE(ilog2(iq->iqe_len) - 4)); in t4_sge_alloc_rxq()
2391 s->fl_pg_order = ilog2(fl_large_pg) - PAGE_SHIFT; in t4_sge_init_soft()
2611 s->fl_pg_order = ilog2(fl_large_pg) - PAGE_SHIFT; in t4vf_sge_init()
H A Dcxgbe_main.c666 V_WINDOW(ilog2(MEMWIN0_APERTURE) - X_WINDOW_SHIFT)); in setup_memwin()
/f-stack/freebsd/arm64/iommu/
H A Dsmmu.c301 ilog2(long x) in ilog2() function
910 size = STRTAB_L1_SZ_SHIFT - (ilog2(STRTAB_L1_DESC_DWORDS) + 3); in smmu_init_strtab_2lvl()
982 size = 1 << (STRTAB_SPLIT + ilog2(STRTAB_STE_DWORDS) + 3); in smmu_init_l1_entry()
/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x.h92 #ifndef ilog2
105 #define ilog2(x) bnx2x_ilog2(x) macro
/f-stack/dpdk/drivers/net/hinic/
H A Dhinic_pmd_ethdev.c396 ((u16)(1U << (ilog2(nb_desc) + 1))) : nb_desc; in hinic_rx_queue_setup()
552 ((u16)(1U << (ilog2(nb_desc) + 1))) : nb_desc; in hinic_tx_queue_setup()
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_vfsops.c1487 sb->s_blocksize_bits = ilog2(recordsize); in zfs_domount()