Searched refs:pid (Results 226 - 250 of 1514) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/bpf/progs/
H A Dnormal_map_btf.c29 int pid = 0; variable
39 if (done || (int)bpf_get_current_pid_tgid() != pid)
H A Dlocal_storage.c64 __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 Diters_task.c24 if (cur_task->pid != target_pid)
40 if (pos->pid == target_pid)
H A Dtest_ns_current_pid_tgid.c21 user_pid = nsdata.pid;
H A Dtest_subprogs.c73 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 Dbench_local_storage_create.c65 __u32 pid; local
67 pid = bpf_get_current_pid_tgid() >> 32;
68 if (pid != bench_pid)
H A Duprobe_multi.c23 int pid = 0; variable
41 if (pid && child_pid != pid)
H A Dbpf_iter_tasks.c25 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 Dtest_sig_in_xattr.c49 __u32 pid; local
52 pid = bpf_get_current_pid_tgid() >> 32;
53 if (pid != monitored_pid)
H A Dtest_verify_pkcs7_sig.c44 __u32 pid; local
48 pid = bpf_get_current_pid_tgid() >> 32;
49 if (pid != monitored_pid)
/linux-master/tools/perf/bench/
H A Dsched-seccomp-notify.c100 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 Dbinder.c488 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 Dusermode_driver.h12 struct pid *tgid;
H A Dagpgart.h64 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 Dseccomp.h110 struct pid;
113 struct pid *pid, struct task_struct *task);
/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-context-chk-fpu.c35 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 Dtm-signal-context-chk-gpr.c35 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 Dstack-entropy.sh24 dmesg --follow >"$log" & pid=$!
36 kill "$pid"
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtimer_crash.c17 skel->bss->pid = getpid();
H A Dns_current_pid_tgid.c24 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 Ddlm_plock.h36 __u32 pid; member in struct:dlm_plock_info
/linux-master/tools/testing/selftests/cgroup/
H A Dwith_stress.sh96 for pid in ${stress_pids[*]} ; do
97 kill -SIGTERM $pid
98 wait $pid
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A Dcore.h63 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 Ddexcr.c82 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 Dset-process-name.c54 int pid; local
56 pid = getpid();
63 j = snprintf(path, MAX_PATH_LEN, "/proc/self/task/%d/comm", pid);

Completed in 869 milliseconds

1234567891011>>