Searched refs:this_step (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/drivers/md/ |
A D | dm-verity-target.c | 117 size_t this_step = min_t(size_t, len, PAGE_SIZE - offset_in_page(data)); in verity_hash_update() local 119 flush_kernel_vmap_range((void *)data, this_step); in verity_hash_update() 121 sg_set_page(&sg, vmalloc_to_page(data), this_step, offset_in_page(data)); in verity_hash_update() 122 ahash_request_set_crypt(req, &sg, NULL, this_step); in verity_hash_update() 126 data += this_step; in verity_hash_update() 127 len -= this_step; in verity_hash_update()
|
A D | dm-bufio.c | 663 unsigned int this_step = min((unsigned int)(PAGE_SIZE - offset_in_page(ptr)), len); in use_bio() local 665 if (!bio_add_page(bio, virt_to_page(ptr), this_step, in use_bio() 671 len -= this_step; in use_bio() 672 ptr += this_step; in use_bio()
|
A D | dm-integrity.c | 933 size_t this_step; in xor_journal() local 949 this_step = min(n_bytes, (size_t)PAGE_SIZE - pl_offset); in xor_journal() 954 async_xor(dst_page, src_pages, pl_offset, 2, this_step, &submit); in xor_journal() 958 n_bytes -= this_step; in xor_journal()
|
Completed in 18 milliseconds