Searched refs:size_to_add (Results 1 – 2 of 2) sorted by relevance
440 unsigned size_to_add, to_copy; in clone_bio() local455 size_to_add = min((unsigned)PAGE_SIZE << order, remaining_size); in clone_bio()458 to_copy = size_to_add; in clone_bio()471 __bio_add_page(clone, pages, size_to_add, 0); in clone_bio()472 remaining_size -= size_to_add; in clone_bio()
1727 unsigned size_to_add; in crypt_alloc_buffer() local1756 size_to_add = min((unsigned)PAGE_SIZE << order, remaining_size); in crypt_alloc_buffer()1757 __bio_add_page(clone, pages, size_to_add, 0); in crypt_alloc_buffer()1758 remaining_size -= size_to_add; in crypt_alloc_buffer()