Searched refs:this_chunk (Results 1 – 2 of 2) sorted by relevance
1135 int this_chunk = 0; in send_ext_msg_udp() local1144 this_chunk = min(body_len - offset, in send_ext_msg_udp()1146 if (WARN_ON_ONCE(this_chunk <= 0)) in send_ext_msg_udp()1148 memcpy(buf + this_header, body + offset, this_chunk); in send_ext_msg_udp()1149 this_offset += this_chunk; in send_ext_msg_udp()1157 int preceding_bytes = this_chunk + this_header; in send_ext_msg_udp()1162 this_chunk = min(userdata_len - sent_userdata, in send_ext_msg_udp()1164 if (WARN_ON_ONCE(this_chunk < 0)) in send_ext_msg_udp()1174 this_chunk); in send_ext_msg_udp()1175 this_offset += this_chunk; in send_ext_msg_udp()
345 unsigned long this_chunk = (2 * 1024 * 1024) / PAGE_SIZE; in force_page_cache_ra() local347 if (this_chunk > nr_to_read) in force_page_cache_ra()348 this_chunk = nr_to_read; in force_page_cache_ra()349 do_page_cache_ra(ractl, this_chunk, 0); in force_page_cache_ra()351 nr_to_read -= this_chunk; in force_page_cache_ra()