Searched refs:ilog2 (Results 1 – 17 of 17) sorted by relevance
83 static inline size_t ilog2(size_t a) in ilog2() function85 return (a > 1 ? 1 + ilog2(a >> 1) : 0); in ilog2()
87 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()
59 #ifndef ilog271 #define ilog2(x) rss_ilog2(x) macro
604 roundup_size = ilog2(roundup_size); in hns3_set_rss_tc_mode()
80 #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)))
190 static inline u16 ilog2(u32 n) in ilog2() function
484 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()
128 #define CMDQ_PFN(addr, page_size) ((addr) >> (ilog2(page_size)))646 root_ctxt.cmdq_depth = (u8)ilog2(cmdq_depth); in hinic_set_cmdq_depth()
483 cell_size = (u32)ilog2(chain->cell_size >> in api_cmd_ctrl_init()
1132 rss_cfg.rq_priority_number = tc_num ? (u8)ilog2(tc_num) : 0; in hinic_rss_cfg()
205 static inline unsigned long ilog2(unsigned long n) in ilog2() function
1838 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()
666 V_WINDOW(ilog2(MEMWIN0_APERTURE) - X_WINDOW_SHIFT)); in setup_memwin()
301 ilog2(long x) in ilog2() function910 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()
92 #ifndef ilog2105 #define ilog2(x) bnx2x_ilog2(x) macro
396 ((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()
1487 sb->s_blocksize_bits = ilog2(recordsize); in zfs_domount()