/kernel/linux/linux-6.6/tools/perf/bench/ |
H A D | numa.c | 1567 pid_t *pids, pid, wpid; in __bench_numa() local 1580 pid = -1; in __bench_numa() 1590 pid = fork(); in __bench_numa() 1591 dprintf(" # process %2d: PID %d\n", i, pid); in __bench_numa() 1593 BUG_ON(pid < 0); in __bench_numa() 1594 if (!pid) { in __bench_numa() 1600 pids[i] = pid; in __bench_numa()
|
/kernel/linux/linux-6.6/mm/ |
H A D | migrate.c | 2371 static struct mm_struct *find_mm_struct(pid_t pid, nodemask_t *mem_nodes) in find_mm_struct() argument 2380 if (!pid) { in find_mm_struct() 2388 task = find_task_by_vpid(pid); in find_mm_struct() 2422 static int kernel_move_pages(pid_t pid, unsigned long nr_pages, in kernel_move_pages() argument 2438 mm = find_mm_struct(pid, &task_nodes); in kernel_move_pages() 2452 SYSCALL_DEFINE6(move_pages, pid_t, pid, unsigned long, nr_pages, in SYSCALL_DEFINE6() 2457 return kernel_move_pages(pid, nr_pages, pages, nodes, status, flags); in SYSCALL_DEFINE6()
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_output.c | 511 trace_find_cmdline(entry->pid, comm); in lat_print_generic() 514 comm, entry->pid, cpu); in lat_print_generic() 615 trace_find_cmdline(entry->pid, comm); in trace_print_context() 617 trace_seq_printf(s, "%16s-%-7d ", comm, entry->pid); in trace_print_context() 620 unsigned int tgid = trace_find_tgid(entry->pid); in trace_print_context() 657 trace_find_cmdline(entry->pid, comm); in trace_print_lat_context() 661 comm, entry->pid, iter->cpu, entry->flags, in trace_print_lat_context()
|
/third_party/libuv/test/ |
H A D | test-spawn.c | 113 err = uv_kill(process->pid, 0); in kill_cb() 220 err = waitpid(process.pid, &status, 0); in TEST_IMPL() 843 ASSERT_EQ(process.pid, uv_process_get_pid(&process)); in TEST_IMPL() 845 r = uv_kill(process.pid, 0); in TEST_IMPL() 848 r = uv_kill(process.pid, SIGTERM); in TEST_IMPL() 1076 r = uv_kill(process.pid, 0); in TEST_IMPL() 1080 r = uv_kill(process.pid, SIGTERM); in TEST_IMPL()
|
/kernel/linux/linux-5.10/drivers/block/ |
H A D | nbd.c | 121 pid_t pid; /* pid of nbd-client, if attached */ member 217 return sprintf(buf, "%d\n", nbd->pid); in pid_show() 221 .attr = { .name = "pid", .mode = 0444}, 336 if (nbd->pid) in nbd_size_set() 1291 nbd->pid = 0; in nbd_config_put() 1326 if (nbd->pid) in nbd_start_device() 1345 nbd->pid = task_pid_nr(current); in nbd_start_device() 1627 if (nbd->pid) in nbd_dbg_tasks_show() 1628 seq_printf(s, "recv: %d\n", nbd->pid); in nbd_dbg_tasks_show() [all...] |
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | tty_io.c | 2217 struct pid *pid; in __tty_fasync() local 2221 pid = tty->pgrp; in __tty_fasync() 2224 pid = task_pid(current); in __tty_fasync() 2227 get_pid(pid); in __tty_fasync() 2229 __f_setown(filp, pid, type, 0); in __tty_fasync() 2230 put_pid(pid); in __tty_fasync() 2319 struct pid *pgrp; in tty_do_resize() 2990 struct pid *session; in __do_SAK()
|
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | tty_io.c | 2226 struct pid *pid; in __tty_fasync() local 2230 pid = tty->ctrl.pgrp; in __tty_fasync() 2233 pid = task_pid(current); in __tty_fasync() 2236 get_pid(pid); in __tty_fasync() 2238 __f_setown(filp, pid, type, 0); in __tty_fasync() 2239 put_pid(pid); in __tty_fasync() 2328 struct pid *pgrp; in tty_do_resize() 3006 struct pid *session; in __do_SAK()
|
/kernel/linux/linux-6.6/drivers/block/ |
H A D | nbd.c | 131 pid_t pid; /* pid of nbd-client, if attached */ member 227 return sprintf(buf, "%d\n", nbd->pid); in pid_show() 231 .attr = { .name = "pid", .mode = 0444}, 334 if (!nbd->pid) in nbd_set_size() 1336 nbd->pid = 0; in nbd_config_put() 1371 if (nbd->pid) in nbd_start_device() 1382 nbd->pid = task_pid_nr(current); in nbd_start_device() 1388 dev_err(disk_to_dev(nbd->disk), "device_create_file failed for pid!\n"); in nbd_start_device() 1667 if (nbd->pid) in nbd_dbg_tasks_show() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | evsel.c | 1119 * 3) For traced programs attached by perf (pid/tid): 1726 /* The -ESRCH is perf event syscall errno for pid's not found. */ in evsel__ignore_missing_thread() 1744 pr_warning("WARNING: Ignored open failure for pid %d\n", in evsel__ignore_missing_thread() 2024 int pid = -1, err, old_errno; in evsel__open_cpu() local 2040 pid = evsel->cgrp->fd; in evsel__open_cpu() 2057 pid = perf_thread_map__pid(threads, thread); in evsel__open_cpu() 2070 pr_debug2_peo("sys_perf_event_open: pid %d cpu %d group_fd %d flags %#lx", in evsel__open_cpu() 2071 pid, perf_cpu_map__cpu(cpus, idx).cpu, group_fd, evsel->open_flags); in evsel__open_cpu() 2073 fd = sys_perf_event_open(&evsel->core.attr, pid, in evsel__open_cpu() 2090 test_attr__open(&evsel->core.attr, pid, in evsel__open_cpu() [all...] |
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
H A D | mod.rs | 190 pub pid: ::pid_t, 3084 pid: ::pid_t, in prlimit() 3090 pid: ::pid_t, in prlimit64() 3123 pid: ::pid_t, in process_vm_readv() 3131 pid: ::pid_t, in process_vm_writev() 3216 pub fn sched_getaffinity(pid: ::pid_t, cpusetsize: ::size_t, cpuset: *mut cpu_set_t) in sched_getaffinity() 3219 pid: ::pid_t, in sched_setaffinity() 3252 pub fn sched_rr_get_interval(pid: ::pid_t, tp: *mut ::timespec) -> ::c_int; in sched_rr_get_interval() 3255 pub fn sched_setparam(pid: ::pid_t, param: *const ::sched_param) -> ::c_int; in sched_setparam() 3273 pub fn sched_getparam(pid in prctl() [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-trace.c | 900 #include "trace/beauty/pid.c" 1433 size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size) in pid__scnprintf_fd() argument 1436 struct thread *thread = machine__find_thread(trace->host, pid, pid); in pid__scnprintf_fd() 2243 sample->pid, sample->tid, sample->cpu); 2292 thread = machine__findnew_thread(trace->host, sample->pid, sample->tid); 2368 thread = machine__findnew_thread(trace->host, sample->pid, sample->tid); 2439 thread = machine__findnew_thread(trace->host, sample->pid, sample->tid); 2561 struct thread *thread = machine__findnew_thread(trace->host, sample->pid, sample->tid); 2625 sample->pid, 2989 pid_t pid = getpid(); global() local [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | smb2pdu.c | 4268 shdr->Id.SyncId.ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req() 4455 io_parms.pid = rdata->pid; in smb2_async_readv() 4705 .pid = wdata->pid, in smb2_async_writev() 4718 shdr->Id.SyncId.ProcessId = cpu_to_le32(io_parms->pid); in smb2_async_writev() 4869 req->hdr.Id.SyncId.ProcessId = cpu_to_le32(io_parms->pid); in SMB2_write() 5296 u64 persistent_fid, u64 volatile_fid, u32 pid, in SMB2_set_info_init() 5310 req->hdr.Id.SyncId.ProcessId = cpu_to_le32(pid); in SMB2_set_info_init() 5345 u64 persistent_fid, u64 volatile_fid, u32 pid, u in send_set_info() 5294 SMB2_set_info_init(struct cifs_tcon *tcon, struct TCP_Server_Info *server, struct smb_rqst *rqst, u64 persistent_fid, u64 volatile_fid, u32 pid, u8 info_class, u8 info_type, u32 additional_info, void **data, unsigned int *size) SMB2_set_info_init() argument 5344 send_set_info(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, u32 pid, u8 info_class, u8 info_type, u32 additional_info, unsigned int num, void **data, unsigned int *size) send_set_info() argument 5404 SMB2_set_eof(const unsigned int xid, struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid, u32 pid, __le64 *eof) SMB2_set_eof() argument 5753 smb2_lockv(const unsigned int xid, struct cifs_tcon *tcon, const __u64 persist_fid, const __u64 volatile_fid, const __u32 pid, const __u32 num_lock, struct smb2_lock_element *buf) smb2_lockv() argument 5812 SMB2_lock(const unsigned int xid, struct cifs_tcon *tcon, const __u64 persist_fid, const __u64 volatile_fid, const __u32 pid, const __u64 length, const __u64 offset, const __u32 lock_flags, const bool wait) SMB2_lock() argument [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | neighbour.c | 55 u32 pid); 2162 u32 pid, u32 seq, int type, int flags) in neightbl_fill_info() 2167 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndtmsg), flags); in neightbl_fill_info() 2254 u32 pid, u32 seq, int type, in neightbl_fill_param_info() 2260 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndtmsg), flags); in neightbl_fill_param_info() 2563 u32 pid, u32 seq, int type, unsigned int flags) in neigh_fill_info() 2571 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), flags); in neigh_fill_info() 2625 u32 pid, u32 seq, int type, unsigned int flags, in pneigh_fill_info() 2632 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), flags); in pneigh_fill_info() 2975 u32 pid, u3 in neigh_get_reply() 2161 neightbl_fill_info(struct sk_buff *skb, struct neigh_table *tbl, u32 pid, u32 seq, int type, int flags) neightbl_fill_info() argument 2251 neightbl_fill_param_info(struct sk_buff *skb, struct neigh_table *tbl, struct neigh_parms *parms, u32 pid, u32 seq, int type, unsigned int flags) neightbl_fill_param_info() argument 2562 neigh_fill_info(struct sk_buff *skb, struct neighbour *neigh, u32 pid, u32 seq, int type, unsigned int flags) neigh_fill_info() argument 2624 pneigh_fill_info(struct sk_buff *skb, struct pneigh_entry *pn, u32 pid, u32 seq, int type, unsigned int flags, struct neigh_table *tbl) pneigh_fill_info() argument 2974 neigh_get_reply(struct net *net, struct neighbour *neigh, u32 pid, u32 seq) neigh_get_reply() argument 3003 pneigh_get_reply(struct net *net, struct pneigh_entry *neigh, u32 pid, u32 seq, struct neigh_table *tbl) pneigh_get_reply() argument 3507 __neigh_notify(struct neighbour *n, int type, int flags, u32 pid) __neigh_notify() argument [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_debugfs.c | 83 seq_printf(m, "%20s %5s %3s master a %5s %10s\n", "command", "pid", "dev", "uid", "magic"); in drm_clients_info() 94 task = pid_task(priv->pid, PIDTYPE_PID); in drm_clients_info() 96 seq_printf(m, "%20s %5d %3d %c %c %5d %10u\n", task ? task->comm : "<unknown>", pid_vnr(priv->pid), in drm_clients_info()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/mmu/backend/ |
H A D | mali_kbase_mmu_csf.c | 161 "pid: %d\n", in kbase_gpu_report_bus_fault_and_kill() 168 kctx->pid); in kbase_gpu_report_bus_fault_and_kill() 229 "pid: %d\n", in kbase_mmu_report_fault_and_kill() 236 kctx->pid); in kbase_mmu_report_fault_and_kill()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_pp_job.h | 56 u32 pid; /**< Process ID of submitting process */ member 172 return job->pid; in mali_pp_job_get_pid()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_pp_job.h | 57 u32 pid; /**< Process ID of submitting process */ member 179 return job->pid; in mali_pp_job_get_pid()
|
/kernel/linux/linux-5.10/drivers/char/pcmcia/ |
H A D | cm4040_cs.c | 226 DEBUGP(2, dev, "-> cm4040_read(%s,%d)\n", current->comm, current->pid); in cm4040_read() 326 DEBUGP(2, dev, "-> cm4040_write(%s,%d)\n", current->comm, current->pid);
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | signal.c | 148 current->comm, current->pid, scr->pt.r12, scr->pt.cr_iip); in ia64_rt_sigreturn() 312 current->comm, current->pid, ksig->sig, scr->pt.r12, frame->sc.sc_ip, frame->handler); in setup_frame()
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
H A D | unwind.c | 397 t ? (int)t->pid : -1, info->sp, info->ip); in unwind_frame_init() 456 next_frame->t ? (int)next_frame->t->pid : -1, in unwind_once()
|
/kernel/linux/linux-5.10/arch/openrisc/kernel/ |
H A D | traps.c | 91 printk("Process %s (pid: %d, stackpage=%08lx)\n", in show_registers() 92 current->comm, current->pid, (unsigned long)current); in show_registers() 153 printk("Process %s (pid: %d, stackpage=%08lx)\n", in nommu_dump_state() 155 ((struct task_struct *)(__pa(current)))->pid, in nommu_dump_state()
|
/kernel/linux/linux-6.6/arch/ia64/kernel/ |
H A D | signal.c | 147 current->comm, current->pid, scr->pt.r12, scr->pt.cr_iip); in ia64_rt_sigreturn() 311 current->comm, current->pid, ksig->sig, scr->pt.r12, frame->sc.sc_ip, frame->handler); in setup_frame()
|
/kernel/linux/linux-6.6/arch/powerpc/mm/ |
H A D | fault.c | 144 current->comm, current->pid, address); in do_sigbus() 316 current->comm, current->pid, address, in sanity_check_fault()
|
/kernel/linux/linux-6.6/arch/parisc/kernel/ |
H A D | unwind.c | 396 t ? (int)t->pid : -1, info->sp, info->ip); in unwind_frame_init() 455 next_frame->t ? (int)next_frame->t->pid : -1, in unwind_once()
|
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/ |
H A D | habanalabs_drv.c | 118 hpriv->taskpid = find_get_pid(current->pid); in hl_device_open() 219 hpriv->taskpid = find_get_pid(current->pid); in hl_device_open_ctrl()
|