Home
last modified time | relevance | path

Searched refs:bytes_to_copy (Results 1 – 3 of 3) sorted by relevance

/fs/squashfs/
Dblock.c47 int bytes_to_copy = min_t(int, bvec->bv_len - offset, in copy_bio_to_actor() local
50 bytes_to_copy = min_t(int, bytes_to_copy, in copy_bio_to_actor()
54 bytes_to_copy); in copy_bio_to_actor()
56 actor_offset += bytes_to_copy; in copy_bio_to_actor()
57 copied_bytes += bytes_to_copy; in copy_bio_to_actor()
58 offset += bytes_to_copy; in copy_bio_to_actor()
/fs/verity/
Dread_metadata.c42 unsigned int bytes_to_copy = min_t(u64, end_offset - offset, in fsverity_read_merkle_tree() local
57 if (copy_to_user(buf, virt + offs_in_page, bytes_to_copy)) { in fsverity_read_merkle_tree()
66 retval += bytes_to_copy; in fsverity_read_merkle_tree()
67 buf += bytes_to_copy; in fsverity_read_merkle_tree()
68 offset += bytes_to_copy; in fsverity_read_merkle_tree()
/fs/
Dexec.c556 int offset, bytes_to_copy; in copy_strings() local
568 bytes_to_copy = offset; in copy_strings()
569 if (bytes_to_copy > len) in copy_strings()
570 bytes_to_copy = len; in copy_strings()
572 offset -= bytes_to_copy; in copy_strings()
573 pos -= bytes_to_copy; in copy_strings()
574 str -= bytes_to_copy; in copy_strings()
575 len -= bytes_to_copy; in copy_strings()
596 if (copy_from_user(kaddr+offset, str, bytes_to_copy)) { in copy_strings()
632 unsigned int bytes_to_copy = min_t(unsigned int, len, in copy_string_kernel() local
[all …]