Home
last modified time | relevance | path

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

12

/third_party/ltp/testcases/network/nfs/nfs_stress/
Dnfs0619 [ -n "$pids" ] && kill -9 $pids
28 local pids
31 pids="$pids $!"
35 tst_res TINFO "waiting for pids:$pids"
36 for p in $pids; do
40 pids=
/third_party/libwebsockets/lwsws/
Dmain.c64 static int pids[32]; variable
209 for (m = 0; m < (int)LWS_ARRAY_SIZE(pids); m++) in reload_handler()
210 if (pids[m]) in reload_handler()
211 kill(pids[m], SIGHUP); in reload_handler()
222 for (m = 0; m < (int)LWS_ARRAY_SIZE(pids); m++) in reload_handler()
223 if (pids[m]) in reload_handler()
224 kill(pids[m], SIGTERM); in reload_handler()
284 for (m = 0; m < (int)LWS_ARRAY_SIZE(pids); m++) in main()
285 if (!pids[m]) { in main()
286 pids[m] = n; in main()
[all …]
/third_party/node/deps/npm/node_modules/worker-farm/tests/
Dindex.js76 , pids = []
81 pids.push(pid)
82 if (pids.length == 10) {
83 t.equal(1, uniq(pids).length, 'only a single process (by pid)')
84 } else if (pids.length > 10)
101 , pids = []
106 pids.push(pid)
107 if (pids.length == 10) {
108 t.equal(2, uniq(pids).length, 'only two child processes (by pid)')
109 } else if (pids.length > 10)
[all …]
/third_party/ltp/runtest/
Dcontrollers357 pids_1_1 pids.sh 1 1 0
358 pids_1_2 pids.sh 1 2 0
359 pids_1_10 pids.sh 1 10 0
360 pids_1_50 pids.sh 1 50 0
361 pids_1_100 pids.sh 1 100 0
362 pids_2_1 pids.sh 2 1 0
363 pids_2_2 pids.sh 2 2 0
364 pids_2_10 pids.sh 2 10 0
365 pids_2_50 pids.sh 2 50 0
366 pids_2_100 pids.sh 2 100 0
[all …]
/third_party/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()
/third_party/ltp/testcases/kernel/syscalls/cma/
Dprocess_vm_readv02.c40 static pid_t pids[2]; variable
62 pids[0] = fork(); in main()
63 switch (pids[0]) { in main()
71 pids[1] = fork(); in main()
72 switch (pids[1]) { in main()
81 SAFE_WAITPID(cleanup, pids[1], &status, 0); in main()
88 SAFE_WAITPID(cleanup, pids[0], &status, 0); in main()
137 TEST(ltp_syscall(__NR_process_vm_readv, pids[0], in child_invoke()
Dprocess_vm_writev02.c50 static pid_t pids[2]; variable
72 pids[0] = fork(); in main()
73 switch (pids[0]) { in main()
83 pids[1] = fork(); in main()
84 switch (pids[1]) { in main()
94 SAFE_WAITPID(cleanup, pids[1], &status, 0); in main()
101 SAFE_WAITPID(cleanup, pids[0], &status, 0); in main()
174 TEST(ltp_syscall(__NR_process_vm_writev, pids[0], &local, in child_write()
Dprocess_vm_readv03.c53 static pid_t pids[2]; variable
81 pids[0] = fork(); in main()
82 switch (pids[0]) { in main()
90 pids[1] = fork(); in main()
91 switch (pids[1]) { in main()
100 SAFE_WAITPID(cleanup, pids[1], &status, 0); in main()
107 SAFE_WAITPID(cleanup, pids[0], &status, 0); in main()
183 TEST(ltp_syscall(__NR_process_vm_readv, pids[0], &local, in fetch_remote_addrs()
216 TEST(ltp_syscall(__NR_process_vm_readv, pids[0], local, in child_invoke()
/third_party/node/test/fixtures/clustered-server/
Dapp.js22 const pids = [];
23 pids.push(process.pid);
25 pids.push(cluster.workers[key].process.pid);
26 process.send({ type: 'pids', pids: pids }); property
/third_party/ltp/testcases/network/nfs/nfslock01/
Dnfslock0143 local pids=$!
45 pids="$pids $!"
47 tst_res TINFO "waiting for pids: $pids"
48 for p in $pids; do
/third_party/ltp/testcases/kernel/syscalls/futex/
Dfutex_wake03.c76 pid_t pids[55]; in verify_futex_wake() local
78 for (i = 0; i < (int)ARRAY_SIZE(pids); i++) { in verify_futex_wake()
79 pids[i] = tst_fork(); in verify_futex_wake()
81 switch (pids[i]) { in verify_futex_wake()
91 for (i = 0; i < (int)ARRAY_SIZE(pids); i++) in verify_futex_wake()
92 tst_process_state_wait2(pids[i], 'S'); in verify_futex_wake()
/third_party/ltp/testcases/kernel/controllers/pids/
Dpids.sh52 exist=`grep -w pids /proc/cgroups | cut -f1`;
57 mount_point=`grep -w pids /proc/mounts | cut -f 2 | cut -d " " -f2`
68 ROD mount -t cgroup -o pids none $mount_point
131 ROD echo $max \> $testpath/pids.max
154 ROD echo $lim \> $testpath/pids.max
175 ROD echo 0 \> $testpath/pids.max
187 echo -1 > $testpath/pids.max
202 ROD echo $lim \> $testpath/pids.max
228 ROD echo $max \> $testpath/pids.max
270 ROD echo $max \> $testpath/pids.max
[all …]
/third_party/toybox/toys/lsb/
Dkillall.c35 struct int_list { struct int_list *next; int val; } *pids;
52 struct int_list *new = xmalloc(sizeof(*TT.pids));
54 new->next = TT.pids;
55 TT.pids = new;
110 struct int_list *p = TT.pids; in killall_main()
120 llist_traverse(TT.pids, free); in killall_main()
/third_party/ltp/testcases/kernel/controllers/memcg/stress/
Dmemcg_stress_test.sh70 local i pid pids
81 pids="$! $pids"
84 for pid in $pids; do
93 for pid in $pids; do
/third_party/ltp/testcases/kernel/mem/cpuset/
Dcpuset01.c126 pid_t *pids; in mem_hog_cpuset() local
137 pids = SAFE_MALLOC(sizeof(pid_t) * ntasks); in mem_hog_cpuset()
139 switch (pids[i] = fork()) { in mem_hog_cpuset()
141 tst_res(TFAIL | TERRNO, "fork %d", pids[i]); in mem_hog_cpuset()
153 if (kill(pids[i], SIGUSR1) == -1) { in mem_hog_cpuset()
154 tst_res(TFAIL | TERRNO, "kill %d", pids[i]); in mem_hog_cpuset()
/third_party/node/test/parallel/
Dtest-dgram-exclusive-implicit-bind.js45 const pids = []; variable
55 if (pids.includes(buf.toString()))
57 pids.push(buf.toString());
/third_party/ltp/testcases/network/stress/multicast/grp-operation/
Dmcast-lib.sh112 local cnt define_src_addr filter params pid pids ret
135 pids="$! $pids"
139 for pid in $pids; do wait $pid; done
/third_party/toybox/toys/pending/
Dtcpsvd.c71 struct list_pid *pids = NULL; variable
123 static char *delete(struct list_pid **pids, int pid) in delete() argument
125 struct list_pid *prev, *free_node, *head = *pids; in delete()
134 if (!prev) *pids = head->next; in delete()
176 char *ip = delete(&pids, pid_n); in handle_exit()
397 insert(&pids, pid, addr); in tcpsvd_main()
/third_party/ffmpeg/libavformat/
Dmpegts.c113 unsigned int pids[MAX_PIDS_PER_PROGRAM]; member
166 MpegTSFilter *pids[NB_PID_MAX]; member
332 if (p->pids[i] == pid) in add_pid_to_pmt()
335 p->pids[p->nb_pids++] = pid; in add_pid_to_pmt()
394 if (p->pids[j] != pid) in discard_pid()
489 if (pid >= NB_PID_MAX || ts->pids[pid]) in mpegts_open_filter()
494 ts->pids[pid] = filter; in mpegts_open_filter()
569 ts->pids[pid] = NULL; in mpegts_close_filter()
1303 MpegTSFilter *f = pes->ts->pids[p->pcr_pid]; in mpegts_push_data()
1692 if (!ts->pids[pid]) in m4sl_cb()
[all …]
/third_party/node/deps/npm/node_modules/is-regex/
D.npmignore10 pids
/third_party/node/deps/npm/node_modules/lazy-property/
D.npmignore10 pids
/third_party/gstreamer/gstplugins_bad/sys/dvb/
Dgstdvbsrc.c1046 object->pids[0] = 8192; in gst_dvbsrc_init()
1047 object->pids[1] = G_MAXUINT16; in gst_dvbsrc_init()
1114 gchar **pids; in gst_dvbsrc_set_pids() local
1119 dvbsrc->pids[0] = 8192; in gst_dvbsrc_set_pids()
1120 dvbsrc->pids[1] = G_MAXUINT16; in gst_dvbsrc_set_pids()
1125 dvbsrc->pids[0] = 0; in gst_dvbsrc_set_pids()
1126 dvbsrc->pids[1] = 1; in gst_dvbsrc_set_pids()
1129 tmp = pids = g_strsplit (pid_string, ":", MAX_FILTERS); in gst_dvbsrc_set_pids()
1131 while (*pids != NULL && pid_count < MAX_FILTERS) { in gst_dvbsrc_set_pids()
1132 pid = strtol (*pids, NULL, 0); in gst_dvbsrc_set_pids()
[all …]
/third_party/node/deps/npm/node_modules/has-symbols/
D.npmignore7 pids
/third_party/node/deps/npm/node_modules/is-date-object/
D.npmignore6 pids
/third_party/node/deps/npm/node_modules/umask/
D.npmignore6 pids

12