Home
last modified time | relevance | path

Searched refs:this_chunk (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/mm/
Dreadahead.c239 unsigned long this_chunk = (2 * 1024 * 1024) / PAGE_SIZE; in force_page_cache_readahead() local
241 if (this_chunk > nr_to_read) in force_page_cache_readahead()
242 this_chunk = nr_to_read; in force_page_cache_readahead()
243 __do_page_cache_readahead(mapping, filp, offset, this_chunk, 0); in force_page_cache_readahead()
245 offset += this_chunk; in force_page_cache_readahead()
246 nr_to_read -= this_chunk; in force_page_cache_readahead()
/Linux-v5.4/drivers/net/
Dnetconsole.c800 int this_chunk; in send_ext_msg_udp() local
806 this_chunk = min(body_len - offset, in send_ext_msg_udp()
808 if (WARN_ON_ONCE(this_chunk <= 0)) in send_ext_msg_udp()
811 memcpy(buf + this_header, body + offset, this_chunk); in send_ext_msg_udp()
813 netpoll_send_udp(&nt->np, buf, this_header + this_chunk); in send_ext_msg_udp()
815 offset += this_chunk; in send_ext_msg_udp()