Lines Matching defs:chunk
32 * requires that we copy exception chunks to chunk aligned areas
34 * metadata in chunk size blocks.
42 * The first chunk of the COW device just contains the header.
43 * After this there is a chunk filled with exception metadata,
50 * header chunk.
110 * need for large chunk sizes, so it wont hurt to have a
129 * 'chunk' refers to.
134 * The next free chunk for an exception.
137 * free. It holds the next chunk to be allocated. On rare
227 * Read or write a chunk aligned and sized block of data from a device.
229 static int chunk_io(struct pstore *ps, void *area, chunk_t chunk, int op,
234 .sector = ps->store->chunk_size * chunk,
266 * Convert a metadata area index to a chunk index.
283 * chunk which holds the header.
287 chunk_t chunk = area_location(ps, ps->current_area);
289 return chunk_io(ps, ps->area, chunk, op, op_flags, 0);
312 * Use default chunk size (or logical_block_size, if larger)
358 DMWARN("chunk size %u in device metadata overrides "
359 "table chunk size of %u.",
368 DMERR("invalid on-disk chunk size %u: %s.",
514 chunk_t chunk;
529 chunk = area_location(ps, ps->current_area);
531 area = dm_bufio_read(client, chunk, &bp);
545 dm_bufio_forget(client, chunk);
579 * First chunk is the fixed header.