Lines Matching refs:readsize
2162 ssize_t readsize; in send_data_with_read() local
2166 if (curclass.readsize > 0) in send_data_with_read()
2167 readsize = curclass.readsize; in send_data_with_read()
2169 readsize = st->st_blksize; in send_data_with_read()
2170 if ((buf = malloc(readsize)) == NULL) { in send_data_with_read()
2179 bufrem = readsize; in send_data_with_read()
2182 c = read(filefd, buf, readsize); in send_data_with_read()
2388 ssize_t readsize; in receive_data() local
2421 if (curclass.readsize) in receive_data()
2422 readsize = curclass.readsize; in receive_data()
2424 readsize = (ssize_t)st.st_blksize; in receive_data()
2426 readsize = BUFSIZ; in receive_data()
2427 if ((buf = malloc(readsize)) == NULL) { in receive_data()
2441 MIN(readsize, bufrem))) <= 0) in receive_data()
2462 while ((c = read(netfd, buf, readsize)) > 0) { in receive_data()
2800 if (curclass.readsize) in statcmd()
2801 reply(0, "Read size: " LLF, (LLT)curclass.readsize); in statcmd()