Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl15.c70 static void lock_region_two(int file_flag, int file_mode) in lock_region_two() argument
74 fd = SAFE_OPEN(tmpname, file_flag, file_mode); in lock_region_two()
83 static void do_test(int file_flag, int file_mode, int dup_flag) in do_test() argument
87 fd = SAFE_OPEN(tmpname, file_flag, file_mode); in do_test()
124 static int run_test(int file_flag, int file_mode, int dup_flag) in run_test() argument
126 fd[0] = SAFE_OPEN(tmpname, file_flag, file_mode); in run_test()
132 lock_region_two(file_flag, file_mode); in run_test()
137 fd[1] = SAFE_OPEN(tmpname, file_flag, file_mode); in run_test()
153 do_test(file_flag, file_mode, dup_flag); in run_test()
Dfcntl16.c444 int run_test(int file_flag, int file_mode, int start, int end) in run_test() argument
455 fd = SAFE_OPEN(cleanup, tmpname, file_flag, file_mode); in run_test()
Dfcntl14.c777 void run_test(int file_flag, int file_mode, int seek, int start, int end) in run_test() argument
782 fd = SAFE_OPEN(cleanup, tmpname, file_flag, file_mode); in run_test()