Lines Matching refs:SEEK_DATA
6 * Test functional SEEK_HOLE and SEEK_DATA of lseek(2).
11 * SEEK_DATA
69 {0, 0, SEEK_DATA, "data01", 6}, /* SEEK_DATA from starting of file*/
70 {0, 4, SEEK_DATA, "01suffix", 8}, /* SEEK_DATA from maddle of the first data */
75 {1, 0, SEEK_DATA, "data02", 6}, /* SEEK_DATA from the starting of the first hole */
76 {UNIT_BLOCKS, -1, SEEK_DATA, "data02", 6}, /* SEEK_DATA from the tail of the first hole */
77 {UNIT_BLOCKS, 0, SEEK_DATA, "data02", 6}, /* SEEK_DATA from the starting of the second data */
78 {UNIT_BLOCKS, 4, SEEK_DATA, "02suffix", 8}, /* SEEK_DATA from middle of the second data */
82 {UNIT_BLOCKS + 1, 128, SEEK_DATA, "data03", 6}, /* SEEK_DATA from middle of the second hole */
105 pos = lseek(fd, 0, SEEK_DATA);
108 tst_brk(TCONF | TERRNO, "SEEK_DATA "
111 tst_brk(TBROK | TERRNO, "SEEK_DATA failed");
121 pos = SAFE_LSEEK(fd, 0, SEEK_DATA);
139 "filesystem maybe use generic_file_llseek(), not support real SEEK_DATA/SEEK_HOLE");
206 n, (tp->whence == SEEK_DATA) ? "SEEK_DATA" : "SEEK_HOLE",
212 n, (tp->whence == SEEK_DATA) ? "SEEK_DATA" : "SEEK_HOLE",