Lines Matching defs:pem
122 struct linux_pemuldata *pem;
134 pem = pem_find(td->td_proc);
135 KASSERT(pem != NULL, ("%s: proc emuldata not found.\n", __func__));
137 LINUX_PEM_SLOCK(pem);
138 if ((pem->ptrace_flags & LINUX_PTRACE_O_TRACESYSGOOD) &&
141 if ((pem->ptrace_flags & LINUX_PTRACE_O_TRACESYSGOOD) &&
144 if ((pem->ptrace_flags & LINUX_PTRACE_O_TRACEEXIT) &&
147 LINUX_PEM_SUNLOCK(pem);
340 struct linux_pemuldata *pem;
352 pem = pem_find(td->td_proc);
353 KASSERT(pem != NULL, ("%s: proc emuldata not found.\n", __func__));
359 LINUX_PEM_XLOCK(pem);
361 pem->ptrace_flags |= LINUX_PTRACE_O_TRACESYSGOOD;
363 pem->ptrace_flags &= ~LINUX_PTRACE_O_TRACESYSGOOD;
365 LINUX_PEM_XUNLOCK(pem);
383 pem->ptrace_flags |= LINUX_PTRACE_O_TRACEEXIT;
385 pem->ptrace_flags &= ~LINUX_PTRACE_O_TRACEEXIT;