Home
last modified time | relevance | path

Searched refs:recstart (Results 1 – 1 of 1) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ftruncate/
Dftruncate04.c60 static int recstart; variable
81 maybe_run_child(&dochild, "sdd", filename, &recstart, &reclen); in main()
99 recstart = RECLEN + rand() % (len - 3 * RECLEN); in main()
106 if (self_exec(av[0], "sdd", filename, recstart, in main()
175 ftruncate_expect_fail(fd, recstart + RECLEN/2, "offset in lock"); in doparent()
176 ftruncate_expect_success(fd, recstart + RECLEN, "offset after lock"); in doparent()
182 ftruncate_expect_success(fd, recstart + RECLEN/2, "offset in lock"); in doparent()
183 ftruncate_expect_success(fd, recstart, "offset before lock"); in doparent()
184 ftruncate_expect_success(fd, recstart + RECLEN, "offset after lock"); in doparent()
204 flocks.l_start = recstart; in dochild()