Lines Matching refs:avail
1020 size_t padding, avail = 0; in relay_file_read_subbuf_avail() local
1032 avail = write_offset - (read_offset + padding); in relay_file_read_subbuf_avail()
1034 avail = (subbuf_size - padding) - read_offset; in relay_file_read_subbuf_avail()
1036 return avail; in relay_file_read_subbuf_avail()
1101 size_t avail, in subbuf_read_actor() argument
1108 ret = avail; in subbuf_read_actor()
1109 if (copy_to_user(desc->arg.buf, from, avail)) { in subbuf_read_actor()
1122 size_t avail,
1133 size_t read_start, avail; in relay_file_read_subbufs() local
1145 avail = relay_file_read_subbuf_avail(read_start, buf); in relay_file_read_subbufs()
1146 if (!avail) in relay_file_read_subbufs()
1149 avail = min(desc->count, avail); in relay_file_read_subbufs()
1150 ret = subbuf_actor(read_start, buf, avail, desc); in relay_file_read_subbufs()