Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/Darwin/
H A DNativeProcessDarwin.cpp201 ::ptrace(PT_KILL, m_pid, 0, 0); in FinalizeLaunch()
218 __FUNCTION__, m_pid); in FinalizeLaunch()
233 __FUNCTION__, m_pid); in FinalizeLaunch()
242 kill(SIGKILL, static_cast<::pid_t>(m_pid)); in FinalizeLaunch()
686 if (m_cpu_type == 0 && m_pid != 0) in GetCPUType()
713 if (m_pid != 0) { in ExceptionMessageBundleComplete()
957 if (m_pid == LLDB_INVALID_PROCESS_ID) { in DoWaitpidThread()
985 __FUNCTION__, m_pid); in DoWaitpidThread()
1008 __FUNCTION__, m_pid); in DoWaitpidThread()
1030 __FUNCTION__, m_pid); in DoWaitpidThread()
[all …]
H A DDarwinProcessLauncher.cpp553 return m_pid; // A successful SBLaunchForDebug() returns and assigns a in LaunchInferior()
570 return m_pid; // A successful SBLaunchForDebug() returns and assigns a in LaunchInferior()
597 return m_pid; // A successful SBLaunchForDebug() returns and assigns a in LaunchInferior()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/
H A DProcessInfo.h65 lldb::pid_t GetProcessID() const { return m_pid; } in GetProcessID()
67 void SetProcessID(lldb::pid_t pid) { m_pid = pid; } in SetProcessID()
69 bool ProcessIDIsValid() const { return m_pid != LLDB_INVALID_PROCESS_ID; } in ProcessIDIsValid()
98 lldb::pid_t m_pid; variable
/freebsd-12.1/contrib/llvm/tools/lldb/source/Target/
H A DProcessInfo.cpp24 m_gid(UINT32_MAX), m_arch(), m_pid(LLDB_INVALID_PROCESS_ID) {} in ProcessInfo()
29 m_gid(UINT32_MAX), m_arch(arch), m_pid(pid) {} in ProcessInfo()
38 m_pid = LLDB_INVALID_PROCESS_ID; in Clear()
H A DProcess.cpp283 if (m_pid != LLDB_INVALID_PROCESS_ID) in Dump()
284 s.Printf(" pid = %" PRIu64 "\n", m_pid); in Dump()
355 if (m_pid != LLDB_INVALID_PROCESS_ID) { in DumpAsTableRow()
357 s.Printf("%-6" PRIu64 " %-6" PRIu64 " ", m_pid, m_parent_pid); in DumpAsTableRow()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/
H A DProcessMonitor.h62 lldb::pid_t GetPID() const { return m_pid; } in GetPID()
189 lldb::pid_t m_pid; variable
248 lldb::pid_t m_pid; // pid of the process to be attached. member
H A DProcessMonitor.cpp708 : OperationArgs(monitor), m_pid(pid) {} in AttachArgs()
732 m_pid(LLDB_INVALID_PROCESS_ID), m_terminal_fd(-1), m_operation(0) { in ProcessMonitor()
771 : m_process(static_cast<ProcessFreeBSD *>(process)), m_pid(pid), in ProcessMonitor()
962 monitor->m_pid = pid; in Launch()
997 lldb::pid_t pid = args->m_pid; in Attach()
1030 tdcnt = PTRACE(PT_GETNUMLWPS, m_pid, NULL, 0); in GetCurrentThreadIDs()
1036 if (PTRACE(PT_GETLWPLIST, m_pid, (void *)tids, tdcnt) < 0) { in GetCurrentThreadIDs()
/freebsd-12.1/contrib/atf/atf-c/detail/
H A Dprocess.c250 c->m_pid = 0; in atf_process_child_init()
273 if (waitpid(c->m_pid, &status, 0) == -1) in atf_process_child_wait()
275 c->m_pid); in atf_process_child_wait()
287 return c->m_pid; in atf_process_child_pid()
401 c->m_pid = pid; in do_parent()
H A Dprocess.h96 pid_t m_pid; member
/freebsd-12.1/crypto/openssh/
H A Dsshd.c369 kill(pmonitor->m_pid, SIGALRM); in grace_alarm_handler()
608 pmonitor->m_pid = pid; in privsep_preauth()
625 pmonitor->m_pid = -1; in privsep_preauth()
629 pmonitor->m_pid = -1; in privsep_preauth()
673 pmonitor->m_pid = fork();
674 if (pmonitor->m_pid == -1)
676 else if (pmonitor->m_pid != 0) {
2418 pmonitor != NULL && pmonitor->m_pid > 1) {
2419 debug("Killing privsep child %d", pmonitor->m_pid);
2420 if (kill(pmonitor->m_pid, SIGKILL) != 0 &&
[all …]
H A Dmonitor.h75 pid_t m_pid; member
H A Dmonitor.c396 monitor_set_child_handler(pmonitor->m_pid); in monitor_child_postauth()
1520 s->pid = pmonitor->m_pid; in mm_answer_pty()
1610 while (waitpid(pmonitor->m_pid, &status, 0) == -1) in mm_answer_term()
H A Dmonitor_wrap.c118 return (pmonitor && pmonitor->m_pid > 0); in mm_is_monitor()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Host/common/
H A DNativeProcessProtocol.h139 lldb::pid_t GetID() const { return m_pid; } in GetID()
408 lldb::pid_t m_pid; variable
/freebsd-12.1/tests/sys/fs/fusefs/
H A Dmockfs.hh278 pid_t m_pid; member in MockFS
H A Dmockfs.cc402 m_pid = getpid(); in MockFS()
773 if (pid == m_pid) { in pid_ok()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.cpp662 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach()
669 if ((wstatus = waitpid(m_pid, NULL, WALLSIG)) < 0) in Attach()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/common/
H A DNativeProcessProtocol.cpp29 : m_pid(pid), m_terminal_fd(terminal_fd) { in NativeProcessProtocol()