Home | History | Annotate | Download | only in ftruncate

Lines Matching refs:reclen

51 #define RECLEN	100
61 static int reclen;
81 maybe_run_child(&dochild, "sdd", filename, &recstart, &reclen);
94 reclen = RECLEN;
96 * want at least RECLEN bytes BEFORE AND AFTER the
99 recstart = RECLEN + rand() % (len - 3 * RECLEN);
107 reclen) < -1) {
174 ftruncate_expect_fail(fd, RECLEN, "offset before lock");
175 ftruncate_expect_fail(fd, recstart + RECLEN/2, "offset in lock");
176 ftruncate_expect_success(fd, recstart + RECLEN, "offset after lock");
182 ftruncate_expect_success(fd, recstart + RECLEN/2, "offset in lock");
184 ftruncate_expect_success(fd, recstart + RECLEN, "offset after lock");
205 flocks.l_len = reclen;