Searched refs:TRANSFER_SIZE (Results 1 – 1 of 1) sorted by relevance
883 #define TRANSFER_SIZE (16 * 1024 * 1024) in socklib_producer_consumer() macro894 for (off = 0; off < TRANSFER_SIZE; ) { in socklib_producer_consumer()895 if (off < TRANSFER_SIZE / 2) in socklib_producer_consumer()897 ((off / (TRANSFER_SIZE / 8) % 2) ? 64 : in socklib_producer_consumer()942 off < TRANSFER_SIZE) e(0); in socklib_producer_consumer()965 for (off = 0; off < TRANSFER_SIZE; ) { in socklib_producer_consumer()966 if (off < TRANSFER_SIZE / 4 || in socklib_producer_consumer()967 (off >= TRANSFER_SIZE / 2 && off < TRANSFER_SIZE * 3 / 4)) in socklib_producer_consumer()972 if (len > TRANSFER_SIZE - off) in socklib_producer_consumer()973 len = TRANSFER_SIZE - off; in socklib_producer_consumer()[all …]