/linux-master/drivers/pinctrl/mvebu/ |
H A D | pinctrl-mvebu.h | 31 * @pid: first pin id handled by this control 49 u8 pid; member in struct:mvebu_mpp_ctrl 52 int (*mpp_get)(struct mvebu_mpp_ctrl_data *data, unsigned pid, 54 int (*mpp_set)(struct mvebu_mpp_ctrl_data *data, unsigned pid, 56 int (*mpp_gpio_req)(struct mvebu_mpp_ctrl_data *data, unsigned pid); 57 int (*mpp_gpio_dir)(struct mvebu_mpp_ctrl_data *data, unsigned pid, 96 * @pid: first pin id handled by this mode 100 * given by pid. 103 u8 pid; member in struct:mvebu_mpp_mode 136 .pid [all...] |
/linux-master/tools/testing/selftests/powerpc/mm/ |
H A D | large_vm_fork_separation.c | 28 pid_t pid; local 47 pid = fork(); 48 if (pid == 0) { 51 pid = getpid(); 52 printf("child writing %p = %d\n", p, pid); 53 *p = pid; 75 FAIL_IF(waitpid(pid, &status, 0) == -1);
|
/linux-master/tools/testing/selftests/powerpc/tm/ |
H A D | tm-syscall.c | 38 pid_t pid; local 43 pid = getppid_scv_tm_suspended(); 45 pid = getppid_tm_suspended(); 48 pid = getppid_scv_tm_active(); 50 pid = getppid_tm_active(); 53 if (pid >= 0) 54 return pid;
|
/linux-master/tools/testing/selftests/exec/ |
H A D | null-argv.c | 12 pid = fork(); \ 13 if (pid == 0) { \ 19 check_result(pid, #exec); \ 22 void check_result(pid_t pid, const char *msg) argument 26 if (pid == (pid_t)-1) { 31 if (waitpid(pid, &wstatus, 0) < 0) { 49 pid_t pid; local
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | deny_namespace.c | 9 static int wait_for_pid(pid_t pid) argument 14 ret = waitpid(pid, &status, 0); 34 pid_t pid; local 36 pid = fork(); 37 if (pid < 0) 40 if (pid == 0) { 46 return wait_for_pid(pid);
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_smi_events.h | 32 void kfd_smi_event_page_fault_start(struct kfd_node *node, pid_t pid, 35 void kfd_smi_event_page_fault_end(struct kfd_node *node, pid_t pid, 37 void kfd_smi_event_migration_start(struct kfd_node *node, pid_t pid, 42 void kfd_smi_event_migration_end(struct kfd_node *node, pid_t pid, 45 void kfd_smi_event_queue_eviction(struct kfd_node *node, pid_t pid, 47 void kfd_smi_event_queue_restore(struct kfd_node *node, pid_t pid); 49 void kfd_smi_event_unmap_from_gpu(struct kfd_node *node, pid_t pid,
|
H A D | kfd_smi_events.c | 42 pid_t pid; member in struct:kfd_smi_client 162 static bool kfd_smi_ev_enabled(pid_t pid, struct kfd_smi_client *client, argument 168 if (pid && client->pid != pid && !(client->suser && (events & all))) 174 static void add_event_to_kfifo(pid_t pid, struct kfd_node *dev, argument 182 if (!kfd_smi_ev_enabled(pid, client, smi_event)) 199 static void kfd_smi_event_add(pid_t pid, struct kfd_node *dev, argument 215 add_event_to_kfifo(pid, dev, event, fifo_in, len); 246 if (task_info->pid) 253 kfd_smi_event_page_fault_start(struct kfd_node *node, pid_t pid, unsigned long address, bool write_fault, ktime_t ts) argument 262 kfd_smi_event_page_fault_end(struct kfd_node *node, pid_t pid, unsigned long address, bool migration) argument 270 kfd_smi_event_migration_start(struct kfd_node *node, pid_t pid, unsigned long start, unsigned long end, uint32_t from, uint32_t to, uint32_t prefetch_loc, uint32_t preferred_loc, uint32_t trigger) argument 282 kfd_smi_event_migration_end(struct kfd_node *node, pid_t pid, unsigned long start, unsigned long end, uint32_t from, uint32_t to, uint32_t trigger) argument 292 kfd_smi_event_queue_eviction(struct kfd_node *node, pid_t pid, uint32_t trigger) argument 300 kfd_smi_event_queue_restore(struct kfd_node *node, pid_t pid) argument 327 kfd_smi_event_unmap_from_gpu(struct kfd_node *node, pid_t pid, unsigned long address, unsigned long last, uint32_t trigger) argument [all...] |
/linux-master/tools/perf/util/ |
H A D | cloexec.c | 27 pid_t pid = -1; local 35 * Using -1 for the pid is a workaround to avoid gratuitous jump label 40 fd = sys_perf_event_open(&attr, pid, cpu, -1, 42 if (fd < 0 && pid == -1 && errno == EACCES) { 43 pid = 0; 61 fd = sys_perf_event_open(&attr, pid, cpu, -1, 0); 62 if (fd < 0 && pid == -1 && errno == EACCES) { 63 pid = 0;
|
/linux-master/tools/testing/selftests/riscv/vector/ |
H A D | vstate_exec_nolibc.c | 9 int rc, pid, status, test_inherit = 0; local 23 pid = fork(); 24 if (pid == -1) { 30 if (!pid) { 44 pid = fork(); 45 if (pid == -1) { 50 if (!pid) {
|
/linux-master/tools/perf/arch/x86/tests/ |
H A D | intel-cqm.c | 18 pid_t pid; local 20 pid = fork(); 21 if (pid) 22 return pid; 48 pid_t pid; local 82 pid = spawn(); 84 fd[0] = sys_perf_event_open(&pe, pid, -1, -1, flag); 96 fd[1] = sys_perf_event_open(&pe, pid, -1, fd[0], flag); 123 kill(pid, SIGKILL);
|
/linux-master/tools/testing/selftests/clone3/ |
H A D | clone3_clear_sighand.c | 23 static int wait_for_pid(pid_t pid) argument 28 ret = waitpid(pid, &status, 0); 45 pid_t pid; local 55 pid = sys_clone3(&args, sizeof(args)); 56 if (pid > 0) 84 pid = sys_clone3(&args, sizeof(args)); 85 if (pid < 0) 89 if (pid == 0) { 107 ret = wait_for_pid(pid);
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | vas-trace.h | 24 __field(int, pid) 34 __entry->pid = tsk->pid; 42 TP_printk("pid=%d, vasid=%d, cop=%d, lpid=%d, pid=%d, tid=%d", 43 __entry->pid, __entry->vasid, __entry->cop, 59 __field(int, pid) 68 __entry->pid = tsk->pid; 75 TP_printk("pid [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_send_signal_kern.c | 7 __u32 sig = 0, pid = 0, status = 0, signal_thread = 0; variable 13 if (status != 0 || pid == 0) 16 if ((bpf_get_current_pid_tgid() >> 32) == pid) {
|
H A D | test_global_map_resize.c | 10 const volatile pid_t pid; variable 37 if (pid != (bpf_get_current_pid_tgid() >> 32)) 52 if (pid != (bpf_get_current_pid_tgid() >> 32))
|
H A D | test_get_xattr.c | 21 __u32 pid; local 24 pid = bpf_get_current_pid_tgid() >> 32; 25 if (pid != monitored_pid)
|
/linux-master/tools/include/nolibc/ |
H A D | stackprotector.h | 24 pid_t pid; local 26 pid = my_syscall0(__NR_getpid); 27 my_syscall2(__NR_kill, pid, SIGABRT);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | mrelease_test.c | 82 pid_t pid; local 110 pid = fork(); 111 if (pid < 0) { 117 if (pid == 0) { 132 if (!kill(pid, SIGKILL)) 133 waitpid(pid, NULL, 0); 137 pidfd = syscall(__NR_pidfd_open, pid, 0); 139 if (!kill(pid, SIGKILL)) 140 waitpid(pid, NULL, 0); 147 if (kill(pid, SIGKIL [all...] |
/linux-master/arch/um/os-Linux/ |
H A D | helper.c | 42 /* Returns either the pid of the child process we run or -E* on failure. */ 47 int pid, fds[2], ret, n; local 75 pid = clone(helper_child, (void *) sp, CLONE_VM, &data); 76 if (pid < 0) { 92 ret = pid; 100 CATCH_EINTR(waitpid(pid, NULL, __WALL)); 122 int pid, status, err; local 129 pid = clone(proc, (void *) sp, flags, arg); 130 if (pid < 0) { 137 CATCH_EINTR(pid 153 helper_wait(int pid) argument [all...] |
/linux-master/tools/testing/selftests/powerpc/benchmarks/ |
H A D | fork.c | 48 int pid; local 50 pid = fork(); 51 if (pid == -1) { 56 if (pid) 88 pid_t pid = fork(); local 89 if (pid == -1) { 93 if (pid == 0) { 98 pid = waitpid(pid, NULL, 0); 99 if (pid 110 pid_t pid = vfork(); local [all...] |
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | fork_cleanup_test.c | 44 pid_t pid; local 64 pid = fork(); 65 if (pid == 0) 69 FAIL_IF(wait_for_child(pid));
|
/linux-master/scripts/ |
H A D | bootgraph.pl | 86 my $pid = $2; 88 if (!defined($pidctr{$pid})) { 89 $func = "wait_" . $pid . "_1"; 90 $pidctr{$pid} = 1; 92 $pidctr{$pid} = $pidctr{$pid} + 1; 93 $func = "wait_" . $pid . "_" . $pidctr{$pid}; 102 $pids{$func} = $pid; 114 my $pid [all...] |
/linux-master/arch/um/kernel/skas/ |
H A D | process.c | 20 int pid; local 23 pid = os_getpid(); 25 cpu_tasks[0].pid = pid;
|
/linux-master/arch/um/kernel/ |
H A D | reboot.c | 22 int pid; local 31 pid = t->mm->context.id.u.pid; 33 os_kill_ptraced_process(pid, 1);
|
/linux-master/include/uapi/linux/ |
H A D | if_pppol2tp.h | 28 __kernel_pid_t pid; /* pid that owns the fd. member in struct:pppol2tp_addr 42 __kernel_pid_t pid; /* pid that owns the fd. member in struct:pppol2tpin6_addr 56 __kernel_pid_t pid; /* pid that owns the fd. member in struct:pppol2tpv3_addr 67 __kernel_pid_t pid; /* pid that owns the fd. member in struct:pppol2tpv3in6_addr
|
/linux-master/arch/sh/mm/ |
H A D | asids-debugfs.c | 36 int pid = p->pid; local 38 if (unlikely(!pid)) 42 seq_printf(file, "%5d : %04lx\n", pid,
|