Searched refs:tsr (Results 1 - 3 of 3) sorted by relevance

/freebsd-current/contrib/netbsd-tests/lib/libc/sys/
H A Dt_nanosleep.c143 struct timespec tsn, tsr; local
163 tsr.tv_sec = 0;
164 tsr.tv_nsec = 0;
168 if (nanosleep(&tsn, &tsr) != -1)
174 if (tsr.tv_sec == 0 && tsr.tv_nsec == 0)
/freebsd-current/sys/kern/
H A Dsys_process.c859 struct thr_syscall_req *tsr; local
1641 tsr = malloc(sizeof(struct thr_syscall_req), M_TEMP,
1644 tsr->ts_sa.code = pscr->pscr_syscall;
1645 tsr->ts_nargs = pscr->pscr_nargs;
1646 memcpy(&tsr->ts_sa.args, pscr->pscr_args,
1647 sizeof(syscallarg_t) * tsr->ts_nargs);
1652 free(tsr, M_TEMP);
1656 free(tsr, M_TEMP);
1664 td2->td_remotereq = tsr;
1670 memcpy(&pscr->pscr_ret, &tsr
[all...]
H A Dkern_sig.c2665 struct thr_syscall_req *tsr)
2675 if (sv->sv_table == NULL || sv->sv_size < tsr->ts_sa.code) {
2676 tsr->ts_ret.sr_error = ENOSYS;
2680 sc = tsr->ts_sa.code;
2682 sc = tsr->ts_sa.args[0];
2683 memmove(&tsr->ts_sa.args[0], &tsr->ts_sa.args[1],
2684 sizeof(register_t) * (tsr->ts_nargs - 1));
2687 tsr->ts_sa.callp = se = &sv->sv_table[sc];
2695 td->td_sa = tsr
2664 ptrace_syscallreq(struct thread *td, struct proc *p, struct thr_syscall_req *tsr) argument
[all...]

Completed in 151 milliseconds