Home
last modified time | relevance | path

Searched refs:pids (Results 1 – 25 of 138) sorted by relevance

123456

/external/bc/tests/
Dall.sh142 pids=""
159 pids="$pids $!"
169 pids="$pids $!"
178 pids="$pids $!"
187 pids="$pids $!"
195 pids="$pids $!"
209 pids="$pids $!"
219 pids="$pids $!"
228 for p in $pids; do
/external/trace-cmd/tracecmd/
Dtrace-vm.c87 struct pids { struct
88 struct pids *next; argument
97 struct pids *pids; member
101 static void free_pids(struct pids *pids) in free_pids() argument
103 struct pids *next; in free_pids()
105 while (pids) { in free_pids()
106 next = pids; in free_pids()
107 pids = pids->next; in free_pids()
112 static void add_pid(struct pids **pids, int pid) in add_pid() argument
114 struct pids *new_pid; in add_pid()
[all …]
/external/linux-kselftest/tools/testing/selftests/arm64/fp/
Dsve-stress10 pids=
17 if [ -n "$pids" ]; then
18 kill $pids
19 wait $pids
20 pids=
46 pids=$pids\ $!
53 kill -USR1 $pids
55 pids=$pids\ $!
Dfpsimd-stress10 pids=
17 if [ -n "$pids" ]; then
18 kill $pids
19 wait $pids
20 pids=
47 pids=$pids\ $!
54 kill -USR1 $pids
56 pids=$pids\ $!
/external/ltp/testcases/network/nfs/nfs_stress/
Dnfs06.sh18 [ -n "$pids" ] && kill -9 $pids
27 local pids
30 pids="$pids $!"
34 tst_res TINFO "waiting for pids:$pids"
35 for p in $pids; do
39 pids=
/external/libvpx/test/
Dstress.sh82 local pids=""
97 pids="${pids} $!"
107 pids="${pids} $!"
122 pids="${pids} $!"
128 pids="${pids} $!"
133 for job in "${pids}"; do
/external/libwebsockets/lwsws/
Dmain.c64 static int pids[32]; variable
215 for (m = 0; m < (int)LWS_ARRAY_SIZE(pids); m++) in reload_handler()
216 if (pids[m]) in reload_handler()
217 kill(pids[m], SIGHUP); in reload_handler()
228 for (m = 0; m < (int)LWS_ARRAY_SIZE(pids); m++) in reload_handler()
229 if (pids[m]) in reload_handler()
230 kill(pids[m], SIGTERM); in reload_handler()
294 for (m = 0; m < (int)LWS_ARRAY_SIZE(pids); m++) in main()
295 if (!pids[m]) { in main()
296 pids[m] = n; in main()
[all …]
/external/ltp/runtest/
Dcontrollers368 pids_1_1 pids.sh 1 1 0
369 pids_1_2 pids.sh 1 2 0
370 pids_1_10 pids.sh 1 10 0
371 pids_1_50 pids.sh 1 50 0
372 pids_1_100 pids.sh 1 100 0
373 pids_2_1 pids.sh 2 1 0
374 pids_2_2 pids.sh 2 2 0
375 pids_2_10 pids.sh 2 10 0
376 pids_2_50 pids.sh 2 50 0
377 pids_2_100 pids.sh 2 100 0
[all …]
/external/ltp/testcases/kernel/syscalls/sched_getparam/
Dsched_getparam01.c27 static pid_t pids[2] = {0, 0}; variable
39 TST_EXP_PASS_SILENT(tv->sched_getparam(pids[n], &param), in verify_sched_getparam()
40 "sched_getparam(%d)", pids[n]); in verify_sched_getparam()
51 pids[n], param.sched_priority); in verify_sched_getparam()
53 tst_res(TPASS, "sched_getparam(%d) got expected sched_priority 0", pids[n]); in verify_sched_getparam()
67 pids[1] = getpid(); in setup()
74 .tcnt = ARRAY_SIZE(pids),
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Dparsed_trace_events.py52 self.pids = None
68 if self.pids:
69 return self.pids
70 pids = set()
73 pids.add(e["pid"])
74 self.pids = list(pids)
75 return self.pids
/external/ltp/testcases/kernel/containers/pidns/
Dpidns05.c83 int find_cinit_pids(pid_t * pids) in find_cinit_pids() argument
99 pids[next] = i; in find_cinit_pids()
156 pid_t pids[MAX_DEPTH]; in kill_nested_containers() local
159 orig_count = find_cinit_pids(pids); in kill_nested_containers()
160 kill(pids[MAX_DEPTH - 3], SIGKILL); in kill_nested_containers()
171 if (pids[i] != pids_new[i]) in kill_nested_containers()
180 "the container %d", pids[MAX_DEPTH - 3]); in kill_nested_containers()
184 kill(pids[i], SIGKILL); in kill_nested_containers()
185 waitpid(pids[i], &status, 0); in kill_nested_containers()
/external/libcups/test/
D5.6-lpr.sh53 pids=""
62 pids="$pids $!"
64 pids="$pids $!"
68 wait $pids
D5.5-lp.sh53 pids=""
62 pids="$pids $!"
64 pids="$pids $!"
68 wait $pids
/external/perfetto/src/profiling/common/
Dproc_utils.cc70 void RemoveUnderAnonThreshold(uint32_t min_size_kb, std::set<pid_t>* pids) { in RemoveUnderAnonThreshold() argument
71 for (auto it = pids->begin(); it != pids->end();) { in RemoveUnderAnonThreshold()
83 it = pids->erase(it); in RemoveUnderAnonThreshold()
215 void FindAllProfilablePids(std::set<pid_t>* pids) { in FindAllProfilablePids() argument
216 ForEachPid([pids](pid_t pid) { in FindAllProfilablePids()
225 pids->emplace(pid); in FindAllProfilablePids()
230 std::set<pid_t>* pids) { in FindPidsForCmdlines() argument
231 ForEachPid([&cmdlines, pids](pid_t pid) { in FindPidsForCmdlines()
239 pids->emplace(static_cast<pid_t>(pid)); in FindPidsForCmdlines()
246 std::set<pid_t>* pids) { in FindPidsForCmdlinePatterns() argument
[all …]
/external/linux-kselftest/tools/testing/selftests/cgroup/
Dtest_kill.c58 pid_t pids[100]; in test_cgkill_simple() local
71 pids[i] = cg_run_nowait(cgroup, child_fn, NULL); in test_cgkill_simple()
86 wait_for_pid(pids[i]); in test_cgkill_simple()
115 pid_t pids[5]; in test_cgkill_tree() local
164 pids[0] = cg_run_nowait(cgroup[2], child_fn, NULL); in test_cgkill_tree()
165 pids[1] = cg_run_nowait(cgroup[7], child_fn, NULL); in test_cgkill_tree()
166 pids[2] = cg_run_nowait(cgroup[9], child_fn, NULL); in test_cgkill_tree()
167 pids[3] = cg_run_nowait(cgroup[9], child_fn, NULL); in test_cgkill_tree()
168 pids[4] = cg_run_nowait(cgroup[9], child_fn, NULL); in test_cgkill_tree()
190 wait_for_pid(pids[i]); in test_cgkill_tree()
/external/linux-kselftest/tools/testing/selftests/perf_events/
Dremove_on_exec.c200 pid_t pids[30]; in TEST_F() local
203 for (i = 0; i < sizeof(pids) / sizeof(pids[0]); i++) { in TEST_F()
204 pids[i] = fork(); in TEST_F()
205 if (pids[i] == 0) { in TEST_F()
217 for (i = 0; i < sizeof(pids) / sizeof(pids[0]); i++) { in TEST_F()
219 EXPECT_EQ(waitpid(pids[i], &tmp, WNOHANG), 0); in TEST_F()
220 EXPECT_EQ(kill(pids[i], SIGKILL), 0); in TEST_F()
/external/ltp/testcases/kernel/controllers/pids/
Dpids.sh110 ROD echo $max \> $testpath/pids.max
133 ROD echo $lim \> $testpath/pids.max
154 ROD echo 0 \> $testpath/pids.max
166 echo -1 > $testpath/pids.max
181 ROD echo $lim \> $testpath/pids.max
207 ROD echo $max \> $testpath/pids.max
249 ROD echo $max \> $testpath/pids.max
251 ROD echo +pids \> "$testpath"/cgroup.subtree_control
256 ROD echo $lim \> $testpath/child/pids.max
281 ROD echo +pids \> "$testpath"/cgroup.subtree_control
[all …]
/external/ltp/testcases/network/nfs/nfslock01/
Dnfslock01.sh40 local pids=$!
42 pids="$pids $!"
44 tst_res TINFO "waiting for pids: $pids"
45 for p in $pids; do
/external/crosvm/swap/src/
Dprocesses.rs35 pids: Vec<Pid>, field
45 pids: load_children(monitor_pid)?, in freeze_child_processes()
56 for pid in &self.pids { in stop_the_world()
60 for pid in &self.pids { in stop_the_world()
68 for pid in &self.pids { in continue_the_world()
88 let pids: std::result::Result<Vec<i32>, ParseIntError> = children in load_children() localVariable
98 pids.context("parse pids") in load_children()
/external/ltp/testcases/kernel/syscalls/futex/
Dfutex_wake03.c68 pid_t pids[55]; in run() local
71 for (i = 0; i < ARRAY_SIZE(pids); i++) { in run()
72 pids[i] = SAFE_FORK(); in run()
73 if (!pids[i]) in run()
77 for (i = 0; i < ARRAY_SIZE(pids); i++) in run()
78 TST_PROCESS_STATE_WAIT(pids[i], 'S', 0); in run()
/external/bcc/tools/
Ddbstat.py46 if not args.pids or len(args.pids) == 0:
48 args.pids = map(int, subprocess.check_output(
51 args.pids = map(int, subprocess.check_output(
86 usdts = list(map(lambda pid: USDT(pid=pid), args.pids))
98 (', '.join(map(str, args.pids)), args.threshold))
Ddbslower.py60 if args.path and not args.pids:
189 if not args.pids or len(args.pids) == 0:
191 args.pids = map(int, subprocess.check_output(
194 args.pids = map(int, subprocess.check_output(
197 usdts = list(map(lambda pid: USDT(pid=pid), args.pids))
224 (', '.join(map(str, args.pids)), args.threshold))
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/
DFileDescriptorLeakChecker.java84 private ImmutableMap<String, Integer> generateMap(List<Integer> pids) { in generateMap() argument
86 for (int pid : pids) { in generateMap()
120 ImmutableList.Builder<Integer> pids = ImmutableList.builder(); in getProcessIds() local
128 pids.add(Integer.parseInt(line.split("[ \t]+", -1)[1])); in getProcessIds()
137 return pids.build(); in getProcessIds()
173 ImmutableList<Integer> pids = getProcessIds(); in apply()
174 ImmutableMap<String, Integer> beforeMap = generateMap(pids); in apply()
178 Map<String, Integer> diffMap = difference(beforeMap, generateMap(pids)); in apply()
182 diffMap = difference(beforeMap, generateMap(pids)); in apply()
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
Dmulti_ebb_procs_test.c77 pid_t pids[NR_CHILDREN]; in multi_ebb_procs() local
87 pids[i] = fork(); in multi_ebb_procs()
88 if (pids[i] == 0) in multi_ebb_procs()
98 kill(pids[i], SIGINT); in multi_ebb_procs()
100 rc |= wait_for_child(pids[i]); in multi_ebb_procs()
/external/toybox/toys/lsb/
Dkillall.c35 struct int_list { struct int_list *next; int val; } *pids;
52 struct int_list *new = xmalloc(sizeof(*TT.pids));
55 new->next = TT.pids;
56 TT.pids = new;
111 struct int_list *p = TT.pids; in killall_main()
121 llist_traverse(TT.pids, free); in killall_main()

123456