Lines Matching defs:chunk
35 * requires that we copy exception chunks to chunk aligned areas
37 * metadata in chunk size blocks.
45 * The first chunk of the COW device just contains the header.
46 * After this there is a chunk filled with exception metadata,
53 * header chunk.
113 * need for large chunk sizes, so it wont hurt to have a
132 * 'chunk' refers to.
137 * The next free chunk for an exception.
140 * free. It holds the next chunk to be allocated. On rare
230 * Read or write a chunk aligned and sized block of data from a device.
232 static int chunk_io(struct pstore *ps, void *area, chunk_t chunk, blk_opf_t opf,
237 .sector = ps->store->chunk_size * chunk,
268 * Convert a metadata area index to a chunk index.
286 * chunk which holds the header.
290 chunk_t chunk = area_location(ps, ps->current_area);
292 return chunk_io(ps, ps->area, chunk, opf, 0);
315 * Use default chunk size (or logical_block_size, if larger)
361 DMWARN("chunk size %u in device metadata overrides table chunk size of %u.",
370 DMERR("invalid on-disk chunk size %u: %s.",
516 chunk_t chunk;
534 chunk = area_location(ps, ps->current_area);
536 area = dm_bufio_read(client, chunk, &bp);
550 dm_bufio_forget(client, chunk);
584 * First chunk is the fixed header.