Lines Matching refs:chunk_size
85 static size_t chunk_size = 512*1024; variable
168 buffer = mmap_large_buffer(chunk_size, &buffer_sz); in child_thread()
174 raddr = mmap(NULL, chunk_size + map_align, PROT_READ, flags, fd, 0); in child_thread()
193 zc.length = chunk_size; in child_thread()
201 assert(zc.length <= chunk_size); in child_thread()
212 assert(zc.recv_skip_hint <= chunk_size); in child_thread()
223 while (sub < chunk_size) { in child_thread()
224 lu = read(fd, buffer + sub, chunk_size - sub); in child_thread()
263 munmap(raddr, chunk_size + map_align); in child_thread()
317 rcvlowat = chunk_size; in do_accept()
423 chunk_size = atol(optarg); in main()
469 buffer = mmap_large_buffer(chunk_size, &buffer_sz); in main()
506 if (wr > chunk_size) in main()
507 wr = chunk_size; in main()