Lines Matching refs:this_len
868 int this_len = min_t(int, count, PAGE_SIZE); in mem_rw() local
870 if (write && copy_from_user(page, buf, this_len)) { in mem_rw()
875 this_len = access_remote_vm(mm, addr, page, this_len, write); in mem_rw()
876 if (!this_len) { in mem_rw()
882 if (!write && copy_to_user(buf, page, this_len)) { in mem_rw()
887 buf += this_len; in mem_rw()
888 addr += this_len; in mem_rw()
889 copied += this_len; in mem_rw()
890 count -= this_len; in mem_rw()
969 size_t this_len, max_len; in environ_read() local
975 this_len = mm->env_end - (mm->env_start + src); in environ_read()
978 this_len = min(max_len, this_len); in environ_read()
981 page, this_len, 0); in environ_read()