DIV_ROUND_UP
return ((steps > 0) ? DIV_ROUND_UP(sum, steps) : 0);
DIV_ROUND_UP(spa_log_sm_blocklimit(spa),
DIV_ROUND_UP(total_flushes, txgs_in_future));
return (DIV_ROUND_UP(space_map_length(sm), sm->sm_blksz));
#ifndef DIV_ROUND_UP
bs.bs_bmissthreshold = DIV_ROUND_UP(conf.bmiss_timeout, intval);
numSymbols = DIV_ROUND_UP(numBits, bitsPerSymbol);
numSymbols = DIV_ROUND_UP(numBits, bitsPerSymbol);
numSymbols = DIV_ROUND_UP(numBits, bitsPerSymbol);
i = DIV_ROUND_UP(FLASH_CFG_MAX_SIZE, /* # of sectors spanned */
i = DIV_ROUND_UP(size ? size : FLASH_FW_START,
i = DIV_ROUND_UP(FLASH_BOOTCFG_MAX_SIZE,/* # of sectors spanned */
u32 exprom_header_buf[DIV_ROUND_UP(sizeof(struct exprom_header),
i = DIV_ROUND_UP(size, sf_sec_size); /* # of sectors spanned */
size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd,
size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd,
i = DIV_ROUND_UP(size,/* # of sectors spanned */
DIV_ROUND_UP(elem_cnt, USABLE_ELEMS_PER_PAGE(elem_size, mode))
lines = DIV_ROUND_UP(sz_left, p_blk->real_size_in_page) -
size = MAP_WORD_SIZE * DIV_ROUND_UP(cid_count, BITS_PER_MAP_WORD);
len = DIV_ROUND_UP(p_map->max_count,
len = DIV_ROUND_UP(p_map->max_count,
total_lines = DIV_ROUND_UP(p_fl_seg->total_size,
total_lines = DIV_ROUND_UP(p_seg->total_size,
*p_line += DIV_ROUND_UP(p_blk->total_size, p_blk->real_size_in_page);
p_mngr->t2_num_pages = DIV_ROUND_UP(total_size, psz);
#define CEIL_DWORDS(size) DIV_ROUND_UP(size, 32)
trace_data_size_dwords = DIV_ROUND_UP(trace_data_size_bytes + sizeof(struct mcp_trace), BYTES_IN_DWORD);
tc_headroom_blocks = (u32)DIV_ROUND_UP(req->headroom_per_tc, BRB_BLOCK_SIZE);
min_pkt_size_blocks = (u32)DIV_ROUND_UP(req->min_pkt_size, BRB_BLOCK_SIZE);
tc_guaranteed_blocks = (u32)DIV_ROUND_UP(req->guranteed_per_tc, BRB_BLOCK_SIZE);
#define QM_PQ_MEM_4KB(pq_size) (pq_size ? DIV_ROUND_UP((pq_size + 1) * QM_PQ_ELEMENT_SIZE, 0x1000) : 0)
#define QM_PQ_SIZE_256B(pq_size) (pq_size ? DIV_ROUND_UP(pq_size, 0x100) - 1 : 0)
DIV_ROUND_UP(p_params->retry_interval,