Home
last modified time | relevance | path

Searched refs:m_pid (Results 1 – 17 of 17) sorted by relevance

/freebsd-13.1/contrib/llvm-project/lldb/source/Utility/
H A DProcessInfo.cpp30 m_gid(UINT32_MAX), m_arch(arch), m_pid(pid) {} in ProcessInfo()
39 m_pid = LLDB_INVALID_PROCESS_ID; in Clear()
114 if (m_pid != LLDB_INVALID_PROCESS_ID) in Dump()
115 s.Printf(" pid = %" PRIu64 "\n", m_pid); in Dump()
188 if (m_pid != LLDB_INVALID_PROCESS_ID) { in DumpAsTableRow()
189 s.Printf("%-6" PRIu64 " %-6" PRIu64 " ", m_pid, m_parent_pid); in DumpAsTableRow()
344 io.mapRequired("pid", Info.m_pid); in mapping()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/
H A DProcessInfo.h67 lldb::pid_t GetProcessID() const { return m_pid; } in GetProcessID()
69 void SetProcessID(lldb::pid_t pid) { m_pid = pid; } in SetProcessID()
71 bool ProcessIDIsValid() const { return m_pid != LLDB_INVALID_PROCESS_ID; } in ProcessIDIsValid()
101 lldb::pid_t m_pid = LLDB_INVALID_PROCESS_ID; variable
/freebsd-13.1/contrib/atf/atf-c/detail/
H A Dprocess.c251 c->m_pid = 0; in atf_process_child_init()
274 if (waitpid(c->m_pid, &status, 0) == -1) in atf_process_child_wait()
276 c->m_pid); in atf_process_child_wait()
288 return c->m_pid; in atf_process_child_pid()
402 c->m_pid = pid; in do_parent()
H A Dprocess.h96 pid_t m_pid; member
/freebsd-13.1/crypto/openssh/
H A Dsshd.c377 kill(pmonitor->m_pid, SIGALRM); in grace_alarm_handler()
517 pmonitor->m_pid = pid; in privsep_preauth()
533 pmonitor->m_pid = -1; in privsep_preauth()
537 pmonitor->m_pid = -1; in privsep_preauth()
581 pmonitor->m_pid = fork();
582 if (pmonitor->m_pid == -1)
584 else if (pmonitor->m_pid != 0) {
2513 pmonitor != NULL && pmonitor->m_pid > 1) {
2514 debug("Killing privsep child %d", pmonitor->m_pid);
2515 if (kill(pmonitor->m_pid, SIGKILL) != 0 &&
[all …]
H A Dmonitor.h76 pid_t m_pid; member
H A Dmonitor.c390 monitor_set_child_handler(pmonitor->m_pid); in monitor_child_postauth()
1546 s->pid = pmonitor->m_pid; in mm_answer_pty()
1635 while (waitpid(pmonitor->m_pid, &status, 0) == -1) in mm_answer_term()
H A Dmonitor_wrap.c119 return (pmonitor && pmonitor->m_pid > 0); in mm_is_monitor()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Host/common/
H A DNativeProcessProtocol.h172 lldb::pid_t GetID() const { return m_pid; } in GetID()
380 lldb::pid_t m_pid; variable
411 void SetID(lldb::pid_t pid) { m_pid = pid; } in SetID()
/freebsd-13.1/contrib/blacklist/diff/
H A Dssh.diff129 if (use_privsep && pmonitor != NULL && pmonitor->m_pid > 0)
130 kill(pmonitor->m_pid, SIGALRM);
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp547 return PtraceWrapper(PT_KILL, m_pid); in Kill()
616 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_VMMAP, static_cast<int>(m_pid)}; in PopulateMemoryRegionCache()
813 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach()
820 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, 0)) < in Attach()
/freebsd-13.1/tests/sys/fs/fusefs/
H A Dmockfs.hh299 pid_t m_pid; member in MockFS
H A Dmockfs.cc458 m_pid = getpid(); in MockFS()
855 if (pid == m_pid) { in pid_ok()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/scripted/
H A DScriptedProcess.cpp185 m_pid = GetInterface().GetProcessID(); in DidLaunch()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Target/
H A DProcess.h542 lldb::pid_t GetID() const { return m_pid; } in GetID()
546 void SetID(lldb::pid_t new_pid) { m_pid = new_pid; } in SetID()
2849 lldb::pid_t m_pid = LLDB_INVALID_PROCESS_ID; variable
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.cpp853 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach()
860 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, in Attach()
/freebsd-13.1/contrib/llvm-project/lldb/source/Host/common/
H A DNativeProcessProtocol.cpp28 : m_pid(pid), m_delegate(delegate), m_terminal_fd(terminal_fd) { in NativeProcessProtocol()