Searched refs:this_len (Results 1 – 2 of 2) sorted by relevance
/kernel/ |
D | relay.c | 1156 unsigned int this_len, this_end, private; in subbuf_splice_actor() local 1162 this_len = min_t(unsigned long, len, PAGE_SIZE - poff); in subbuf_splice_actor() 1163 private = this_len; in subbuf_splice_actor() 1168 this_end = cur_pos + this_len; in subbuf_splice_actor() 1170 this_len = nonpad_end - cur_pos; in subbuf_splice_actor() 1171 private = this_len + padding; in subbuf_splice_actor() 1173 spd.partial[spd.nr_pages].len = this_len; in subbuf_splice_actor() 1176 len -= this_len; in subbuf_splice_actor() 1177 total_len += this_len; in subbuf_splice_actor()
|
D | ptrace.c | 638 int this_len, retval; in ptrace_readdata() local 640 this_len = (len > sizeof(buf)) ? sizeof(buf) : len; in ptrace_readdata() 641 retval = ptrace_access_vm(tsk, src, buf, this_len, FOLL_FORCE); in ptrace_readdata() 664 int this_len, retval; in ptrace_writedata() local 666 this_len = (len > sizeof(buf)) ? sizeof(buf) : len; in ptrace_writedata() 667 if (copy_from_user(buf, src, this_len)) in ptrace_writedata() 669 retval = ptrace_access_vm(tsk, dst, buf, this_len, in ptrace_writedata()
|