Searched refs:roundup_size (Results 1 – 3 of 3) sorted by relevance
441 long real_size, roundup_size; in sb_load_file() local468 roundup_size = roundup(real_size, SB_BLOCK_SIZE); in sb_load_file()469 data = calloc(1, roundup_size); in sb_load_file()478 cctx->length = roundup_size; in sb_load_file()
672 u16 roundup_size; in hclgevf_set_rss_tc_mode() local678 roundup_size = roundup_pow_of_two(rss_size); in hclgevf_set_rss_tc_mode()679 roundup_size = ilog2(roundup_size); in hclgevf_set_rss_tc_mode()683 tc_size[i] = roundup_size; in hclgevf_set_rss_tc_mode()
4608 u16 roundup_size; in hclge_rss_init_hw() local4635 roundup_size = roundup_pow_of_two(rss_size); in hclge_rss_init_hw()4636 roundup_size = ilog2(roundup_size); in hclge_rss_init_hw()4645 tc_size[i] = roundup_size; in hclge_rss_init_hw()10696 u16 roundup_size; in hclge_set_channels() local10709 roundup_size = roundup_pow_of_two(kinfo->rss_size); in hclge_set_channels()10710 roundup_size = ilog2(roundup_size); in hclge_set_channels()10719 tc_size[i] = roundup_size; in hclge_set_channels()