Searched refs:rd_size (Results 1 – 2 of 2) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe01.c | 18 int rd_size, wr_size; in verify_pipe() local 32 rd_size = SAFE_READ(0, fds[0], rdbuf, sizeof(rdbuf)); in verify_pipe() 34 if (rd_size != wr_size) { in verify_pipe() 36 rd_size, wr_size); in verify_pipe()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
D | growfiles.c | 2702 int rd_size; in check_file() local 2772 rd_size = MIN(MAX_FC_READ, fsize - rd_cnt); in check_file() 2775 ret = lio_read_buffer(fd, io_type, buf, rd_size, in check_file() 2779 read_buffer(fd, io_type, buf, rd_size, 0, &errmsg); in check_file() 2782 if (ret != rd_size) { in check_file() 2796 datapidchk(STATIC_NUM, buf, rd_size, rd_cnt, in check_file() 2800 datapidchk(Pid, buf, rd_size, rd_cnt, in check_file() 2804 dataasciichk(NULL, buf, rd_size, rd_cnt, in check_file() 2809 databinchk('a', buf, rd_size, rd_cnt, in check_file() 2813 databinchk('c', buf, rd_size, rd_cnt, in check_file() [all …]
|