/openbmc/linux/tools/testing/selftests/cgroup/ |
H A D | test_core.c | 149 pid_t pid; in test_cgcore_populated() local 207 if (pid < 0) { in test_cgcore_populated() 213 if (pid == 0) { in test_cgcore_populated() 221 (void)clone_reap(pid, WSTOPPED); in test_cgcore_populated() 222 (void)kill(pid, SIGCONT); in test_cgcore_populated() 223 (void)clone_reap(pid, WEXITED); in test_cgcore_populated() 239 if (pid < 0) in test_cgcore_populated() 241 if (pid == 0) in test_cgcore_populated() 243 (void)clone_reap(pid, WEXITED); in test_cgcore_populated() 777 pid_t pid; in test_cgcore_lesser_ns_open() local [all …]
|
H A D | test_cpu.c | 24 pid_t pid; member 266 pid_t pid = spawn_child(&children[i]); in run_cpucg_weight_test() local 267 if (pid <= 0) in run_cpucg_weight_test() 269 children[i].pid = pid; in run_cpucg_weight_test() 275 waitpid(children[i].pid, &retcode, 0); in run_cpucg_weight_test() 465 pid_t pid; in run_cpucg_nested_weight_test() local 475 pid = cg_run_nowait(leaf[i].cgroup, hog_cpus_timed, in run_cpucg_nested_weight_test() 477 if (pid <= 0) in run_cpucg_nested_weight_test() 479 leaf[i].pid = pid; in run_cpucg_nested_weight_test() 485 waitpid(leaf[i].pid, &retcode, 0); in run_cpucg_nested_weight_test()
|
/openbmc/linux/kernel/ |
H A D | fork.c | 1997 struct pid *pid = file->private_data; in pidfd_release() local 2000 put_pid(pid); in pidfd_release() 2042 struct pid *pid = f->private_data; in pidfd_show_fdinfo() local 2076 struct pid *pid = file->private_data; in pidfd_poll() local 2179 if (!pid || !pid_has_task(pid, PIDTYPE_TGID)) in pidfd_prepare() 2240 struct pid *pid, in copy_process() argument 2565 p->pid = pid_nr(pid); in copy_process() 2571 p->tgid = p->pid; in copy_process() 2749 free_pid(pid); in copy_process() 2872 struct pid *pid; in kernel_clone() local [all …]
|
/openbmc/linux/tools/include/nolibc/ |
H A D | sys.h | 387 pid_t sys_getpgid(pid_t pid) in sys_getpgid() argument 389 return my_syscall1(__NR_getpgid, pid); in sys_getpgid() 393 pid_t getpgid(pid_t pid) in getpgid() argument 395 return __sysret(sys_getpgid(pid)); in getpgid() 542 int sys_kill(pid_t pid, int signal) in sys_kill() argument 544 return my_syscall2(__NR_kill, pid, signal); in sys_kill() 548 int kill(pid_t pid, int signal) in kill() argument 550 return __sysret(sys_kill(pid, signal)); in kill() 953 int sys_setpgid(pid_t pid, pid_t pgid) in sys_setpgid() argument 959 int setpgid(pid_t pid, pid_t pgid) in setpgid() argument [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/plymouth/plymouth/ |
H A D | 0001-plymouth-start-service-in-add-related-kernel-paramet.patch | 24 -ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=boot --pid-file=@plymouthruntimedir@/pid --attach… 25 …nel-command-line="splash plymouth.ignore-serial-consoles" --pid-file=@plymouthruntimedir@/pid --at…
|
/openbmc/qemu/util/ |
H A D | systemd.c | 22 unsigned long pid; in check_socket_activation() local 33 err = qemu_strtoul(s, NULL, 10, &pid); in check_socket_activation() 37 if (pid != getpid()) { in check_socket_activation()
|
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/ |
H A D | test_bridge_fdb_stress.sh | 26 kill $pid && wait $pid &> /dev/null 41 pid=$!
|
/openbmc/linux/Documentation/accounting/ |
H A D | taskstats.rst | 18 "pid", "tid" and "task" are used interchangeably and refer to the standard 19 Linux task defined by struct task_struct. per-pid stats are the same as 37 one of the cpus in the cpumask, its per-pid statistics are sent to the 44 The latter contains the sum of per-pid stats for all threads in the thread 62 struct taskstats is the common accounting structure for both per-pid and 79 a pid/tgid consist of one attribute, of type TASKSTATS_CMD_ATTR_PID/TGID, 80 containing a u32 pid or tgid in the attribute payload. The pid/tgid denotes 97 a pid/tgid will be followed by some stats. 103 same structure is used for both per-pid and per-tgid stats. 109 b) TASKSTATS_TYPE_PID: contains exiting task's pid [all …]
|
/openbmc/openbmc/poky/meta/recipes-graphics/x11-common/xserver-nodm-init/ |
H A D | xserver-nodm | 12 pid=`/bin/pidof $1` 13 [ "$pid" != "" ] && kill $pid
|
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-phosphor/fans/ |
H A D | phosphor-pid-control_%.bbappend | 4 FILES:${PN}:append = " ${systemd_system_unitdir}/phosphor-pid-control.service.d/*.conf" 8 override_dir="${D}${systemd_system_unitdir}/phosphor-pid-control.service.d" 10 mkdir -p ${D}${systemd_system_unitdir}/phosphor-pid-control.service.d
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | follow-fork-mode.c | 23 pid_t child, pid; in main() local 48 pid = waitpid(child, &status, 0); in main() 49 assert(pid == child); in main()
|
/openbmc/openbmc/meta-nuvoton/meta-evb-npcm845/recipes-phosphor/fans/ |
H A D | phosphor-pid-control_%.bbappend | 5 file://phosphor-pid-control.service \ 11 SYSTEMD_SERVICE:${PN}:append = " phosphor-pid-control.service" 19 install -m 0644 ${UNPACKDIR}/phosphor-pid-control.service \
|
/openbmc/linux/include/trace/events/ |
H A D | signal.h | 62 __field( pid_t, pid ) 71 __entry->pid = task->pid; 78 __entry->comm, __entry->pid, __entry->group,
|
/openbmc/linux/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-context-chk-vmx.c | 36 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v… 104 pid_t pid = getpid(); in tm_signal_context_chk() local 125 rc = tm_signal_self_context_load(pid, NULL, NULL, vms, NULL); in tm_signal_context_chk() 126 FAIL_IF(rc != pid); in tm_signal_context_chk()
|
/openbmc/linux/Documentation/ABI/stable/ |
H A D | procfs-audit_loginuid | 7 The /proc/$pid/loginuid pseudofile is written to set and 8 read to get the audit login UID of process $pid as a 23 The /proc/$pid/sessionid pseudofile is read to get the 24 audit login session ID of process $pid as a decimal
|
/openbmc/linux/tools/lib/perf/ |
H A D | threadmap.c | 35 void perf_thread_map__set_pid(struct perf_thread_map *map, int idx, pid_t pid) in perf_thread_map__set_pid() argument 37 map->map[idx].pid = pid; in perf_thread_map__set_pid() 100 return map->map[idx].pid; in perf_thread_map__pid()
|
/openbmc/linux/Documentation/translations/zh_CN/accounting/ |
H A D | delay-accounting.rst | 40 向用户态返回一个通用数据结构,对应每pid或每tgid的统计信息。延时计数功能填写 78 getdelays [-dilv] [-t tgid] [-p pid] 80 获取pid为10的任务从系统启动后的延时信息:: 107 获取pid为1的IO计数,它只和-p一起使用::
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | procfs-smaps_rollup | 1 What: /proc/pid/smaps_rollup 6 process. The format is almost identical to /proc/pid/smaps, 10 fields from all the maps in /proc/pid/smaps. 12 are not present in /proc/pid/smaps. These fields represent
|
/openbmc/linux/tools/perf/util/ |
H A D | namespaces.c | 154 struct nsinfo *nsinfo__new(pid_t pid) in nsinfo__new() argument 158 if (pid == 0) in nsinfo__new() 165 RC_CHK_ACCESS(nsi)->pid = pid; in nsinfo__new() 166 RC_CHK_ACCESS(nsi)->tgid = pid; in nsinfo__new() 167 RC_CHK_ACCESS(nsi)->nstgid = pid; in nsinfo__new() 196 RC_CHK_ACCESS(nnsi)->pid = nsinfo__pid(nsi); in nsinfo__copy() 266 return RC_CHK_ACCESS(nsi)->pid; in nsinfo__pid()
|
/openbmc/linux/fs/proc/ |
H A D | base.c | 422 struct pid *pid, struct task_struct *task) in proc_pid_wchan() argument 464 struct pid *pid, struct task_struct *task) in proc_pid_stack() argument 804 struct pid *pid = proc_pid(inode); in proc_single_show() local 1936 struct pid *pid = ei->pid; in proc_pid_evict_inode() local 1952 struct pid *pid; in proc_pid_make_inode() local 1975 ei->pid = pid; in proc_pid_make_inode() 2005 struct pid *pid; in proc_pid_make_base_inode() local 2013 pid = ei->pid; in proc_pid_make_base_inode() 2504 struct pid *pid; member 3469 void proc_flush_pid(struct pid *pid) in proc_flush_pid() argument [all …]
|
/openbmc/linux/tools/perf/trace/beauty/ |
H A D | kcmp.c | 20 pid_t pid; in syscall_arg__scnprintf_kcmp_idx() local 25 pid = syscall_arg__val(arg, arg->idx == 3 ? 0 : 1); /* idx1 -> pid1, idx2 -> pid2 */ in syscall_arg__scnprintf_kcmp_idx() 26 return pid__scnprintf_fd(arg->trace, pid, fd, bf, size); in syscall_arg__scnprintf_kcmp_idx()
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_fintek.c | 97 u16 pid; member 170 pdata->pid = chip; in fintek_8250_check_id() 177 switch (pdata->pid) { in fintek_8250_get_ldn_range() 242 switch (pdata->pid) { in fintek_8250_set_irq_mode() 269 switch (pdata->pid) { in fintek_8250_set_max_fifo() 304 switch (pdata->pid) { in fintek_8250_set_termios() 317 __func__, pdata->pid); in fintek_8250_set_termios() 354 switch (pdata->pid) { in fintek_8250_set_termios_handler() 435 switch (pdata->pid) { in fintek_8250_set_rs485_handler()
|
/openbmc/linux/tools/testing/selftests/resctrl/ |
H A D | resctrlfs.c | 344 static int write_pid_to_tasks(char *tasks, pid_t pid) in write_pid_to_tasks() argument 354 if (fprintf(fp, "%d\n", pid) < 0) { in write_pid_to_tasks() 604 pid_t pid; in filter_dmesg() local 613 pid = fork(); in filter_dmesg() 614 if (pid == 0) { in filter_dmesg() 625 kill(pid, SIGTERM); in filter_dmesg() 637 waitpid(pid, NULL, 0); in filter_dmesg() 660 int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, int cpu, in perf_event_open() argument 665 ret = syscall(__NR_perf_event_open, hw_event, pid, cpu, in perf_event_open()
|
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
H A D | oe_syslog.py | 28 for pid in pids: 29 status, err_output = self.target.run('kill -0 %s' %pid) 31 self.logger.debug("previous %s is still running" %pid) 37 status, pid = self.target.run('pidof %s' %name) 41 pids.append(pid)
|
/openbmc/openbmc/poky/meta/recipes-devtools/rpm/files/ |
H A D | 0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch | 41 } else if (pid == 0) {/* Child */ 42 - rpmlog(RPMLOG_DEBUG, "%s: execv(%s) pid %d\n", 43 + rpmlog(RPMLOG_INFO, "%s: execv(%s) pid %d\n", 48 reaped = waitpid(pid, &status, 0); 53 sname, (unsigned)pid, (unsigned)reaped, status);
|