Lines Matching refs:sh
76 static volatile struct shared *sh;
80 unsigned int level = sh ? sh->indent : 0;
95 sh->nerr++; \
100 sh->indent = 0; \
133 sh->probing_syscall = true;
140 sh->probing_syscall = false;
175 sh->indent++;
177 sh->indent++;
191 sh->indent--;
203 sh->indent--;
234 sh->indent++;
245 sh->indent--;
251 enum ptrace_pass pass = sh->ptrace_pass;
310 sh->indent++;
321 sh->indent++;
329 sh->indent--;
332 sh->indent--;
345 for (sh->ptrace_pass = pass = PTP_NOTHING; pass < PTP_DONE;
346 sh->ptrace_pass = ++pass) {
356 sh->probing_syscall = false; /* Do this on entry only */
409 if (sh->probing_syscall && WSTOPSIG(wstatus) == SIGTRAP)
410 mess_with_syscall(testpid, sh->ptrace_pass);
411 } while (sh->ptrace_pass != PTP_DONE &&
459 sh = mmap(NULL, sysconf(_SC_PAGE_SIZE), PROT_READ|PROT_WRITE,
461 if (sh == MAP_FAILED) {
473 nerr = sh->nerr;