/linux-master/tools/perf/ |
H A D | builtin-report.c | 352 event->read.pid, event->read.tid, 1018 fprintf(fp, "# %8s %8s %8s %s\n", "pid", "tid", "ppid", "comm"); 1378 OPT_STRING(0, "pid", &symbol_conf.pid_list_str, "pid[,pid...]",
|
H A D | builtin-record.c | 1484 " relocation symbol.\n", machine->pid); 1494 " relocation symbol.\n", machine->pid); 1809 thread_map = thread_map__new_by_tid(rec->evlist->workload.pid); 2585 rec->evlist->workload.pid, 2605 rec->evlist->workload.pid, 2817 kill(rec->evlist->workload.pid, SIGTERM); 3388 OPT_STRING('p', "pid", &record.opts.target.pid, "pid", 4185 rec->opts.ignore_missing_thread = rec->opts.target.uid != UINT_MAX || rec->opts.target.pid; [all...] |
H A D | builtin-mem.c | 227 sample->pid,
|
/linux-master/tools/mm/ |
H A D | thpmaps | 79 # Base class used to read /proc/<pid>/pagemap and /proc/kpageflags into a 132 # Read ranges of a given pid's pagemap into a numpy array. 133 def __init__(self, pid='self'): 134 super().__init__(f'/proc/{pid}/pagemap', 8) 195 # A container for VMAs, parsed from /proc/<pid>/smaps. Iterate over the 197 def __init__(self, pid='self', stats=[]): 199 with open(f'/proc/{pid}/smaps', 'r') as file: 363 def vma_print(vma, pid): 365 # that the pid is included as the first value. 368 pid, vm [all...] |
/linux-master/tools/lib/subcmd/ |
H A D | run-command.c | 81 cmd->pid = fork(); 82 if (!cmd->pid) { 135 if (cmd->pid < 0) { 168 static int wait_or_whine(pid_t pid) argument 174 pid_t waiting = waitpid(pid, &status, 0); 183 if (waiting != pid) 204 return wait_or_whine(cmd->pid);
|
H A D | run-command.h | 20 pid_t pid; member in struct:child_process
|
/linux-master/sound/firewire/oxfw/ |
H A D | oxfw-stream.c | 629 unsigned int pid, u8 *buf, unsigned int *len, 638 err = avc_stream_get_format_single(oxfw->unit, dir, pid, buf, len); 643 pid, err); 685 dir, pid); 707 unsigned short pid) 729 err = assume_stream_formats(oxfw, dir, pid, buf, &len, 736 pid, err); 773 pid, err); 628 assume_stream_formats(struct snd_oxfw *oxfw, enum avc_general_plug_dir dir, unsigned int pid, u8 *buf, unsigned int *len, u8 **formats) argument 705 fill_stream_formats(struct snd_oxfw *oxfw, enum avc_general_plug_dir dir, unsigned short pid) argument
|
H A D | oxfw.h | 100 unsigned int pid, u8 *format, unsigned int len); 102 enum avc_general_plug_dir dir, unsigned int pid, 106 enum avc_general_plug_dir dir, unsigned int pid, 109 return avc_stream_get_format(unit, dir, pid, buf, len, 0xff); 113 enum avc_general_plug_dir dir, unsigned int pid, 117 return avc_stream_get_format(unit, dir, pid, buf, len, eid); 126 unsigned short pid); 105 avc_stream_get_format_single(struct fw_unit *unit, enum avc_general_plug_dir dir, unsigned int pid, u8 *buf, unsigned int *len) argument 112 avc_stream_get_format_list(struct fw_unit *unit, enum avc_general_plug_dir dir, unsigned int pid, u8 *buf, unsigned int *len, unsigned int eid) argument
|
/linux-master/sound/drivers/ |
H A D | aloop.c | 1198 err = snd_timer_open(timeri, &cable->snd_timer.id, current->pid);
|
/linux-master/sound/core/ |
H A D | rawmidi.c | 358 substream->pid = get_pid(task_pid(current)); 564 put_pid(substream->pid); 565 substream->pid = NULL; 1725 pid_vnr(substream->pid)); 1752 pid_vnr(substream->pid));
|
H A D | pcm.c | 454 snd_iprintf(buffer, "owner_pid : %d\n", pid_vnr(substream->pid)); 970 substream->pid = get_pid(task_pid(current)); 1000 put_pid(substream->pid); 1001 substream->pid = NULL;
|
/linux-master/mm/ |
H A D | util.c | 523 pr_debug("%s: [%d] caller %ps %c%lu %lu/%lu%s\n", __func__, task->pid, 998 pr_warn_ratelimited("%s: pid: %d, comm: %s, bytes: %lu not enough memory for the allocation\n", 999 __func__, current->pid, current->comm, bytes_failed);
|
H A D | oom_kill.c | 404 task->pid, from_kuid(&init_user_ns, task_uid(task)), 422 * State information includes task's pid, uid, tgid, vm size, rss, 428 pr_info("[ pid ] uid tgid total_vm rss rss_anon rss_file rss_shmem pgtables_bytes swapents oom_score_adj name\n"); 450 pr_cont(",task=%s,pid=%d,uid=%d\n", victim->comm, victim->pid, 571 trace_skip_task_reaping(tsk->pid); 582 trace_skip_task_reaping(tsk->pid); 586 trace_start_task_reaping(tsk->pid); 599 trace_finish_task_reaping(tsk->pid); 620 pr_info("oom_reaper: unable to reap pid [all...] |
H A D | nommu.c | 587 current->pid); 1004 len, current->pid, current->comm); 1238 len, current->pid); 1244 len, current->pid); 1347 current->pid); 1445 current->pid, current->comm,
|
H A D | migrate.c | 2378 static struct mm_struct *find_mm_struct(pid_t pid, nodemask_t *mem_nodes) argument 2387 if (!pid) { 2395 task = find_task_by_vpid(pid); 2429 static int kernel_move_pages(pid_t pid, unsigned long nr_pages, argument 2445 mm = find_mm_struct(pid, &task_nodes); 2459 SYSCALL_DEFINE6(move_pages, pid_t, pid, unsigned long, nr_pages, 2464 return kernel_move_pages(pid, nr_pages, pages, nodes, status, flags);
|
H A D | mempolicy.c | 1635 static int kernel_migrate_pages(pid_t pid, unsigned long maxnode, argument 1663 task = pid ? find_task_by_vpid(pid) : current; 1722 SYSCALL_DEFINE4(migrate_pages, pid_t, pid, unsigned long, maxnode, 1726 return kernel_migrate_pages(pid, maxnode, old_nodes, new_nodes); 3240 * for /proc/mounts, /proc/pid/mounts and /proc/pid/mountinfo.
|
/linux-master/mm/kasan/ |
H A D | report.c | 274 prefix, track->pid, track->cpu, 277 pr_err("%s by task %u:\n", prefix, track->pid);
|
H A D | common.c | 60 track->pid = current->pid;
|
/linux-master/mm/damon/ |
H A D | sysfs.c | 8 #include <linux/pid.h> 214 int pid; member in struct:damon_sysfs_target 251 return sysfs_emit(buf, "%d\n", target->pid); 259 int err = kstrtoint(buf, 0, &target->pid); 1106 put_pid(t->pid); 1151 t->pid = find_get_pid(sys_target->pid); 1152 if (!t->pid) 1165 static int damon_sysfs_update_target_pid(struct damon_target *target, int pid) argument 1167 struct pid *pid_ne 1660 int pid = -1; local [all...] |
H A D | reclaim.c | 270 kdamond_pid = ctx->kdamond->pid;
|
H A D | core.c | 440 t->pid = NULL; 1596 pr_debug("kdamond (%d) starts\n", current->pid); 1683 pr_debug("kdamond (%d) finishes\n", current->pid);
|
H A D | dbgfs.c | 342 /* Show pid numbers to debugfs users */ 343 id = pid_vnr(t->pid); 404 static void dbgfs_put_pids(struct pid **pids, int nr_pids) 413 * Converts a string into an struct pid pointers array 415 * Returns an array of struct pid pointers if the conversion success, or NULL 418 static struct pid **str_to_pids(const char *str, ssize_t len, ssize_t *nr_pids) 422 struct pid **pids; 456 * ignored if the context is not configured to have pid in each target. On 462 struct pid **pids) 469 put_pid(t->pid); [all...] |
/linux-master/kernel/ |
H A D | signal.c | 257 current->comm, current->pid, sig); 834 struct pid *sid; 1218 /* Should SIGKILL or SIGSTOP be received by a pid namespace init? */ 1222 /* Force if sent from an ancestor pid namespace */ 1242 /* From an ancestor pid namespace? */ 1463 int __kill_pgrp_info(int sig, struct kernel_siginfo *info, struct pid *pgrp) 1484 struct pid *pid, enum pid_type type) 1491 p = pid_task(pid, PIDTYPE_PID); 1505 int kill_pid_info(int sig, struct kernel_siginfo *info, struct pid *pi argument 1483 kill_pid_info_type(int sig, struct kernel_siginfo *info, struct pid *pid, enum pid_type type) argument 1510 kill_proc_info(int sig, struct kernel_siginfo *info, pid_t pid) argument 1555 kill_pid_usb_asyncio(int sig, int errno, sigval_t addr, struct pid *pid, const struct cred *cred) argument 1606 kill_something_info(int sig, struct kernel_siginfo *info, pid_t pid) argument 1917 kill_pgrp(struct pid *pid, int sig, int priv) argument 1923 kill_pid(struct pid *pid, int sig, int priv) argument 1968 send_sigqueue(struct sigqueue *q, struct pid *pid, enum pid_type type) argument 2034 struct pid *pid = task_pid(task); local 3840 access_pidfd_pidns(struct pid *pid) argument 3874 struct pid *pid; local 3906 struct pid *pid; local 3980 do_send_specific(pid_t tgid, pid_t pid, int sig, struct kernel_siginfo *info) argument 4009 do_tkill(pid_t tgid, pid_t pid, int sig) argument 4053 do_rt_sigqueueinfo(pid_t pid, int sig, kernel_siginfo_t *info) argument 4096 do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, kernel_siginfo_t *info) argument [all...] |
H A D | ptrace.c | 171 * The tracee changed its pid but the PTRACE_EVENT_EXEC event 1258 SYSCALL_DEFINE4(ptrace, long, request, long, pid, unsigned long, addr, 1269 child = find_get_task_by_vpid(pid); 1397 COMPAT_SYSCALL_DEFINE4(ptrace, compat_long_t, request, compat_long_t, pid, 1408 child = find_get_task_by_vpid(pid);
|
H A D | panic.c | 675 raw_smp_processor_id(), current->pid, file, line, 679 raw_smp_processor_id(), current->pid, caller);
|