Lines Matching defs:chunk
33 unsigned int chunk;
52 /* For chunk work */
185 DMDEBUG("(%s): READ chunk %llu -> %s zone %u, block %llu, %u blocks",
328 DMDEBUG("(%s): WRITE chunk %llu -> %s zone %u, block %llu, %u blocks",
373 DMDEBUG("(%s): DISCARD chunk %llu -> zone %u, block %llu, %u blocks",
407 * Get the data zone mapping the chunk. There may be no
443 * Release the chunk mapping. This will check that the mapping
455 * Increment a chunk reference counter.
463 * Decrement a chunk work reference count and
470 radix_tree_delete(&cw->target->chunk_rxtree, cw->chunk);
486 /* Process the chunk BIOs */
531 * Get a chunk work and start it to process a new BIO.
532 * If the BIO chunk has no work yet, create one.
536 unsigned int chunk = dmz_bio_chunk(dmz->metadata, bio);
542 /* Get the BIO chunk work. If one is not active yet, create one */
543 cw = radix_tree_lookup(&dmz->chunk_rxtree, chunk);
547 /* Create a new chunk work */
557 cw->chunk = chunk;
560 ret = radix_tree_insert(&dmz->chunk_rxtree, chunk, cw);
638 DMDEBUG("(%s): BIO op %d sector %llu + %u => chunk %llu, block %llu, %u blocks",
675 DMDEBUG("(%s): BIO op %d, can't process chunk %llu, err %i",
907 ti->error = "Create chunk workqueue failed";