/linux-master/mm/ |
H A D | migrate.c | 2378 static struct mm_struct *find_mm_struct(pid_t pid, nodemask_t *mem_nodes) 2429 static int kernel_move_pages(pid_t pid, unsigned long nr_pages, 2459 SYSCALL_DEFINE6(move_pages, pid_t, pid, unsigned long, nr_pages,
|
H A D | mempolicy.c | 1635 static int kernel_migrate_pages(pid_t pid, unsigned long maxnode, 1722 SYSCALL_DEFINE4(migrate_pages, pid_t, pid, unsigned long, maxnode,
|
/linux-master/kernel/ |
H A D | signal.c | 1510 static int kill_proc_info(int sig, struct kernel_siginfo *info, pid_t pid) 1606 static int kill_something_info(int sig, struct kernel_siginfo *info, pid_t pid) 3826 SYSCALL_DEFINE2(kill, pid_t, pid, int, sig) 3980 do_send_specific(pid_t tgid, pid_t pid, int sig, struct kernel_siginfo *info) 4009 static int do_tkill(pid_t tgid, pid_t pid, int sig) 4028 SYSCALL_DEFINE3(tgkill, pid_t, tgid, pid_t, pid, int, sig) 4044 SYSCALL_DEFINE2(tkill, pid_t, pi [all...] |
H A D | pid.c | 166 struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid, 426 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns) 433 struct task_struct *find_task_by_vpid(pid_t vnr) 438 struct task_struct *find_get_task_by_vpid(pid_t nr) 473 struct pid *find_get_pid(pid_t nr) 485 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) 488 pid_t nr = 0; 499 pid_t pid_vnr(struct pid *pid) 505 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, 508 pid_t n [all...] |
/linux-master/include/trace/events/ |
H A D | oom.h | 19 __field( pid_t, pid)
|
/linux-master/include/linux/ |
H A D | syscalls.h | 541 asmlinkage long sys_waitid(int which, pid_t pid, 622 asmlinkage long sys_sched_setparam(pid_t pid, 624 asmlinkage long sys_sched_setscheduler(pid_t pid, int policy, 626 asmlinkage long sys_sched_getscheduler(pid_t pid); 627 asmlinkage long sys_sched_getparam(pid_t pid, 629 asmlinkage long sys_sched_setaffinity(pid_t pid, unsigned int len, 631 asmlinkage long sys_sched_getaffinity(pid_t pid, unsigned int len, 636 asmlinkage long sys_sched_rr_get_interval(pid_t pid, 638 asmlinkage long sys_sched_rr_get_interval_time32(pid_t pid, 641 asmlinkage long sys_kill(pid_t pi [all...] |
H A D | security.h | 448 int security_task_setpgid(struct task_struct *p, pid_t pgid); 1210 static inline int security_task_setpgid(struct task_struct *p, pid_t pgid)
|
H A D | pid.h | 22 * Storing pid_t values in the kernel and referring to them later has a 130 extern struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid, 175 static inline pid_t pid_nr(struct pid *pid) 177 pid_t nr = 0; 183 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns); 184 pid_t pid_vnr(struct pid *pid); 228 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns); 230 static inline pid_t task_pid_nr(struct task_struct *tsk) 235 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) 240 static inline pid_t task_pid_vn [all...] |
H A D | lsm_hook_defs.h | 230 LSM_HOOK(int, 0, task_setpgid, struct task_struct *p, pid_t pgid)
|
/linux-master/fs/ |
H A D | pidfs.c | 59 pid_t nr = -1;
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon.h | 507 pid_t pid;
|
/linux-master/drivers/gpu/drm/lima/ |
H A D | lima_ctx.h | 19 pid_t pid;
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_smi_events.c | 42 pid_t pid; 162 static bool kfd_smi_ev_enabled(pid_t pid, struct kfd_smi_client *client, 174 static void add_event_to_kfifo(pid_t pid, struct kfd_node *dev, 199 static void kfd_smi_event_add(pid_t pid, struct kfd_node *dev, 253 void kfd_smi_event_page_fault_start(struct kfd_node *node, pid_t pid, 262 void kfd_smi_event_page_fault_end(struct kfd_node *node, pid_t pid, 270 void kfd_smi_event_migration_start(struct kfd_node *node, pid_t pid, 282 void kfd_smi_event_migration_end(struct kfd_node *node, pid_t pid, 292 void kfd_smi_event_queue_eviction(struct kfd_node *node, pid_t pid, 300 void kfd_smi_event_queue_restore(struct kfd_node *node, pid_t pi [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vm.h | 208 pid_t pid; 209 pid_t tgid;
|
/linux-master/drivers/accel/habanalabs/common/ |
H A D | habanalabs.h | 1975 pid_t pid;
|
/linux-master/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 302 static int __filecmp(pid_t pid1, pid_t pid2, int fd1, int fd2) 591 pid_t parent = getppid(); 678 pid_t parent = getppid(); 711 pid_t parent = getppid(); 750 pid_t parent = getppid(); 867 pid_t child_pid; 886 pid_t child_pid; 905 pid_t child_pid; 962 pid_t paren [all...] |
H A D | seccomp_benchmark.c | 29 pid_t pid, ret; 55 pid_t pid, ret;
|
/linux-master/tools/testing/selftests/sched/ |
H A D | cs_prctl_test.c | 37 static pid_t gettid(void) 137 pid_t tid; 177 pid_t cpid;
|
/linux-master/tools/testing/selftests/resctrl/ |
H A D | resctrlfs.c | 411 int taskset_benchmark(pid_t bm_pid, int cpu_no, cpu_set_t *old_affinity) 443 int taskset_restore(pid_t bm_pid, cpu_set_t *old_affinity) 501 static int write_pid_to_tasks(char *tasks, pid_t pid) 537 int write_bm_pid_to_resctrl(pid_t bm_pid, char *ctrlgrp, char *mongrp, 802 pid_t pid; 858 int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, int cpu,
|
H A D | resctrl_val.c | 467 pid_t bm_pid, ppid;
|
H A D | resctrl.h | 128 extern pid_t bm_pid, ppid; 144 int taskset_benchmark(pid_t bm_pid, int cpu_no, cpu_set_t *old_affinity); 145 int taskset_restore(pid_t bm_pid, cpu_set_t *old_affinity); 147 int write_bm_pid_to_resctrl(pid_t bm_pid, char *ctrlgrp, char *mongrp, 149 int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, int cpu, 177 int perf_open(struct perf_event_attr *pea, pid_t pid, int cpu_no);
|
H A D | cat_test.c | 168 pid_t bm_pid;
|
H A D | cache.c | 46 int perf_open(struct perf_event_attr *pea, pid_t pid, int cpu_no)
|
/linux-master/tools/testing/selftests/pidfd/ |
H A D | pidfd_getfd_test.c | 31 static int sys_kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, 125 pid_t pid;
|
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | pm_nl_ctl.c | 1140 pid_t pid = getpid();
|