Lines Matching refs:file_size
60 unsigned int file_size = 0; in main() local
61 socklen_t optlen = sizeof(file_size); in main()
62 if (getsockopt(sv[1], SOL_SOCKET, SO_SNDBUF, &file_size, &optlen)) in main()
64 if (file_size < 1024) in main()
65 error_msg_and_skip("SO_SNDBUF too small: %u", file_size); in main()
67 file_size /= 4; in main()
68 if (file_size / 16 > page_size) in main()
69 file_size = page_size * 16; in main()
70 const unsigned int blen = file_size / 3; in main()
71 const unsigned int alen = file_size - blen; in main()
79 if (ftruncate(reg_in, file_size)) in main()
99 assert(syscall(__NR_sendfile64, sv[1], reg_in, p_off, file_size + 1) in main()
102 sv[1], reg_in, alen, file_size, file_size + 1, blen); in main()