Home
last modified time | relevance | path

Searched refs:this_step (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/drivers/md/
H A Ddm-flakey.c461 unsigned this_step = min(bvec.bv_len, to_copy); in clone_bio() local
463 memcpy(virt, map, this_step); in clone_bio()
466 bvec_iter_advance(bio->bi_io_vec, &iter, this_step); in clone_bio()
467 to_copy -= this_step; in clone_bio()
468 virt += this_step; in clone_bio()
H A Ddm-verity-target.c118 size_t this_step = min_t(size_t, len, PAGE_SIZE - offset_in_page(data)); in verity_hash_update() local
120 flush_kernel_vmap_range((void *)data, this_step); in verity_hash_update()
122 sg_set_page(&sg, vmalloc_to_page(data), this_step, offset_in_page(data)); in verity_hash_update()
123 ahash_request_set_crypt(req, &sg, NULL, this_step); in verity_hash_update()
127 data += this_step; in verity_hash_update()
128 len -= this_step; in verity_hash_update()
H A Ddm-integrity.c918 size_t this_step; in xor_journal() local
934 this_step = min(n_bytes, (size_t)PAGE_SIZE - pl_offset); in xor_journal()
939 async_xor(dst_page, src_pages, pl_offset, 2, this_step, &submit); in xor_journal()
943 n_bytes -= this_step; in xor_journal()
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-verity-target.c110 size_t this_step = min_t(size_t, len, PAGE_SIZE - offset_in_page(data)); in verity_hash_update() local
111 flush_kernel_vmap_range((void *)data, this_step); in verity_hash_update()
113 sg_set_page(&sg, vmalloc_to_page(data), this_step, offset_in_page(data)); in verity_hash_update()
114 ahash_request_set_crypt(req, &sg, NULL, this_step); in verity_hash_update()
118 data += this_step; in verity_hash_update()
119 len -= this_step; in verity_hash_update()
H A Ddm-bufio.c646 unsigned this_step = min((unsigned)(PAGE_SIZE - offset_in_page(ptr)), len); in use_bio() local
647 if (!bio_add_page(bio, virt_to_page(ptr), this_step, in use_bio()
653 len -= this_step; in use_bio()
654 ptr += this_step; in use_bio()
H A Ddm-integrity.c824 size_t this_step; in xor_journal() local
839 this_step = min(n_bytes, (size_t)PAGE_SIZE - pl_offset); in xor_journal()
844 async_xor(dst_page, src_pages, pl_offset, 2, this_step, &submit); in xor_journal()
848 n_bytes -= this_step; in xor_journal()

Completed in 23 milliseconds