Lines Matching refs:sh
77 static volatile struct shared *sh;
81 unsigned int level = sh ? sh->indent : 0;
96 sh->nerr++; \
101 sh->indent = 0; \
134 sh->probing_syscall = true;
141 sh->probing_syscall = false;
176 sh->indent++;
178 sh->indent++;
192 sh->indent--;
204 sh->indent--;
235 sh->indent++;
246 sh->indent--;
252 enum ptrace_pass pass = sh->ptrace_pass;
311 sh->indent++;
322 sh->indent++;
330 sh->indent--;
333 sh->indent--;
346 for (sh->ptrace_pass = pass = PTP_NOTHING; pass < PTP_DONE;
347 sh->ptrace_pass = ++pass) {
357 sh->probing_syscall = false; /* Do this on entry only */
410 if (sh->probing_syscall && WSTOPSIG(wstatus) == SIGTRAP)
411 mess_with_syscall(testpid, sh->ptrace_pass);
412 } while (sh->ptrace_pass != PTP_DONE &&
460 sh = mmap(NULL, sysconf(_SC_PAGE_SIZE), PROT_READ|PROT_WRITE,
462 if (sh == MAP_FAILED) {
474 nerr = sh->nerr;