Searched refs:remain_pages (Results 1 – 1 of 1) sorted by relevance
522 u32 num_frags, remain_pages, frag_pages; in iwl_dbg_tlv_alloc_fragments() local545 remain_pages = DIV_ROUND_UP(le32_to_cpu(fw_mon_cfg->req_size), in iwl_dbg_tlv_alloc_fragments()548 num_frags = min_t(u32, num_frags, remain_pages); in iwl_dbg_tlv_alloc_fragments()549 frag_pages = DIV_ROUND_UP(remain_pages, num_frags); in iwl_dbg_tlv_alloc_fragments()556 int pages = min_t(u32, frag_pages, remain_pages); in iwl_dbg_tlv_alloc_fragments()566 (remain_pages * PAGE_SIZE); in iwl_dbg_tlv_alloc_fragments()576 remain_pages -= pages; in iwl_dbg_tlv_alloc_fragments()