Searched defs:pids (Results 1 - 25 of 27) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
H A Dmulti_ebb_procs_test.c79 pid_t pids[NR_CHILDREN]; local
89 pids[i] = fork();
90 if (pids[i] == 0)
100 kill(pids[i], SIGINT);
102 rc |= wait_for_child(pids[i]);
/external/ltp/testcases/kernel/syscalls/futex/
H A Dfutex_wake03.c75 pid_t pids[55]; local
77 for (i = 0; i < (int)ARRAY_SIZE(pids); i++) {
78 pids[i] = tst_fork();
80 switch (pids[i]) {
90 for (i = 0; i < (int)ARRAY_SIZE(pids); i++)
91 tst_process_state_wait2(pids[i], 'S');
/external/ltp/testcases/kernel/syscalls/cma/
H A Dprocess_vm_readv02.c40 static pid_t pids[2]; variable
64 pids[0] = fork();
65 switch (pids[0]) {
73 pids[1] = fork();
74 switch (pids[1]) {
83 if (waitpid(pids[1], &status, 0) == -1)
91 if (waitpid(pids[0], &status, 0) == -1)
141 TEST(test_process_vm_readv(pids[0], &local, 1, &remote, 1, 0));
H A Dprocess_vm_writev02.c49 static pid_t pids[2]; variable
73 pids[0] = fork();
74 switch (pids[0]) {
84 pids[1] = fork();
85 switch (pids[1]) {
95 if (waitpid(pids[1], &status, 0) == -1)
103 if (waitpid(pids[0], &status, 0) == -1)
177 TEST(test_process_vm_writev(pids[0], &local, 1, &remote, 1, 0));
H A Dprocess_vm_readv03.c52 static pid_t pids[2]; variable
82 pids[0] = fork();
83 switch (pids[0]) {
91 pids[1] = fork();
92 switch (pids[1]) {
101 if (waitpid(pids[1], &status, 0) == -1)
109 if (waitpid(pids[0], &status, 0) == -1)
186 TEST(test_process_vm_readv(pids[0], &local, 1, &remote, 1, 0));
218 TEST(test_process_vm_readv(pids[0], local, NUM_LOCAL_VECS,
/external/ltp/testcases/kernel/containers/pidns/
H A Dpidns05.c80 * Returns - the number of pids matched.
82 int find_cinit_pids(pid_t * pids) argument
98 pids[next] = i;
155 pid_t pids[MAX_DEPTH]; local
158 orig_count = find_cinit_pids(pids);
159 kill(pids[MAX_DEPTH - 3], SIGKILL);
170 if (pids[i] != pids_new[i])
179 "the container %d", pids[MAX_DEPTH - 3]);
183 kill(pids[i], SIGKILL);
184 waitpid(pids[
[all...]
/external/ltp/testcases/kernel/mem/cpuset/
H A Dcpuset01.c176 pid_t *pids; local
187 pids = malloc(sizeof(pid_t) * ntasks);
188 if (pids == NULL)
191 switch (pids[i] = fork()) {
193 tst_resm(TFAIL | TERRNO, "fork %d", pids[i]);
205 if (kill(pids[i], SIGUSR1) == -1) {
206 tst_resm(TFAIL | TERRNO, "kill %d", pids[i]);
/external/toybox/toys/pending/
H A Dtcpsvd.c71 struct list_pid *pids = NULL; variable in typeref:struct:list_pid
123 static char *delete(struct list_pid **pids, int pid) argument
125 struct list_pid *prev, *free_node, *head = *pids;
134 if (!prev) *pids = head->next;
176 char *ip = delete(&pids, pid_n);
398 insert(&pids, pid, addr);
/external/selinux/sandbox/
H A Dseunshare.c559 int pids, max_pids; local
571 pids = 0;
580 if (pids == max_pids) {
581 pid_t *new_pid_table = realloc(pid_table, 2*pids*sizeof(pid_t));
590 pid_table[pids++] = pid;
595 for (i = 0; i < pids; i++) {
/external/vulkan-validation-layers/demos/
H A Dvulkaninfo.c52 DWORD pids[2]; local
53 DWORD num_pids = GetConsoleProcessList(pids, ARRAYSIZE(pids));
/external/minijail/
H A Dlibminijail.c116 int pids : 1; member in struct:minijail::__anon16096
183 j->flags.pids = 0;
214 /* Note, |pids| will already have been used before this call. */
453 j->flags.pids = 1;
1645 if (j->flags.pids)
2005 int pid_namespace = j->flags.pids;
2325 j->flags.pids = 0;
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
H A Dlibcpuset.c2385 * 1) First, kill all the pids, looping until there are
2386 * no more pids in this cpuset or below, or until the
2415 * scan the task pids in a cpuset. If SIGKILL should -not- be sent,
2441 struct cpuset_pidlist *pl = NULL; /* pids in cpuset subtree */
2561 * the end of pb->buf[] and accidentally find more pids.
2601 pid_t *pids; member in struct:cpuset_pidlist
2605 /* Count how many pids in buf (one per line - just count newlines) */
2618 /* Transform one-per-line ascii pids in pb to pid_t entries in pl */
2627 pl->pids[n++] = p;
2652 /* Return list pids i
[all...]
/external/kernel-headers/original/uapi/sound/
H A Dasound.h883 struct snd_ctl_elem_id __user *pids; /* R: IDs */ member in struct:snd_ctl_elem_list
/external/valgrind/include/vki/
H A Dvki-linux.h2406 struct vki_snd_ctl_elem_id __user *pids; /* R: IDs */ member in struct:vki_snd_ctl_elem_list
/external/robolectric/v3/runtime/
H A Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 872 milliseconds

12