Home
last modified time | relevance | path

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

/fs/squashfs/
Dblock.c50 int bytes_to_copy = min_t(int, bvec->bv_len - offset, in copy_bio_to_actor() local
53 bytes_to_copy = min_t(int, bytes_to_copy, in copy_bio_to_actor()
57 offset, bytes_to_copy); in copy_bio_to_actor()
59 actor_offset += bytes_to_copy; in copy_bio_to_actor()
60 copied_bytes += bytes_to_copy; in copy_bio_to_actor()
61 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.c559 int offset, bytes_to_copy; in copy_strings() local
571 bytes_to_copy = offset; in copy_strings()
572 if (bytes_to_copy > len) in copy_strings()
573 bytes_to_copy = len; in copy_strings()
575 offset -= bytes_to_copy; in copy_strings()
576 pos -= bytes_to_copy; in copy_strings()
577 str -= bytes_to_copy; in copy_strings()
578 len -= bytes_to_copy; in copy_strings()
599 if (copy_from_user(kaddr+offset, str, bytes_to_copy)) { in copy_strings()
635 unsigned int bytes_to_copy = min_t(unsigned int, len, in copy_string_kernel() local
[all …]