/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | normal_map_btf.c | 29 int pid = 0; variable 39 if (done || (int)bpf_get_current_pid_tgid() != pid)
|
H A D | local_storage.c | 64 __u32 pid = bpf_get_current_pid_tgid() >> 32; local 70 if (pid != monitored_pid) 141 __u32 pid = bpf_get_current_pid_tgid() >> 32; local 144 if (pid != monitored_pid) 186 __u32 pid = bpf_get_current_pid_tgid() >> 32; local 189 if (pid != monitored_pid) 208 __u32 pid = bpf_get_current_pid_tgid() >> 32; local 211 if (pid != monitored_pid)
|
H A D | iters_task.c | 24 if (cur_task->pid != target_pid) 40 if (pos->pid == target_pid)
|
H A D | test_ns_current_pid_tgid.c | 21 user_pid = nsdata.pid;
|
H A D | test_subprogs.c | 73 if (!BPF_CORE_READ(t, pid) || !get_task_tgid((uintptr_t)t)) 85 if (!BPF_CORE_READ(t, pid) || !get_task_tgid((uintptr_t)t)) 103 if (!BPF_CORE_READ(t, pid) || !get_task_tgid((uintptr_t)t)) 119 if (!BPF_CORE_READ(t, pid) || !get_task_tgid((uintptr_t)t))
|
H A D | bench_local_storage_create.c | 65 __u32 pid; local 67 pid = bpf_get_current_pid_tgid() >> 32; 68 if (pid != bench_pid)
|
H A D | uprobe_multi.c | 23 int pid = 0; variable 41 if (pid && child_pid != pid)
|
H A D | bpf_iter_tasks.c | 25 if (task->pid != (pid_t)tid) 33 BPF_SEQ_PRINTF(seq, "%8d %8d\n", task->tgid, task->pid); 86 BPF_SEQ_PRINTF(seq, "%8d %8d %8d\n", task->tgid, task->pid, user_data);
|
H A D | test_sig_in_xattr.c | 49 __u32 pid; local 52 pid = bpf_get_current_pid_tgid() >> 32; 53 if (pid != monitored_pid)
|
H A D | test_verify_pkcs7_sig.c | 44 __u32 pid; local 48 pid = bpf_get_current_pid_tgid() >> 32; 49 if (pid != monitored_pid)
|
/linux-master/tools/perf/bench/ |
H A D | sched-seccomp-notify.c | 100 pid_t pid; local 113 pid = fork(); 114 if (pid < 0) 116 if (pid == 0) { 136 kill(pid, SIGKILL); 137 if (waitpid(pid, &status, 0) != pid) 138 err(EXIT_FAILURE, "waitpid(%d) failed", pid);
|
/linux-master/drivers/android/ |
H A D | binder.c | 488 thread->pid == current->pid && !thread->process_todo) 688 current->pid, nice, min_nice); 692 binder_user_error("%d RLIMIT_NICE not set\n", current->pid); 785 proc->pid, current->pid, node->debug_id, 1126 proc->pid, new_ref->data.debug_id, new_ref->data.desc, 1138 ref->proc->pid, ref->data.debug_id, ref->data.desc, 1166 ref->proc->pid, ref->data.debug_id, 1221 ref->proc->pid, re 6424 int pid = (unsigned long)m->private; local [all...] |
/linux-master/include/linux/ |
H A D | usermode_driver.h | 12 struct pid *tgid;
|
H A D | agpgart.h | 64 pid_t pid; /* pid of process */ member in struct:agp_region 92 pid_t pid; member in struct:agp_client 100 pid_t pid; member in struct:agp_controller
|
H A D | seccomp.h | 110 struct pid; 113 struct pid *pid, struct task_struct *task);
|
/linux-master/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-context-chk-fpu.c | 35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss); 79 pid_t pid = getpid(); local 100 rc = tm_signal_self_context_load(pid, NULL, fps, NULL, NULL); 101 FAIL_IF(rc != pid);
|
H A D | tm-signal-context-chk-gpr.c | 35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss); 81 pid_t pid = getpid(); local 102 rc = tm_signal_self_context_load(pid, gprs, NULL, NULL, NULL); 103 FAIL_IF(rc != pid);
|
/linux-master/tools/testing/selftests/lkdtm/ |
H A D | stack-entropy.sh | 24 dmesg --follow >"$log" & pid=$! 36 kill "$pid"
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | timer_crash.c | 17 skel->bss->pid = getpid();
|
H A D | ns_current_pid_tgid.c | 24 pid_t tgid, pid; local 31 pid = syscall(SYS_gettid); 34 err = stat("/proc/self/ns/pid", &st); 35 if (CHECK(err, "stat", "failed /proc/self/ns/pid: %d\n", err)) 50 ASSERT_EQ(bss->user_pid, pid, "pid"); 66 * will be the init process of this new namespace hence will be pid 1.
|
/linux-master/include/uapi/linux/ |
H A D | dlm_plock.h | 36 __u32 pid; member in struct:dlm_plock_info
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | with_stress.sh | 96 for pid in ${stress_pids[*]} ; do 97 kill -SIGTERM $pid 98 wait $pid
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | core.h | 63 mlx5_core_dbg((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \ 64 __func__, __LINE__, current->pid, ##__VA_ARGS__) 67 mlx5_core_err((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \ 68 __func__, __LINE__, current->pid, ##__VA_ARGS__) 71 mlx5_core_warn((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \ 72 __func__, __LINE__, current->pid, ##__VA_ARGS__)
|
/linux-master/tools/testing/selftests/powerpc/dexcr/ |
H A D | dexcr.c | 82 void await_child_success(pid_t pid) argument 86 FAIL_IF_EXIT_MSG(pid == -1, "fork failed"); 87 FAIL_IF_EXIT_MSG(waitpid(pid, &wstatus, 0) == -1, "wait failed");
|
/linux-master/tools/testing/selftests/prctl/ |
H A D | set-process-name.c | 54 int pid; local 56 pid = getpid(); 63 j = snprintf(path, MAX_PATH_LEN, "/proc/self/task/%d/comm", pid);
|