Searched refs:pid (Results 226 - 250 of 1514) sorted by last modified time

1234567891011>>

/linux-master/tools/perf/
H A Dbuiltin-report.c352 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 Dbuiltin-record.c1484 " 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 Dbuiltin-mem.c227 sample->pid,
/linux-master/tools/mm/
H A Dthpmaps79 # 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 Drun-command.c81 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 Drun-command.h20 pid_t pid; member in struct:child_process
/linux-master/sound/firewire/oxfw/
H A Doxfw-stream.c629 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 Doxfw.h100 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 Daloop.c1198 err = snd_timer_open(timeri, &cable->snd_timer.id, current->pid);
/linux-master/sound/core/
H A Drawmidi.c358 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 Dpcm.c454 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 Dutil.c523 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 Doom_kill.c404 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 Dnommu.c587 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 Dmigrate.c2378 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 Dmempolicy.c1635 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 Dreport.c274 prefix, track->pid, track->cpu,
277 pr_err("%s by task %u:\n", prefix, track->pid);
H A Dcommon.c60 track->pid = current->pid;
/linux-master/mm/damon/
H A Dsysfs.c8 #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 Dreclaim.c270 kdamond_pid = ctx->kdamond->pid;
H A Dcore.c440 t->pid = NULL;
1596 pr_debug("kdamond (%d) starts\n", current->pid);
1683 pr_debug("kdamond (%d) finishes\n", current->pid);
H A Ddbgfs.c342 /* 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 Dsignal.c257 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 Dptrace.c171 * 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 Dpanic.c675 raw_smp_processor_id(), current->pid, file, line,
679 raw_smp_processor_id(), current->pid, caller);

Completed in 495 milliseconds

1234567891011>>