Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/io/ltp-aiodio/
Ddio_append.c22 static volatile int *run_child; variable
47run_child = SAFE_MMAP(NULL, sizeof(int), PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0… in setup()
52 if (run_child) { in cleanup()
53 *run_child = 0; in cleanup()
54 SAFE_MUNMAP((void *)run_child, sizeof(int)); in cleanup()
64 *run_child = 1; in run()
68 io_read_eof(filename, run_child); in run()
85 *run_child = 0; in run()
Ddio_sparse.c29 static volatile int *run_child; variable
82run_child = SAFE_MMAP(NULL, sizeof(int), PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0… in setup()
90 if (run_child) { in cleanup()
91 *run_child = 0; in cleanup()
92 SAFE_MUNMAP((void *)run_child, sizeof(int)); in cleanup()
105 *run_child = 1; in run()
109 io_read(filename, filesize, run_child); in run()
115 *run_child = 0; in run()
Ddio_truncate.c37 static volatile int *run_child; variable
62 while (*run_child) { in dio_read()
107run_child = SAFE_MMAP(NULL, sizeof(int), PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0… in setup()
117 if (run_child) { in cleanup()
118 *run_child = 0; in cleanup()
119 SAFE_MUNMAP((void *)run_child, sizeof(int)); in cleanup()
131 *run_child = 1; in run()
164 *run_child = 0; in run()
Daiodio_append.c27 static volatile int *run_child; variable
129run_child = SAFE_MMAP(NULL, sizeof(int), PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0… in setup()
134 if (run_child) { in cleanup()
135 *run_child = 0; in cleanup()
136 SAFE_MUNMAP((void *)run_child, sizeof(int)); in cleanup()
146 *run_child = 1; in run()
150 io_read_eof(filename, run_child); in run()
182 *run_child = 0; in run()
Daiodio_sparse.c31 static volatile int *run_child; variable
173 run_child = SAFE_MMAP(NULL, sizeof(int), PROT_READ | PROT_WRITE, in setup()
182 if (run_child) { in cleanup()
183 *run_child = 0; in cleanup()
184 SAFE_MUNMAP((void *)run_child, sizeof(int)); in cleanup()
193 *run_child = 1; in run()
197 io_read(filename, filesize, run_child); in run()
224 *run_child = 0; in run()
Dcommon.h58 static inline void io_read(const char *filename, int filesize, volatile int *run_child) in io_read() argument
90 if (!*run_child || !tst_remaining_runtime()) in io_read()
99 static inline void io_read_eof(const char *filename, volatile int *run_child) in io_read_eof() argument
110 while (*run_child) { in io_read_eof()
/third_party/rust/crates/env_logger/tests/
Dregexp_filter.rs22 fn run_child(rust_log: String) -> bool { in run_child() function
35 if !run_child(rust_log.to_string()) { in assert_message_printed()
41 if run_child(rust_log.to_string()) { in assert_message_not_printed()
/third_party/ltp/testcases/kernel/syscalls/madvise/
Dmadvise08.c153 static pid_t run_child(int advice) in run_child() function
190 pid = run_child(MADV_DONTDUMP); in run()
197 pid = run_child(MADV_DODUMP); in run()
Dmadvise07.c38 static void run_child(void) in run_child() function
77 run_child(); in run()
/third_party/ltp/testcases/kernel/syscalls/setreuid/
Dsetreuid05.c85 static void run_child(const struct test_data_t *tc) in run_child() function
108 run_child(test_data + i); in run()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify03.c159 static void run_child(void) in run_child() function
240 run_child(); in test_fanotify()
/third_party/ltp/pan/
Dltp-pan.c100 static pid_t run_child(struct coll_entry *colle, struct tag_pgrp *active,
548 run_child(coll->ary[c], running + i, quiet_mode, in main()
904 run_child(struct coll_entry *colle, struct tag_pgrp *active, int quiet_mode, in run_child() function
/third_party/python/PC/
Dlauncher.c756 run_child(wchar_t * cmdline) in run_child() function
834 run_child(executable); in invoke_child()
857 run_child(child_command); in invoke_child()
/third_party/python/Lib/test/
Dtest_builtin.py1991 def run_child(self, child, terminal_input): member in PtyTests
2076 lines = self.run_child(child, terminal_input + b"\r\n")
2109 lines = self.run_child(child, b"quux\r")