/linux/include/linux/ |
A D | pid.h | 59 struct pid struct 64 /* lists of tasks that use this pid */ argument 68 wait_queue_head_t wait_pidfd; argument 70 struct upid numbers[1]; argument 73 extern struct pid init_struct_pid; argument 84 static inline struct pid *get_pid(struct pid *pid) in get_pid() 165 static inline bool is_child_reaper(struct pid *pid) in is_child_reaper() 181 static inline pid_t pid_nr(struct pid *pid) in pid_nr() 192 #define do_each_pid_task(pid, type, task) \ argument 202 #define while_each_pid_task(pid, type, task) \ argument [all …]
|
/linux/arch/x86/um/os-Linux/ |
A D | registers.c | 21 int save_i387_registers(int pid, unsigned long *fp_regs) in save_i387_registers() 28 int save_fp_registers(int pid, unsigned long *fp_regs) in save_fp_registers() 44 int restore_i387_registers(int pid, unsigned long *fp_regs) in restore_i387_registers() 51 int restore_fp_registers(int pid, unsigned long *fp_regs) in restore_fp_registers() 68 int save_fpx_registers(int pid, unsigned long *fp_regs) in save_fpx_registers() 82 int get_fp_registers(int pid, unsigned long *regs) in get_fp_registers() 90 int put_fp_registers(int pid, unsigned long *regs) in put_fp_registers() 98 void arch_init_registers(int pid) in arch_init_registers() 115 int get_fp_registers(int pid, unsigned long *regs) in get_fp_registers() 120 int put_fp_registers(int pid, unsigned long *regs) in put_fp_registers() [all …]
|
/linux/kernel/ |
A D | pid.c | 105 void put_pid(struct pid *pid) in put_pid() 126 void free_pid(struct pid *pid) in free_pid() 162 struct pid *pid; in alloc_pid() local 341 struct pid *pid; in __change_pid() local 362 struct pid *pid) in change_pid() 440 struct pid *pid; in get_task_pid() local 462 struct pid *pid; in find_get_pid() local 486 pid_t pid_vnr(struct pid *pid) in pid_vnr() 526 struct pid *pid; in pidfd_get_pid() local 562 struct pid *pid; in pidfd_get_task() local [all …]
|
/linux/drivers/pinctrl/mvebu/ |
A D | pinctrl-dove.c | 64 unsigned pid, unsigned long *config) in dove_pmu_mpp_ctrl_get() 82 unsigned pid, unsigned long config) in dove_pmu_mpp_ctrl_set() 103 static int dove_mpp4_ctrl_get(struct mvebu_mpp_ctrl_data *data, unsigned pid, in dove_mpp4_ctrl_get() 134 static int dove_mpp4_ctrl_set(struct mvebu_mpp_ctrl_data *data, unsigned pid, in dove_mpp4_ctrl_set() 169 static int dove_nand_ctrl_get(struct mvebu_mpp_ctrl_data *data, unsigned pid, in dove_nand_ctrl_get() 180 static int dove_nand_ctrl_set(struct mvebu_mpp_ctrl_data *data, unsigned pid, in dove_nand_ctrl_set() 189 static int dove_audio0_ctrl_get(struct mvebu_mpp_ctrl_data *data, unsigned pid, in dove_audio0_ctrl_get() 272 unsigned pid) in dove_audio1_ctrl_gpio_req() 300 unsigned pid, bool input) in dove_audio1_ctrl_gpio_dir() 307 static int dove_twsi_ctrl_get(struct mvebu_mpp_ctrl_data *data, unsigned pid, in dove_twsi_ctrl_get() [all …]
|
/linux/arch/powerpc/mm/book3s64/ |
A D | radix_tlb.c | 29 unsigned int pid, in tlbiel_radix_set_isa300() 445 unsigned long pid; member 595 unsigned long pid; member 625 unsigned long pid; member 703 unsigned long pid; in radix__local_flush_tlb_mm() local 716 unsigned long pid; in radix__local_flush_all_mm() local 735 unsigned long pid; in radix__local_flush_tlb_page_psize() local 936 unsigned long pid; in radix__flush_tlb_mm() local 976 unsigned long pid; in __flush_all_mm() local 1015 unsigned long pid; in radix__flush_tlb_page_psize() local [all …]
|
/linux/drivers/media/common/b2c2/ |
A D | flexcop-hw-filter.c | 47 u16 pid, u16 mask) in flexcop_pid_group_filter() 75 u16 pid, int onoff) in flexcop_pid_Stream1_PID_ctrl() 82 u16 pid, int onoff) in flexcop_pid_Stream2_PID_ctrl() 89 u16 pid, int onoff) in flexcop_pid_PCR_PID_ctrl() 95 u16 pid, int onoff) in flexcop_pid_PMT_PID_ctrl() 101 u16 pid, int onoff) in flexcop_pid_EMM_PID_ctrl() 107 u16 pid, int onoff) in flexcop_pid_ECM_PID_ctrl() 113 int index, u16 pid, int onoff) in flexcop_pid_control()
|
/linux/arch/powerpc/mm/ |
A D | mmu_decl.h | 31 static inline void _tlbil_pid(unsigned int pid) in _tlbil_pid() 36 #define _tlbil_pid_noind(pid) _tlbil_pid(pid) argument 44 #define _tlbil_pid_noind(pid) _tlbil_pid(pid) argument 52 static inline void _tlbil_va(unsigned long address, unsigned int pid, in _tlbil_va() 63 static inline void _tlbil_va(unsigned long address, unsigned int pid, in _tlbil_va() 74 static inline void _tlbivax_bcast(unsigned long address, unsigned int pid, in _tlbivax_bcast()
|
/linux/arch/um/os-Linux/skas/ |
A D | process.c | 26 int is_skas_winch(int pid, int fd, void *data) in is_skas_winch() 79 static int ptrace_dump_regs(int pid) in ptrace_dump_regs() 106 void wait_stub_done(int pid) in wait_stub_done() 142 static void get_skas_faultinfo(int pid, struct faultinfo *fi, unsigned long *aux_fp_regs) in get_skas_faultinfo() 174 static void handle_segv(int pid, struct uml_pt_regs *regs, unsigned long *aux_fp_regs) in handle_segv() 184 static void handle_trap(int pid, struct uml_pt_regs *regs, in handle_trap() 316 int pid, status, n, flags, err; in start_userspace() local 384 int err, status, op, pid = userspace_pid[0]; in userspace() local 530 int copy_context_skas0(unsigned long new_stack, int pid) in copy_context_skas0()
|
/linux/tools/perf/util/ |
A D | thread_map.c | 33 struct perf_thread_map *thread_map__new_by_pid(pid_t pid) in thread_map__new_by_pid() 95 pid_t pid = strtol(dirent->d_name, &end, 10); in __thread_map__new_all_cpus() local 170 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new() 188 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str() local 292 struct perf_thread_map *thread_map__new_str(const char *pid, const char *tid, in thread_map__new_str() 318 static int get_comm(char **comm, pid_t pid) in get_comm() 344 pid_t pid = perf_thread_map__pid(map, i); in comm_init() local 397 bool thread_map__has(struct perf_thread_map *threads, pid_t pid) in thread_map__has()
|
/linux/tools/testing/selftests/cgroup/ |
A D | test_freezer.c | 59 static int cg_enter_and_wait_for_frozen(const char *cgroup, int pid, in cg_enter_and_wait_for_frozen() 403 int pid; in test_cgfreezer_mkdir() local 512 int pid; in test_cgfreezer_migrate() local 588 int pid; in test_cgfreezer_ptrace() local 643 static int proc_check_stopped(int pid) in proc_check_stopped() 667 int pid, ret = KSFT_FAIL; in test_cgfreezer_stopped() local 711 int pid, ret = KSFT_FAIL; in test_cgfreezer_ptraced() local 765 int pid = vfork(); in vfork_fn() local
|
A D | cgroup_util.c | 265 int pid = strtol(ptr, &ptr, 10); in cg_killall() local 298 int cg_enter(const char *cgroup, int pid) in cg_enter() 320 int pid, retcode; in cg_run() local 344 pid_t pid; in clone_into_cgroup() local 369 int clone_reap(pid_t pid, int options) in clone_reap() 419 pid_t pid; in clone_into_cgroup_run_nowait() local 437 int pid; in cg_run_nowait() local 517 int set_oom_adj_score(int pid, int score) in set_oom_adj_score() 538 ssize_t proc_read_text(int pid, bool thread, const char *item, char *buf, size_t size) in proc_read_text() 551 int proc_read_strstr(int pid, bool thread, const char *item, const char *needle) in proc_read_strstr() [all …]
|
/linux/tools/perf/scripts/python/ |
A D | netdev-times.py | 232 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument 238 def irq__softirq_exit(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument 244 def irq__softirq_raise(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument 250 def irq__irq_handler_entry(name, context, cpu, sec, nsec, pid, comm, argument 260 def napi__napi_poll(name, context, cpu, sec, nsec, pid, comm, callchain, napi, argument 272 def net__netif_rx(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, argument 278 def net__net_dev_queue(name, context, cpu, sec, nsec, pid, comm, callchain, argument 284 def net__net_dev_xmit(name, context, cpu, sec, nsec, pid, comm, callchain, argument 290 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain, argument 296 def skb__consume_skb(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr): argument [all …]
|
A D | sched-migration.py | 33 def thread_name(pid): argument 210 def wake_up(self, ts_list, pid, cpu, fork): argument 379 common_callchain, comm, pid, delay): argument 384 common_callchain, comm, pid, delay): argument 389 common_callchain, comm, pid, delay): argument 399 common_callchain, comm, pid, prio): argument 404 common_callchain, comm, pid, prio): argument 409 common_callchain, comm, pid, prio): argument 432 common_callchain, comm, pid, prio, success, argument 448 common_callchain, comm, pid, prio): argument [all …]
|
/linux/arch/um/os-Linux/ |
A D | start_up.c | 32 int pid = os_getpid(), ppid = getppid(); in ptrace_child() local 95 int pid, n, status; in start_ptraced_child() local 121 static int stop_ptraced_child(int pid, int exitcode, int mustexit) in stop_ptraced_child() 167 int pid, n, status, count=0; in check_sysemu() local 261 int pid, syscall, n, status; in check_ptrace() local 358 int pid; in os_early_checks() local
|
A D | process.c | 27 unsigned long os_process_pc(int pid) in os_process_pc() 59 int os_process_parent(int pid) in os_process_parent() 93 void os_alarm_process(int pid) in os_alarm_process() 98 void os_stop_process(int pid) in os_stop_process() 103 void os_kill_process(int pid, int reap_child) in os_kill_process() 115 void os_kill_ptraced_process(int pid, int reap_child) in os_kill_ptraced_process()
|
A D | registers.c | 14 int save_registers(int pid, struct uml_pt_regs *regs) in save_registers() 24 int restore_registers(int pid, struct uml_pt_regs *regs) in restore_registers() 39 int init_registers(int pid) in init_registers()
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | local_storage.c | 50 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG() local 76 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG() local 108 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG() local 136 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG() local 160 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG() local
|
A D | test_varlen.c | 42 int pid = bpf_get_current_pid_tgid() >> 32; in handler64_unsigned() local 70 int pid = bpf_get_current_pid_tgid() >> 32; in handler64_signed() local 96 int pid = bpf_get_current_pid_tgid() >> 32; in handler32_unsigned() local 124 int pid = bpf_get_current_pid_tgid() >> 32; in handler32_signed() local
|
/linux/tools/kvm/kvm_stat/ |
A D | kvm_stat | 507 def __init__(self, pid): argument 534 def __init__(self, pid, fields_filter): argument 694 def pid(self): member in TracepointProvider 698 def pid(self, pid): argument 771 def pid(self): member in DebugfsProvider 775 def pid(self, pid): member in DebugfsProvider 919 def pid_filter(self, pid): argument 1085 def get_gname_from_pid(pid): argument 1116 def _update_pid(self, pid): argument 1122 def _refresh_header(self, pid=None): argument [all …]
|
/linux/tools/testing/selftests/pidfd/ |
A D | pidfd_wait.c | 34 static int sys_waitid(int which, pid_t pid, siginfo_t *info, int options, in sys_waitid() 51 pid_t pid; in TEST() local 100 pid_t pid; in TEST() local 152 pid_t pid; in TEST() local
|
A D | pidfd_setns_test.c | 54 pid_t pid; in FIXTURE() local 70 static int sys_waitid(int which, pid_t pid, int options) in sys_waitid() 302 static int preserve_ns(const int pid, const char *ns) in preserve_ns() 362 pid_t pid; in TEST_F() local 380 pid_t pid; in TEST_F() local 416 pid_t pid; in TEST_F() local 453 pid_t pid; in TEST_F() local
|
/linux/kernel/trace/ |
A D | pid_list.c | 93 static inline int pid_split(unsigned int pid, unsigned int *upper1, in pid_split() 129 bool trace_pid_list_is_set(struct trace_pid_list *pid_list, unsigned int pid) in trace_pid_list_is_set() 168 int trace_pid_list_set(struct trace_pid_list *pid_list, unsigned int pid) in trace_pid_list_set() 221 int trace_pid_list_clear(struct trace_pid_list *pid_list, unsigned int pid) in trace_pid_list_clear() 273 int trace_pid_list_next(struct trace_pid_list *pid_list, unsigned int pid, in trace_pid_list_next() 327 int trace_pid_list_first(struct trace_pid_list *pid_list, unsigned int *pid) in trace_pid_list_first()
|
/linux/tools/testing/selftests/rlimits/ |
A D | rlimits-per-userns.c | 32 pid_t pid = getpid(); in setrlimit_nproc() local 46 pid_t pid = fork(); in fork_child() local 91 pid_t pid; in main() local
|
/linux/sound/firewire/oxfw/ |
A D | oxfw-command.c | 11 unsigned int pid, u8 *format, unsigned int len) in avc_stream_set_format() 53 enum avc_general_plug_dir dir, unsigned int pid, in avc_stream_get_format() 113 unsigned short pid) in avc_general_inquiry_sig_fmt()
|
/linux/include/linux/i3c/ |
A D | device.h | 79 #define I3C_PID_MANUF_ID(pid) (((pid) & GENMASK_ULL(47, 33)) >> 33) argument 80 #define I3C_PID_RND_LOWER_32BITS(pid) (!!((pid) & BIT_ULL(32))) argument 81 #define I3C_PID_RND_VAL(pid) ((pid) & GENMASK_ULL(31, 0)) argument 82 #define I3C_PID_PART_ID(pid) (((pid) & GENMASK_ULL(31, 16)) >> 16) argument 83 #define I3C_PID_INSTANCE_ID(pid) (((pid) & GENMASK_ULL(15, 12)) >> 12) argument 84 #define I3C_PID_EXTRA_INFO(pid) ((pid) & GENMASK_ULL(11, 0)) argument 119 u64 pid; member
|