Home
last modified time | relevance | path

Searched refs:pid_t (Results 1 – 200 of 262) sorted by relevance

12

/linux-4.4.14/tools/perf/util/
Dthread_map.h9 pid_t pid;
20 struct thread_map *thread_map__new_by_pid(pid_t pid);
21 struct thread_map *thread_map__new_by_tid(pid_t tid);
23 struct thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid);
38 static inline pid_t thread_map__pid(struct thread_map *map, int thread) in thread_map__pid()
44 thread_map__set_pid(struct thread_map *map, int thread, pid_t pid) in thread_map__set_pid()
Dmachine.h28 pid_t pid;
43 pid_t *current_tid;
78 struct thread *machine__find_thread(struct machine *machine, pid_t pid,
79 pid_t tid);
120 struct machine *machines__add(struct machines *machines, pid_t pid,
123 struct machine *machines__find(struct machines *machines, pid_t pid);
124 struct machine *machines__findnew(struct machines *machines, pid_t pid);
134 int machine__init(struct machine *machine, const char *root_dir, pid_t pid);
165 struct thread *__machine__findnew_thread(struct machine *machine, pid_t pid, pid_t tid);
166 struct thread *machine__findnew_thread(struct machine *machine, pid_t pid, pid_t tid);
[all …]
Dthread.h21 pid_t pid_; /* Not all tools update this */
22 pid_t tid;
23 pid_t ppid;
40 struct thread *thread__new(pid_t pid, pid_t tid);
Dthread_map.c50 struct thread_map *thread_map__new_by_pid(pid_t pid) in thread_map__new_by_pid()
78 struct thread_map *thread_map__new_by_tid(pid_t tid) in thread_map__new_by_tid()
113 pid_t pid = strtol(dirent.d_name, &end, 10); in thread_map__new_by_uid()
177 struct thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new()
195 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str()
266 pid_t tid, prev_tid = INT_MAX; in thread_map__new_by_tid_str()
359 static int get_comm(char **comm, pid_t pid) in get_comm()
385 pid_t pid = thread_map__pid(map, i); in comm_init()
Devent.c64 static int perf_event__get_comm_ids(pid_t pid, char *comm, size_t len, in perf_event__get_comm_ids()
65 pid_t *tgid, pid_t *ppid) in perf_event__get_comm_ids()
134 static int perf_event__prepare_comm(union perf_event *event, pid_t pid, in perf_event__prepare_comm()
136 pid_t *tgid, pid_t *ppid) in perf_event__prepare_comm()
171 pid_t perf_event__synthesize_comm(struct perf_tool *tool, in perf_event__synthesize_comm()
172 union perf_event *event, pid_t pid, in perf_event__synthesize_comm()
176 pid_t tgid, ppid; in perf_event__synthesize_comm()
189 pid_t pid, pid_t tgid, pid_t ppid, in perf_event__synthesize_fork()
221 pid_t pid, pid_t tgid, in perf_event__synthesize_mmap_events()
410 pid_t pid, int full, in __event__synthesize_thread()
[all …]
Dauxtrace.h164 pid_t pid;
165 pid_t tid;
190 pid_t tid;
254 pid_t tid;
275 pid_t tid;
453 int code, int cpu, pid_t pid, pid_t tid, u64 ip,
Dsession.h80 struct machine *perf_session__find_machine(struct perf_session *session, pid_t pid) in perf_session__find_machine()
86 struct machine *perf_session__findnew_machine(struct perf_session *session, pid_t pid) in perf_session__findnew_machine()
91 struct thread *perf_session__findnew(struct perf_session *session, pid_t pid);
Dmachine.c26 int machine__init(struct machine *machine, const char *root_dir, pid_t pid) in machine__init()
152 struct machine *machines__add(struct machines *machines, pid_t pid, in machines__add()
212 struct machine *machines__find(struct machines *machines, pid_t pid) in machines__find()
238 struct machine *machines__findnew(struct machines *machines, pid_t pid) in machines__findnew()
313 struct thread *th, pid_t pid) in machine__update_thread_pid()
359 pid_t pid, pid_t tid, in ____machine__findnew_thread()
429 struct thread *__machine__findnew_thread(struct machine *machine, pid_t pid, pid_t tid) in __machine__findnew_thread()
434 struct thread *machine__findnew_thread(struct machine *machine, pid_t pid, in machine__findnew_thread()
435 pid_t tid) in machine__findnew_thread()
445 struct thread *machine__find_thread(struct machine *machine, pid_t pid, in machine__find_thread()
[all …]
Dthread.c16 pid_t pid = thread->pid_; in thread__init_map_groups()
29 struct thread *thread__new(pid_t pid, pid_t tid) in thread__new()
Devent.h213 pid_t pid;
482 pid_t perf_event__synthesize_comm(struct perf_tool *tool,
483 union perf_event *event, pid_t pid,
489 pid_t pid, pid_t tgid,
Devlist.h52 pid_t pid;
88 int perf_evlist__set_filter_pid(struct perf_evlist *evlist, pid_t pid);
89 int perf_evlist__set_filter_pids(struct perf_evlist *evlist, size_t npids, pid_t *pids);
Drun-command.h17 pid_t pid;
Drun-command.c156 static int wait_or_whine(pid_t pid) in wait_or_whine()
162 pid_t waiting = waitpid(pid, &status, 0); in wait_or_whine()
Drecord.c17 static pid_t pid = -1; in perf_do_probe_api()
247 pid_t pid = -1; in perf_evlist__can_select_event()
Dcloexec.c31 pid_t pid = -1; in perf_flag_probe()
Dintel-bts.c77 pid_t pid;
78 pid_t tid;
356 static int intel_bts_synth_error(struct intel_bts *bts, int cpu, pid_t pid, in intel_bts_synth_error()
357 pid_t tid, u64 ip) in intel_bts_synth_error()
541 static int intel_bts_process_tid_exit(struct intel_bts *bts, pid_t tid) in intel_bts_process_tid_exit()
Dintel-pt.c128 pid_t pid, tid;
131 pid_t next_tid;
1137 pid_t pid, pid_t tid, u64 ip) in intel_pt_synth_error()
1159 pid_t tid = ptq->next_tid; in intel_pt_next_tid()
1455 static int intel_pt_process_timeless_queues(struct intel_pt *pt, pid_t tid, in intel_pt_process_timeless_queues()
1509 static int intel_pt_sync_switch(struct intel_pt *pt, int cpu, pid_t tid, in intel_pt_sync_switch()
1558 pid_t tid; in intel_pt_process_switch()
1583 pid_t pid, tid; in intel_pt_context_switch()
Dunwind-libdw.c76 static pid_t next_thread(Dwfl *dwfl, void *arg, void **thread_argp) in next_thread()
Devsel.h26 pid_t tid;
Dbuild-id.c176 pid_t pid, u16 misc, int fd) in write_buildid()
Dauxtrace.c824 int code, int cpu, pid_t pid, pid_t tid, u64 ip, in auxtrace_synth_error()
Devlist.c1264 int perf_evlist__set_filter_pids(struct perf_evlist *evlist, size_t npids, pid_t *pids) in perf_evlist__set_filter_pids()
1291 int perf_evlist__set_filter_pid(struct perf_evlist *evlist, pid_t pid) in perf_evlist__set_filter_pid()
/linux-4.4.14/include/trace/events/
Dsched.h22 __field( pid_t, pid )
64 __field( pid_t, pid )
134 __field( pid_t, prev_pid )
138 __field( pid_t, next_pid )
175 __field( pid_t, pid )
202 __field( pid_t, pid )
249 __field( pid_t, pid )
274 __field( pid_t, parent_pid )
276 __field( pid_t, child_pid )
296 TP_PROTO(struct task_struct *p, pid_t old_pid,
[all …]
Dtask.h15 __field( pid_t, pid)
40 __field( pid_t, pid)
Doom.h15 __field( pid_t, pid)
Dsignal.h62 __field( pid_t, pid )
Dmigrate.h81 __field( pid_t, pid)
Dtimer.h316 __field( pid_t, pid )
/linux-4.4.14/include/uapi/linux/
Delfcore.h51 pid_t pr_pid;
52 pid_t pr_ppid;
53 pid_t pr_pgrp;
54 pid_t pr_sid;
87 pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid;
Dcoda.h298 pid_t pid;
299 pid_t pgid;
/linux-4.4.14/tools/testing/selftests/ptrace/
Dpeeksiginfo.c14 static int sys_rt_sigqueueinfo(pid_t tgid, int sig, siginfo_t *uinfo) in sys_rt_sigqueueinfo()
19 static int sys_rt_tgsigqueueinfo(pid_t tgid, pid_t tid, in sys_rt_tgsigqueueinfo()
25 static int sys_ptrace(int request, pid_t pid, void *addr, void *data) in sys_ptrace()
43 static int check_error_paths(pid_t child) in check_error_paths()
104 int check_direct_path(pid_t child, int shared, int nr) in check_direct_path()
156 pid_t child; in main()
167 pid_t ppid = getppid(); in main()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dllite_rmtacl.c77 static struct rmtacl_ctl_entry *rce_alloc(pid_t key, int ops) in rce_alloc()
101 pid_t key) in __rct_search()
113 struct rmtacl_ctl_entry *rct_search(struct rmtacl_ctl_table *rct, pid_t key) in rct_search()
123 int rct_add(struct rmtacl_ctl_table *rct, pid_t key, int ops) in rct_add()
144 int rct_del(struct rmtacl_ctl_table *rct, pid_t key) in rct_del()
181 static struct eacl_entry *ee_alloc(pid_t key, struct lu_fid *fid, int type, in ee_alloc()
210 static struct eacl_entry *__et_search_del(struct eacl_table *et, pid_t key, in __et_search_del()
229 struct eacl_entry *et_search_del(struct eacl_table *et, pid_t key, in et_search_del()
240 void et_search_free(struct eacl_table *et, pid_t key) in et_search_free()
253 int ee_add(struct eacl_table *et, pid_t key, struct lu_fid *fid, int type, in ee_add()
Dllite_internal.h183 pid_t d_opendir_pid;
361 pid_t pid;
373 pid_t rw_pid;
440 pid_t rce_key; /* hash key */
667 void ll_rw_stats_tally(struct ll_sb_info *sbi, pid_t pid,
1070 pid_t ee_key; /* hash key */
1077 struct rmtacl_ctl_entry *rct_search(struct rmtacl_ctl_table *rct, pid_t key);
1078 int rct_add(struct rmtacl_ctl_table *rct, pid_t key, int ops);
1079 int rct_del(struct rmtacl_ctl_table *rct, pid_t key);
1084 int ee_add(struct eacl_table *et, pid_t key, struct lu_fid *fid, int type,
[all …]
/linux-4.4.14/arch/mips/kernel/
Dbinfmt_elfn32.c66 pid_t pr_pid;
67 pid_t pr_ppid;
68 pid_t pr_pgrp;
69 pid_t pr_sid;
88 pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid;
Dbinfmt_elfo32.c87 pid_t pr_pid;
88 pid_t pr_ppid;
89 pid_t pr_pgrp;
90 pid_t pr_sid;
109 pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid;
Dmips-mt-fpaff.c38 static inline struct task_struct *find_process_by_pid(pid_t pid) in find_process_by_pid()
62 asmlinkage long mipsmt_sys_sched_setaffinity(pid_t pid, unsigned int len, in mipsmt_sys_sched_setaffinity()
153 asmlinkage long mipsmt_sys_sched_getaffinity(pid_t pid, unsigned int len, in mipsmt_sys_sched_getaffinity()
/linux-4.4.14/fs/f2fs/
Dtrace.c37 static int __file_type(struct inode *inode, pid_t pid) in __file_type()
58 pid_t pid = task_pid_nr(current); in f2fs_trace_pid()
86 pid_t pid; in f2fs_trace_ios()
126 static unsigned int gang_lookup_pids(pid_t *results, unsigned long first_index, in gang_lookup_pids()
146 pid_t pid[PIDVEC_SIZE]; in f2fs_destroy_trace_ios()
147 pid_t next_pid = 0; in f2fs_destroy_trace_ios()
Dtrace.h29 pid_t pid;
/linux-4.4.14/drivers/gpu/drm/
Ddrm_trace.h27 TP_PROTO(pid_t pid, int crtc, unsigned int seq),
30 __field(pid_t, pid)
44 TP_PROTO(pid_t pid, int crtc, unsigned int seq),
47 __field(pid_t, pid)
Ddrm_vm.c50 pid_t pid;
/linux-4.4.14/include/linux/
Dagpgart.h66 pid_t pid; /* pid of process */
94 pid_t pid;
102 pid_t pid;
117 pid_t my_pid;
Dpid.h164 static inline pid_t pid_nr(struct pid *pid) in pid_nr()
166 pid_t nr = 0; in pid_nr()
172 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns);
173 pid_t pid_vnr(struct pid *pid);
Dsyscalls.h231 asmlinkage long sys_getpgid(pid_t pid);
233 asmlinkage long sys_getsid(pid_t pid);
244 asmlinkage long sys_setpgid(pid_t pid, pid_t pgid);
288 asmlinkage long sys_sched_setscheduler(pid_t pid, int policy,
290 asmlinkage long sys_sched_setparam(pid_t pid,
292 asmlinkage long sys_sched_setattr(pid_t pid,
295 asmlinkage long sys_sched_getscheduler(pid_t pid);
296 asmlinkage long sys_sched_getparam(pid_t pid,
298 asmlinkage long sys_sched_getattr(pid_t pid,
302 asmlinkage long sys_sched_setaffinity(pid_t pid, unsigned int len,
[all …]
Dmsg.h26 pid_t q_lspid; /* pid of last msgsnd */
27 pid_t q_lrpid; /* last receive pid */
Dsched.h1483 pid_t pid;
1484 pid_t tgid;
1845 extern pid_t task_numa_group_id(struct task_struct *p);
1855 static inline pid_t task_numa_group_id(struct task_struct *p) in task_numa_group_id()
1912 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type,
1915 static inline pid_t task_pid_nr(struct task_struct *tsk) in task_pid_nr()
1920 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, in task_pid_nr_ns()
1926 static inline pid_t task_pid_vnr(struct task_struct *tsk) in task_pid_vnr()
1932 static inline pid_t task_tgid_nr(struct task_struct *tsk) in task_tgid_nr()
1937 pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns);
[all …]
Dshm.h18 pid_t shm_cprid;
19 pid_t shm_lprid;
Dtypes.h21 typedef __kernel_pid_t pid_t; typedef
Dposix-timers.h39 #define CPUCLOCK_PID(clock) ((pid_t) ~((clock) >> 3))
Dtimer.h193 extern void timer_stats_update_stats(void *timer, pid_t pid, void *startf,
Dnfs_fs.h60 pid_t l_pid;
Daudit.h35 pid_t pid;
Dsecurity.h306 int security_task_setpgid(struct task_struct *p, pid_t pgid);
875 static inline int security_task_setpgid(struct task_struct *p, pid_t pgid) in security_task_setpgid()
/linux-4.4.14/arch/parisc/kernel/
Dbinfmt_elf32.c50 pid_t pr_pid;
51 pid_t pr_ppid;
52 pid_t pr_pgrp;
53 pid_t pr_sid;
72 pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid;
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/
Dlib.h24 extern int kill_child_and_wait(pid_t child_pid);
25 extern int wait_for_child(pid_t child_pid);
30 extern pid_t eat_cpu(int (test_function)(void));
Dlib.c99 int wait_for_child(pid_t child_pid) in wait_for_child()
116 int kill_child_and_wait(pid_t child_pid) in kill_child_and_wait()
142 pid_t eat_cpu(int (test_function)(void)) in eat_cpu()
146 pid_t pid; in eat_cpu()
Devent.c16 int perf_event_open(struct perf_event_attr *attr, pid_t pid, int cpu, in perf_event_open()
52 int event_open_with_options(struct event *e, pid_t pid, int cpu, int group_fd) in event_open_with_options()
68 int event_open_with_pid(struct event *e, pid_t pid) in event_open_with_pid()
Devent.h30 int event_open_with_options(struct event *e, pid_t pid, int cpu, int group_fd);
32 int event_open_with_pid(struct event *e, pid_t pid);
/linux-4.4.14/drivers/char/agp/
Dcompat_ioctl.h97 struct agp_file_private *agp_find_private(pid_t pid);
98 struct agp_client *agp_create_client(pid_t id);
99 int agp_remove_client(pid_t id);
104 struct agp_client *agp_find_client_by_pid(pid_t id);
Dfrontend.c215 struct agp_file_private *agp_find_private(pid_t pid) in agp_find_private()
293 static struct agp_controller *agp_find_controller_by_pid(pid_t id) in agp_find_controller_by_pid()
308 static struct agp_controller *agp_create_controller(pid_t id) in agp_create_controller()
455 *agp_find_client_in_controller(struct agp_controller *controller, pid_t id) in agp_find_client_in_controller()
473 static struct agp_controller *agp_find_controller_for_client(pid_t id) in agp_find_controller_for_client()
488 struct agp_client *agp_find_client_by_pid(pid_t id) in agp_find_client_by_pid()
513 struct agp_client *agp_create_client(pid_t id) in agp_create_client()
526 int agp_remove_client(pid_t id) in agp_remove_client()
/linux-4.4.14/fs/proc/
Dthread_self.c13 pid_t tgid = task_tgid_nr_ns(current, ns); in proc_thread_self_readlink()
14 pid_t pid = task_pid_nr_ns(current, ns); in proc_thread_self_readlink()
25 pid_t tgid = task_tgid_nr_ns(current, ns); in proc_thread_self_follow_link()
26 pid_t pid = task_pid_nr_ns(current, ns); in proc_thread_self_follow_link()
Dself.c13 pid_t tgid = task_tgid_nr_ns(current, ns); in proc_self_readlink()
24 pid_t tgid = task_tgid_nr_ns(current, ns); in proc_self_follow_link()
Dtask_nommu.c126 static pid_t pid_of_stack(struct proc_maps_private *priv, in pid_of_stack()
131 pid_t ret = 0; in pid_of_stack()
185 pid_t tid = pid_of_stack(priv, vma, is_pid); in nommu_vma_show()
Darray.c150 pid_t ppid, tpid = 0, tgid, ngid; in task_state()
383 pid_t ppid = 0, pgid = -1, sid = -1; in do_task_stat()
655 pid_t pid; in children_seq_show()
Dtask_mmu.c251 static pid_t pid_of_stack(struct proc_maps_private *priv, in pid_of_stack()
256 pid_t ret = 0; in pid_of_stack()
327 pid_t tid; in show_map_vma()
1570 pid_t tid = pid_of_stack(proc_priv, vma, is_pid); in show_numa_map()
/linux-4.4.14/arch/ia64/include/uapi/asm/
Dsiginfo.h30 pid_t _pid; /* sender's pid */
45 pid_t _pid; /* sender's pid */
52 pid_t _pid; /* which child */
Dperfmon.h122 pid_t load_pid; /* process to load the context into */
/linux-4.4.14/arch/xtensa/include/uapi/asm/
Dsockios.h25 #define SIOCSPGRP _IOW('s', 8, pid_t)
26 #define SIOCGPGRP _IOR('s', 9, pid_t)
Dioctls.h93 #define TIOCGSID _IOR('T', 41, pid_t) /* Return the session ID of FD*/
/linux-4.4.14/arch/alpha/include/uapi/asm/
Dsockios.h10 #define SIOCSPGRP _IOW('s', 8, pid_t)
11 #define SIOCGPGRP _IOR('s', 9, pid_t)
/linux-4.4.14/arch/mips/include/uapi/asm/
Dsockios.h20 #define SIOCSPGRP _IOW('s', 8, pid_t)
21 #define SIOCGPGRP _IOR('s', 9, pid_t)
/linux-4.4.14/arch/sh/include/uapi/asm/
Dsockios.h9 #define SIOCSPGRP _IOW('s', 8, pid_t)
10 #define SIOCGPGRP _IOR('s', 9, pid_t)
Dioctls.h81 #define TIOCGSID _IOR('T', 41, pid_t) /* 0x5429 */ /* Return the session ID of FD */
/linux-4.4.14/tools/perf/arch/x86/tests/
Dintel-cqm.c12 static pid_t spawn(void) in spawn()
14 pid_t pid; in spawn()
44 pid_t pid; in test__intel_cqm_count_nmi_context()
Dperf-time-to-tsc.c114 (pid_t)event->comm.pid != getpid() || in test__perf_time_to_tsc()
115 (pid_t)event->comm.tid != getpid()) in test__perf_time_to_tsc()
/linux-4.4.14/kernel/
Dpid.c452 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns) in find_task_by_pid_ns()
459 struct task_struct *find_task_by_vpid(pid_t vnr) in find_task_by_vpid()
488 struct pid *find_get_pid(pid_t nr) in find_get_pid()
500 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) in pid_nr_ns()
503 pid_t nr = 0; in pid_nr_ns()
514 pid_t pid_vnr(struct pid *pid) in pid_vnr()
520 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, in __task_pid_nr_ns()
523 pid_t nr = 0; in __task_pid_nr_ns()
539 pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns()
Daudit.h137 pid_t pid, ppid;
143 pid_t target_pid;
191 pid_t pid;
326 extern pid_t audit_sig_pid;
Dcapability.c117 static inline int cap_get_target_pid(pid_t pid, kernel_cap_t *pEp, in cap_get_target_pid()
152 pid_t pid; in SYSCALL_DEFINE2()
230 pid_t pid; in SYSCALL_DEFINE2()
Dkcmp.c97 SYSCALL_DEFINE5(kcmp, pid_t, pid1, pid_t, pid2, int, type, in SYSCALL_DEFINE5() argument
Dtaskstats.c63 pid_t pid;
193 static int fill_stats_for_pid(pid_t pid, struct taskstats *stats) in fill_stats_for_pid()
209 static int fill_stats_for_tgid(pid_t tgid, struct taskstats *stats) in fill_stats_for_tgid()
279 static int add_del_listener(pid_t pid, const struct cpumask *mask, int isadd) in add_del_listener()
Dsignal.c1310 int kill_proc_info(int sig, struct siginfo *info, pid_t pid) in kill_proc_info()
1374 static int kill_something_info(int sig, struct siginfo *info, pid_t pid) in kill_something_info()
2847 SYSCALL_DEFINE2(kill, pid_t, pid, int, sig) in SYSCALL_DEFINE2() argument
2861 do_send_specific(pid_t tgid, pid_t pid, int sig, struct siginfo *info) in do_send_specific()
2890 static int do_tkill(pid_t tgid, pid_t pid, int sig) in do_tkill()
2913 SYSCALL_DEFINE3(tgkill, pid_t, tgid, pid_t, pid, int, sig) in SYSCALL_DEFINE3() argument
2929 SYSCALL_DEFINE2(tkill, pid_t, pid, int, sig) in SYSCALL_DEFINE2() argument
2938 static int do_rt_sigqueueinfo(pid_t pid, int sig, siginfo_t *info) in do_rt_sigqueueinfo()
2959 SYSCALL_DEFINE3(rt_sigqueueinfo, pid_t, pid, int, sig, in SYSCALL_DEFINE3() argument
2982 static int do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, siginfo_t *info) in do_rt_tgsigqueueinfo()
[all …]
Dexit.c949 pid_t pid, uid_t uid, int why, int status) in wait_noreap_copyout()
985 pid_t pid = task_pid_vnr(p); in wait_task_zombie()
1168 pid_t pid; in wait_task_stopped()
1250 pid_t pid; in wait_task_continued()
1531 SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *, in SYSCALL_DEFINE5() argument
1599 SYSCALL_DEFINE4(wait4, pid_t, upid, int __user *, stat_addr, in SYSCALL_DEFINE4() argument
1642 SYSCALL_DEFINE3(waitpid, pid_t, pid, int __user *, stat_addr, int, options) in SYSCALL_DEFINE3() argument
Dcgroup.c2726 pid_t pid; in __cgroup_procs_write()
4127 pid_t *list;
4143 #define PIDLIST_TOO_LARGE(c) ((c) * sizeof(pid_t) > (PAGE_SIZE * 2))
4147 return vmalloc(count * sizeof(pid_t)); in pidlist_allocate()
4149 return kmalloc(count * sizeof(pid_t), GFP_KERNEL); in pidlist_allocate()
4202 static int pidlist_uniq(pid_t *list, int length) in pidlist_uniq()
4246 static pid_t pid_fry(pid_t pid) in pid_fry()
4254 static pid_t cgroup_pid_fry(struct cgroup *cgrp, pid_t pid) in cgroup_pid_fry()
4264 return *(pid_t *)a - *(pid_t *)b; in cmppid()
4269 return pid_fry(*(pid_t *)a) - pid_fry(*(pid_t *)b); in fried_cmppid()
[all …]
Dkmod.c271 pid_t pid; in call_usermodehelper_exec_sync()
329 pid_t pid; in call_usermodehelper_exec_work()
Dseccomp.c254 static inline pid_t seccomp_can_sync_threads(void) in seccomp_can_sync_threads()
264 pid_t failed; in seccomp_can_sync_threads()
Dsys.c919 SYSCALL_DEFINE2(setpgid, pid_t, pid, pid_t, pgid) in SYSCALL_DEFINE2() argument
990 SYSCALL_DEFINE1(getpgid, pid_t, pid) in SYSCALL_DEFINE1() argument
1027 SYSCALL_DEFINE1(getsid, pid_t, pid) in SYSCALL_DEFINE1() argument
1070 pid_t session = pid_vnr(sid); in SYSCALL_DEFINE0()
1448 SYSCALL_DEFINE4(prlimit64, pid_t, pid, unsigned int, resource, in SYSCALL_DEFINE4() argument
Dfutex.c768 static struct task_struct * futex_find_get_task(pid_t pid) in futex_find_get_task()
895 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_state()
966 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_owner()
Dauditsc.c109 pid_t target_pid[AUDIT_AUX_PIDS];
455 pid_t pid; in audit_filter_rules()
959 static int audit_log_pid_context(struct audit_context *context, pid_t pid, in audit_log_pid_context()
Daudit.c117 pid_t audit_sig_pid = -1;
707 pid_t pid = task_tgid_nr(current); in audit_log_common_recv_msg()
/linux-4.4.14/tools/testing/selftests/memfd/
Dfuse_test.c200 static pid_t spawn_sealing_thread(void) in spawn_sealing_thread()
203 pid_t pid; in spawn_sealing_thread()
223 static void join_sealing_thread(pid_t pid) in join_sealing_thread()
234 pid_t pid; in main()
Dmemfd_test.c507 static pid_t spawn_idle_thread(unsigned int flags) in spawn_idle_thread()
510 pid_t pid; in spawn_idle_thread()
530 static void join_idle_thread(pid_t pid) in join_idle_thread()
847 pid_t pid; in test_share_fork()
871 pid_t pid; in main()
/linux-4.4.14/arch/s390/kernel/
Dcompat_wrapper.c101 COMPAT_SYSCALL_WRAP2(sched_setparam, pid_t, pid, struct sched_param __user *, param);
102 COMPAT_SYSCALL_WRAP2(sched_getparam, pid_t, pid, struct sched_param __user *, param);
103 COMPAT_SYSCALL_WRAP3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, para…
157 COMPAT_SYSCALL_WRAP5(perf_event_open, struct perf_event_attr __user *, attr_uptr, pid_t, pid, int, …
159 COMPAT_SYSCALL_WRAP4(prlimit64, pid_t, pid, unsigned int, resource, const struct rlimit64 __user *,…
161 COMPAT_SYSCALL_WRAP5(kcmp, pid_t, pid1, pid_t, pid2, int, type, unsigned long, idx1, unsigned long,…
163 COMPAT_SYSCALL_WRAP3(sched_setattr, pid_t, pid, struct sched_attr __user *, attr, unsigned int, fla…
164 COMPAT_SYSCALL_WRAP4(sched_getattr, pid_t, pid, struct sched_attr __user *, attr, unsigned int, siz…
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/
Dtask_event_vs_ebb_test.c22 static int setup_child_event(struct event *event, pid_t child_pid) in setup_child_event()
40 pid_t pid; in task_event_vs_ebb()
Dtask_event_pinned_vs_ebb_test.c22 static int setup_child_event(struct event *event, pid_t child_pid) in setup_child_event()
42 pid_t pid; in task_event_pinned_vs_ebb()
Dfork_cleanup_test.c45 pid_t pid; in fork_cleanup()
Debb_on_child_test.c48 pid_t pid; in ebb_on_child()
Debb_on_willing_child_test.c55 pid_t pid; in ebb_on_willing_child()
Debb_vs_cpu_event_test.c42 pid_t pid; in ebb_vs_cpu_event()
Dcpu_event_vs_ebb_test.c42 pid_t pid; in cpu_event_vs_ebb()
Dcpu_event_pinned_vs_ebb_test.c44 pid_t pid; in cpu_event_pinned_vs_ebb()
Dmulti_ebb_procs_test.c79 pid_t pids[NR_CHILDREN]; in multi_ebb_procs()
/linux-4.4.14/tools/testing/selftests/seccomp/
Dseccomp_bpf.c420 pid_t parent = getppid(); in TEST_SIGNAL()
453 pid_t parent = getppid(); in TEST_SIGNAL()
492 pid_t parent = getppid(); in TEST_SIGNAL()
558 pid_t parent = getppid(); in TEST()
585 pid_t parent = getppid(); in TEST()
612 pid_t parent = getppid(); in TEST()
803 pid_t parent, res = 0; in TEST_F()
827 pid_t parent, res = 0; in TEST_F_SIGNAL()
854 pid_t parent; in TEST_F_SIGNAL()
879 pid_t parent; in TEST_F_SIGNAL()
[all …]
Dtest_harness.h454 pid_t child_pid; in __run_test()
/linux-4.4.14/tools/perf/tests/
Dperf-record.c8 static int sched__get_first_possible_cpu(pid_t pid, cpu_set_t *maskp) in sched__get_first_possible_cpu()
195 if ((pid_t)sample.pid != evlist->workload.pid) { in test__PERF_RECORD()
201 if ((pid_t)sample.tid != evlist->workload.pid) { in test__PERF_RECORD()
212 (pid_t)event->comm.pid != evlist->workload.pid) { in test__PERF_RECORD()
Dswitch-tracking.c54 pid_t *tids;
66 (pid_t)event->comm.pid == getpid() && in check_comm()
67 (pid_t)event->comm.tid == getpid() && in check_comm()
88 switch_tracking->tids = calloc(nr, sizeof(pid_t)); in check_cpu()
100 addr = realloc(switch_tracking->tids, nr * sizeof(pid_t)); in check_cpu()
119 pid_t next_tid, prev_tid; in process_sample_event()
Dkeep-tracking.c35 (pid_t)event->comm.pid == getpid() && in find_comm()
36 (pid_t)event->comm.tid == getpid() && in find_comm()
Dattr.c60 static int store_event(struct perf_event_attr *attr, pid_t pid, int cpu, in store_event()
130 void test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu, in test_attr__open()
Ddwarf-unwind.c32 pid_t pid = getpid(); in init_live_machine()
Dmmap-basic.c28 pid_t (*syscalls[])(void) = { (void *)getsid, getppid, (void*)getpgid }; in test__basic_mmap()
Dmmap-thread-lookup.c21 pid_t tid;
Dcode-reading.c456 pid_t pid; in do_test_code_reading()
/linux-4.4.14/tools/testing/selftests/powerpc/tm/
Dtm-syscall.c46 pid_t getppid_tm(bool suspend) in getppid_tm()
49 pid_t pid; in getppid_tm()
/linux-4.4.14/drivers/misc/sgi-gru/
Dgrulib.h122 pid_t pid;
136 pid_t pid;
Dgrutables.h364 pid_t ts_tgid_owner; /* task that is using the
/linux-4.4.14/tools/testing/selftests/mount/
Dunprivileged-remount-test.c184 pid_t child; in test_unpriv_remount()
192 pid_t pid; in test_unpriv_remount()
258 pid_t child; in test_priv_mount_unpriv_remount()
270 pid_t pid; in test_priv_mount_unpriv_remount()
/linux-4.4.14/mm/
Dprocess_vm_access.c141 static ssize_t process_vm_rw_core(pid_t pid, struct iov_iter *iter, in process_vm_rw_core()
247 static ssize_t process_vm_rw(pid_t pid, in process_vm_rw()
287 SYSCALL_DEFINE6(process_vm_readv, pid_t, pid, const struct iovec __user *, lvec, in SYSCALL_DEFINE6() argument
294 SYSCALL_DEFINE6(process_vm_writev, pid_t, pid, in SYSCALL_DEFINE6() argument
/linux-4.4.14/drivers/staging/rtl8712/
Ddrv_types.h167 pid_t evtThread;
169 pid_t recvThread;
/linux-4.4.14/arch/frv/include/asm/
Dmmu.h38 extern int cxn_pin_by_pid(pid_t pid);
/linux-4.4.14/arch/s390/include/asm/
Dcompat.h205 pid_t _pid; /* sender's pid */
219 pid_t _pid; /* sender's pid */
226 pid_t _pid; /* which child */
/linux-4.4.14/security/tomoyo/
Dmemory.c19 static pid_t tomoyo_last_pid; in tomoyo_warn_oom()
20 const pid_t pid = current->pid; in tomoyo_warn_oom()
Drealpath.c157 const pid_t pid = (pid_t) simple_strtoul(pos + 1, &ep, 10); in tomoyo_get_local_path()
Dcommon.h1120 static inline pid_t tomoyo_sys_getppid(void) in tomoyo_sys_getppid()
1122 pid_t pid; in tomoyo_sys_getppid()
1137 static inline pid_t tomoyo_sys_getpid(void) in tomoyo_sys_getpid()
Daudit.c150 const pid_t gpid = task_pid_nr(current); in tomoyo_print_header()
/linux-4.4.14/tools/testing/selftests/timers/
Dskew_consistency.c57 pid_t pid; in main()
Dclocksource-switch.c137 pid_t pid; in main()
/linux-4.4.14/Documentation/mic/mpssd/
Dmpssd.h90 pid_t pid;
/linux-4.4.14/drivers/net/slip/
Dslip.h85 pid_t pid;
/linux-4.4.14/tools/testing/selftests/powerpc/dscr/
Ddscr_inherit_test.c26 pid_t pid; in dscr_inherit()
Ddscr_inherit_exec_test.c48 pid_t pid; in dscr_inherit_exec()
/linux-4.4.14/kernel/trace/
Dtrace_functions_graph.c48 pid_t last_pid;
496 static void print_graph_proc(struct trace_seq *s, pid_t pid) in print_graph_proc()
535 verif_pid(struct trace_seq *s, pid_t pid, int cpu, struct fgraph_data *data) in verif_pid()
537 pid_t prev_pid; in verif_pid()
538 pid_t *last_pid; in verif_pid()
653 enum trace_type type, int cpu, pid_t pid, u32 flags) in print_graph_irq()
1034 pid_t pid = ent->pid; in print_graph_return()
1335 pid_t *pid = &(per_cpu_ptr(data->cpu_data, cpu)->last_pid); in graph_trace_open()
Dtrace_events.c476 const pid_t *search_pid = key; in cmp_pid()
477 const pid_t *pid = elt; in cmp_pid()
489 pid_t search_pid; in check_ignore_pid()
490 pid_t *pid; in check_ignore_pid()
502 filtered_pids->nr_pids, sizeof(pid_t), in check_ignore_pid()
995 pid_t *pid = v; in p_show()
1560 return (PAGE_SIZE << pid_list->order) / sizeof(pid_t); in max_pids()
1593 pid_t pid; in ftrace_event_pid_write()
1631 pid = (pid_t)val; in ftrace_event_pid_write()
1654 pid_list->nr_pids * sizeof(pid_t)); in ftrace_event_pid_write()
[all …]
Dtrace.h153 pid_t pid;
181 pid_t *pids;
Dblktrace.c68 static void trace_note(struct blk_trace *bt, pid_t pid, int action, in trace_note()
173 pid_t pid) in act_log_check()
210 pid_t pid; in __blk_add_trace()
/linux-4.4.14/fs/autofs4/
Dautofs_i.h98 pid_t pid;
99 pid_t tgid;
Dwaitq.c350 pid_t pid; in autofs4_wait()
351 pid_t tgid; in autofs4_wait()
/linux-4.4.14/include/linux/sunrpc/
Dsched.h77 pid_t tk_owner; /* Process id for batching tasks */
184 pid_t owner; /* process id of last task serviced */
/linux-4.4.14/tools/perf/
Dperf.h11 void test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu,
Dperf-sys.h104 pid_t pid, int cpu, int group_fd, in sys_perf_event_open()
/linux-4.4.14/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c30 static pid_t child_pid;
378 pid_t pid; in main()
/linux-4.4.14/arch/powerpc/kvm/
Dtrace_hv.h396 __field(pid_t, tgid)
420 __field(pid_t, tgid)
442 __field(pid_t, tgid)
/linux-4.4.14/kernel/time/
Dtimer_stats.c65 pid_t pid;
235 void timer_stats_update_stats(void *timer, pid_t pid, void *startf, in timer_stats_update_stats()
Dposix-cpu-timers.c35 const pid_t pid = CPUCLOCK_PID(which_clock); in check_clock()
311 const pid_t pid = CPUCLOCK_PID(which_clock); in posix_cpu_clock_get()
345 const pid_t pid = CPUCLOCK_PID(new_timer->it_clock); in posix_cpu_timer_create()
/linux-4.4.14/drivers/infiniband/hw/usnic/
Dusnic_ib_qp_grp.h59 pid_t owner_pid;
/linux-4.4.14/tools/testing/selftests/x86/
Dptrace_syscall.c82 static siginfo_t wait_trap(pid_t chld) in wait_trap()
165 pid_t chld = fork(); in test_ptrace_syscall_restart()
Dldt_gdt.c280 pid_t child = fork(); in do_simple_tests()
544 pid_t child = fork(); in do_exec_test()
Dtest_syscall_vdso.c343 pid_t pid; in ptrace_me()
/linux-4.4.14/tools/testing/selftests/powerpc/
Dharness.c30 pid_t pid; in run_test()
/linux-4.4.14/drivers/scsi/cxlflash/
Dsuperpipe.h104 pid_t pid;
/linux-4.4.14/arch/frv/kernel/
Dsysctl.c128 pid_t pid; in procctl_frv_pin_cxnr()
/linux-4.4.14/tools/perf/bench/
Dsched-pipe.c93 pid_t pid, retpid __maybe_unused; in bench_sched_pipe()
/linux-4.4.14/fs/lockd/
Dxdr.c129 fl->fl_pid = (pid_t)lock->svid; in nlm_decode_lock()
263 lock->fl.fl_pid = (pid_t)lock->svid; in nlmsvc_decode_shareargs()
Dxdr4.c121 fl->fl_pid = (pid_t)lock->svid; in nlm4_decode_lock()
260 lock->fl.fl_pid = (pid_t)lock->svid; in nlm4svc_decode_shareargs()
Dclntxdr.c290 fl->fl_pid = (pid_t)lock->svid; in decode_nlm_holder()
Dclnt4xdr.c296 fl->fl_pid = (pid_t)lock->svid; in decode_nlm4_holder()
/linux-4.4.14/fs/cifs/
Dcifs_spnego.c114 PID_KEY_LEN + (sizeof(pid_t) * 2) + 1; in cifs_get_spnego_key()
Dcifsglob.h1080 pid_t pid;
1105 pid_t pid;
/linux-4.4.14/arch/frv/mm/
Dmmu-context.c168 int cxn_pin_by_pid(pid_t pid) in cxn_pin_by_pid()
/linux-4.4.14/include/uapi/linux/android/
Dbinder.h145 pid_t sender_pid;
/linux-4.4.14/Documentation/accounting/
Dgetdelays.c265 pid_t tid = 0; in main()
266 pid_t rtid = 0; in main()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dtracefile.h220 pid_t tctl_pid;
/linux-4.4.14/scripts/
Ddocproc.c111 pid_t pid; in exec_kernel_doc()
358 pid_t pid; in find_all_symbols()
/linux-4.4.14/drivers/staging/android/ion/
Dion_priv.h86 pid_t pid;
Dion.c93 pid_t pid;
746 pid_t pid; in ion_client_create()
/linux-4.4.14/arch/arm/mm/
Dcontext.c109 pid_t pid; in contextidr_notifier()
/linux-4.4.14/arch/arm/kernel/
Dswp_emulate.c81 static pid_t previous_pid;
Dsys_oabi-compat.c193 pid_t l_pid;
/linux-4.4.14/arch/tile/include/asm/
Dprocessor.h101 pid_t creator_pid;
/linux-4.4.14/drivers/gpu/host1x/
Ddebug.c30 static pid_t host1x_debug_force_timeout_pid;
/linux-4.4.14/arch/powerpc/include/asm/
Dspu.h145 pid_t pid;
146 pid_t tgid;
/linux-4.4.14/security/keys/
Dinternal.h193 pid_t pid;
/linux-4.4.14/include/net/
Dnet_namespace.h168 struct net *get_net_ns_by_pid(pid_t pid);
/linux-4.4.14/tools/thermal/tmon/
Dtmon.c357 pid_t sid, pid = fork(); in start_daemon_mode()
/linux-4.4.14/fs/
Dfcntl.c131 pid_t f_getown(struct file *filp) in f_getown()
133 pid_t pid; in f_getown()
/linux-4.4.14/tools/testing/selftests/capabilities/
Dtest_execve.c172 pid_t child = fork(); in fork_wait()
/linux-4.4.14/samples/bpf/
Dtest_maps.c188 pid_t pid[tasks]; in run_parallel()
/linux-4.4.14/kernel/sched/
Dcore.c3603 static struct task_struct *find_process_by_pid(pid_t pid) in find_process_by_pid()
4088 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler()
4188 SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, in SYSCALL_DEFINE3() argument
4205 SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument
4216 SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr __user *, uattr, in SYSCALL_DEFINE3() argument
4250 SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) in SYSCALL_DEFINE1() argument
4279 SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument
4357 SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr __user *, uattr, in SYSCALL_DEFINE4() argument
4400 long sched_setaffinity(pid_t pid, const struct cpumask *in_mask) in sched_setaffinity()
4508 SYSCALL_DEFINE3(sched_setaffinity, pid_t, pid, unsigned int, len, in SYSCALL_DEFINE3() argument
[all …]
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
Dspufs.h120 pid_t tid;
/linux-4.4.14/drivers/tty/
Dtty_audit.c68 pid_t pid = task_pid_nr(tsk); in tty_audit_log()
Dtty_io.c2553 static int tiocgpgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgpgrp()
2581 static int tiocspgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocspgrp()
2584 pid_t pgrp_nr; in tiocspgrp()
2629 static int tiocgsid(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgsid()
/linux-4.4.14/tools/testing/selftests/exec/
Dexecveat.c69 pid_t child; in check_execveat_invoked_rc()
/linux-4.4.14/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.c281 pid_t child_pid; in fork_it()
/linux-4.4.14/tools/lguest/
Dlguest.c228 pid_t thread;
1177 if (vq->thread != (pid_t)-1) { in reset_device()
1180 vq->thread = (pid_t)-1; in reset_device()
1864 if (vq->thread == (pid_t)-1) in start_virtqueue()
2397 vq->thread = (pid_t)-1; in add_pci_virtqueue()
/linux-4.4.14/security/
Dlsm_audit.c297 pid_t pid = task_pid_nr(tsk); in dump_common_audit_data()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib.h205 pid_t pid;
206 pid_t subpid[QLOGIC_IB_MAX_SUBCTXT];
Dqib_user_sdma.c63 pid_t pid;
141 qib_user_sdma_rb_search(struct rb_root *root, pid_t pid) in qib_user_sdma_rb_search()
Dqib_diag.c70 pid_t pid;
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dobd.h90 pid_t lsm_lock_owner; /* debugging */
695 pid_t trd_processing_task;
/linux-4.4.14/tools/usb/usbip/src/
Dusbipd.c330 pid_t childpid; in process_request()
/linux-4.4.14/include/scsi/
Dscsi_transport_iscsi.h254 pid_t creator;
/linux-4.4.14/sound/pci/rme9652/
Drme9652.c232 pid_t capture_pid;
233 pid_t playback_pid;
1970 pid_t this_pid; in snd_rme9652_hw_params()
1971 pid_t other_pid; in snd_rme9652_hw_params()
/linux-4.4.14/sound/pci/korg1212/
Dkorg1212.c374 pid_t capture_pid;
375 pid_t playback_pid;
1497 pid_t this_pid; in snd_korg1212_hw_params()
1498 pid_t other_pid; in snd_korg1212_hw_params()
/linux-4.4.14/drivers/misc/cxl/
Dtrace.h92 __field(pid_t, pid)
/linux-4.4.14/Documentation/ia64/
Derr_inject.txt116 int sched_setaffinity(pid_t pid, unsigned int len, unsigned long *mask);
752 pid_t child_pid[MAX_TASK_NUM];
837 pid_t pid;
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_flock.c555 getlk->fl_pid = (pid_t)lock->l_policy_data.l_flock.pid; in ldlm_flock_completion_ast()
/linux-4.4.14/fs/btrfs/
Dextent_io.h135 pid_t lock_owner;
/linux-4.4.14/arch/s390/mm/
Dfault.c639 pid_t pid; in pfault_interrupt()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dhfi.h262 pid_t pid;
263 pid_t subpid[HFI1_MAX_SHARED_CTXTS];
/linux-4.4.14/kernel/debug/
Ddebug_core.c137 static pid_t kgdb_sstep_pid;
/linux-4.4.14/tools/perf/Documentation/
Dperf-script-perl.txt68 field:pid_t pid;
/linux-4.4.14/include/drm/
DdrmP.h287 pid_t pid; /* pid of requester, no guarantee it's valid by the time
/linux-4.4.14/arch/blackfin/mm/
Dsram-alloc.c30 pid_t pid;

12