Lines Matching refs:block
23 "Paging: block %d already freed, continue to next page\n",
43 struct page *block;
61 "Paging: allocating mem for %d paging blocks, each block holds 8 pages, last block holds %d pages\n",
72 block = alloc_pages(GFP_KERNEL, order);
73 if (!block) {
79 fwrt->fw_paging_db[blk_idx].fw_paging_block = block;
82 phys = dma_map_page(fwrt->trans->dev, block, 0,
142 /* copy the CSS block to the dram */
147 IWL_ERR(fwrt, "CSS block is larger than paging size\n");
162 "Paging: copied %d CSS bytes to first block\n",
169 * from 1 since the CSS block (index 0) was already copied to
173 struct iwl_fw_paging *block = &fwrt->fw_paging_db[idx];
175 int len = block->fw_paging_size;
178 * For the last block, we copy all that is remaining,
186 "Paging: last block contains more data than expected %d\n",
191 } else if (block->fw_paging_size > remaining) {
193 "Paging: not enough data in other in block %d (%d)\n",
199 memcpy(page_address(block->fw_paging_block),
201 block->fw_offs = image->sec[sec_idx].offset + offset;
203 block->fw_paging_phys,
204 block->fw_paging_size,
208 "Paging: copied %d paging bytes to block %d\n",
211 offset += block->fw_paging_size;
252 /* loop for for all paging blocks + CSS block */