Lines Matching defs:cic
1236 struct compress_io_ctx *cic;
1280 cic = f2fs_kmem_cache_alloc(cic_entry_slab, GFP_F2FS_ZERO, false, sbi);
1281 if (!cic)
1284 cic->magic = F2FS_COMPRESSED_PAGE_MAGIC;
1285 cic->inode = inode;
1286 atomic_set(&cic->pending_pages, cc->valid_nr_cpages);
1287 cic->rpages = page_array_alloc(cc->inode, cc->cluster_size);
1288 if (!cic->rpages)
1291 cic->nr_rpages = cc->cluster_size;
1295 cc->rpages[i + 1]->index, cic);
1316 cic->rpages[i] = cc->rpages[i];
1386 page_array_free(cc->inode, cic->rpages, cc->cluster_size);
1391 kmem_cache_free(cic_entry_slab, cic);
1412 struct compress_io_ctx *cic =
1419 mapping_set_error(cic->inode->i_mapping, -EIO);
1425 if (atomic_dec_return(&cic->pending_pages))
1428 for (i = 0; i < cic->nr_rpages; i++) {
1429 WARN_ON(!cic->rpages[i]);
1430 clear_page_private_gcing(cic->rpages[i]);
1431 end_page_writeback(cic->rpages[i]);
1434 page_array_free(cic->inode, cic->rpages, cic->nr_rpages);
1435 kmem_cache_free(cic_entry_slab, cic);