Home
last modified time | relevance | path

Searched refs:state (Results 1 – 22 of 22) sorted by relevance

/sysdeps/mach/hurd/i386/
A Dtrampoline.c134 sizeof (state->basic)); in _hurd_setup_sighandler()
136 sizeof (state->fpu)); in _hurd_setup_sighandler()
147 state->basic.esp = state->basic.uesp; in _hurd_setup_sighandler()
166 state->basic.uesp = state->basic.ecx; in _hurd_setup_sighandler()
175 sigsp = (char *) state->basic.uesp; in _hurd_setup_sighandler()
218 &state->basic, sizeof (state->basic)); in _hurd_setup_sighandler()
224 sizeof (state->fpu)); in _hurd_setup_sighandler()
297 state->basic.uesp = state->basic.esp; /* Restore mach_msg syscall SP. */ in _hurd_setup_sighandler()
298 state->basic.ebx = (int) sigsp; in _hurd_setup_sighandler()
311 state->basic.edx = (int) handler; in _hurd_setup_sighandler()
[all …]
A Dintr-msg.h84 INTR_MSG_BACK_OUT (struct i386_thread_state *state) in INTR_MSG_BACK_OUT() argument
87 if (state->eip >= (natural_t) &_hurd_intr_rpc_msg_cx_sp) in INTR_MSG_BACK_OUT()
88 state->uesp = state->ecx; in INTR_MSG_BACK_OUT()
90 state->ecx = state->uesp; in INTR_MSG_BACK_OUT()
96 #define SYSCALL_EXAMINE(state, callno) \ argument
98 struct { unsigned int c[2]; } *p = (void *) ((state)->eip - 7); \
105 *(callno) = (state)->eax; \
126 #define MSG_EXAMINE(state, msgid, rcvname, send_name, opt, tmout) \ argument
128 const struct mach_msg_trap_args *args = (const void *) (state)->uesp; \
A Dlongjmp-ts.c28 _hurd_longjmp_thread_state (void *state, jmp_buf env, int val) in _hurd_longjmp_thread_state() argument
30 struct i386_thread_state *ts = state; in _hurd_longjmp_thread_state()
A Dtls.h318 _hurd_tls_fork (thread_t child, thread_t orig, struct i386_thread_state *state) in _hurd_tls_fork() argument
323 if (sel == state->ds) /* _hurd_tls_init was never called. */ in _hurd_tls_fork()
344 state->gs = sel; in _hurd_tls_fork()
349 _hurd_tls_new (thread_t child, struct i386_thread_state *state, tcbhead_t *tcb) in _hurd_tls_new() argument
354 if (sel == state->ds) /* _hurd_tls_init was never called. */ in _hurd_tls_new()
368 state->gs = sel; in _hurd_tls_new()
/sysdeps/mach/hurd/i386/htl/
A Dpt-machdep.c47 struct i386_thread_state state; in __thread_set_pcsptp() local
53 (thread_state_t) &state, &state_count); in __thread_set_pcsptp()
58 state.uesp = (unsigned int) sp; in __thread_set_pcsptp()
60 state.eip = (unsigned int) ip; in __thread_set_pcsptp()
73 state.gs = sel; in __thread_set_pcsptp()
77 (thread_state_t) &state, i386_THREAD_STATE_COUNT); in __thread_set_pcsptp()
/sysdeps/mach/
A Dthread_state.h54 machine_get_state (thread_t thread, struct machine_thread_all_state *state, in machine_get_state() argument
57 if (state->set & (1 << flavor)) in machine_get_state()
75 struct machine_thread_all_state *state) in machine_get_basic_state() argument
79 if (state->set & (1 << MACHINE_THREAD_STATE_FLAVOR)) in machine_get_basic_state()
84 (natural_t *) &state->basic, in machine_get_basic_state()
90 state->set |= 1 << MACHINE_THREAD_STATE_FLAVOR; in machine_get_basic_state()
/sysdeps/ieee754/ldbl-128ibm-compat/
A Dieee128-argp-help.c23 ___ieee128_argp_error (const struct argp_state *state, const char *fmt, ...) in ___ieee128_argp_error() argument
27 __argp_error_internal (state, fmt, ap, PRINTF_LDBL_USES_FLOAT128); in ___ieee128_argp_error()
33 ___ieee128_argp_failure (const struct argp_state *state, int status, in strong_alias()
38 __argp_failure_internal (state, status, errnum, fmt, ap, in strong_alias()
/sysdeps/arm/
A Dunwind-resume.h23 (_Unwind_State state, \
27 (state, ue_header, context)
/sysdeps/pthread/
A Dtst-robust8.c51 uint8_t state[N]; in tf() local
52 memset (state, '\0', sizeof (state)); in tf()
57 if (state[r] == 0) in tf()
71 state[r] = 1; in tf()
98 state[r] = 1; in tf()
110 state[r] = 0; in tf()
A Dsem_open.c58 int state; in __sem_open() local
60 (PTHREAD_CANCEL_DISABLE, &state), 0); in __sem_open()
215 __libc_ptf_call (__pthread_setcancelstate, (state, NULL), 0); in __sem_open()
/sysdeps/mach/hurd/
A D_Fork.c82 struct machine_thread_state state; in _Fork() local
482 (natural_t *) &state, &statecount)) in _Fork()
487 state.SP &= __hurd_threadvar_stack_mask; in _Fork()
488 state.SP += __hurd_threadvar_stack_offset; in _Fork()
491 state.SP = __hurd_sigthread_stack_base; in _Fork()
499 state.SP &= __hurd_threadvar_stack_mask; in _Fork()
500 state.SP += __hurd_threadvar_stack_offset; in _Fork()
503 state.SP = __hurd_sigthread_stack_end; in _Fork()
505 MACHINE_THREAD_STATE_SET_PC (&state, in _Fork()
513 (natural_t *) &state, statecount)) in _Fork()
[all …]
A Dptrace.c123 struct machine_thread_state state; in ptrace() local
127 (natural_t *) &state, &count); in ptrace()
130 MACHINE_THREAD_STATE_SET_PC (&state, addr); in ptrace()
133 (natural_t *) &state, count); in ptrace()
/sysdeps/posix/
A Dsystem.c84 int state; in cancel_handler() local
85 __pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &state); in cancel_handler()
87 __pthread_setcancelstate (state, NULL); in cancel_handler()
/sysdeps/s390/
A Dutf8-utf32-z9.c229 state->__count = inend - *inptrp; \
278 state->__count |= cnt << 8; \
281 state->__value.__wch = ch; \
287 wint_t wch = state->__value.__wch; \
288 size_t ntotal = state->__count >> 8; \
290 inlen = state->__count & 255; \
306 state->__count = 0
/sysdeps/unix/sysv/linux/
A Dspawni.c346 int state; in __spawnix() local
347 __pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &state); in __spawnix()
411 __pthread_setcancelstate (state, NULL); in __spawnix()
/sysdeps/i386/sys/
A Ducontext.h101 int __ctx(state)[27]; in __ctxt() local
/sysdeps/unix/sysv/linux/netax25/
A Dax25.h119 unsigned int state; member
/sysdeps/htl/
A DpthreadP.h81 int __pthread_setcancelstate (int state, int *oldstate);
/sysdeps/nptl/
A Dlibc-lockP.h231 extern int __pthread_setcancelstate (int state, int *oldstate);
/sysdeps/ieee754/ldbl-opt/
A Dnldbl-compat.c996 __nldbl_argp_error (const struct argp_state *state, const char *fmt, ...) in __nldbl_argp_error() argument
1000 __argp_error_internal (state, fmt, ap, PRINTF_LDBL_IS_DBL); in __nldbl_argp_error()
1005 __nldbl_argp_failure (const struct argp_state *state, int status, in __nldbl_argp_failure() argument
1010 __argp_failure_internal (state, status, errnum, fmt, ap, in __nldbl_argp_failure()
/sysdeps/mips/
A Dtst-abi-interlink.c171 compute_fp_modes (enum fp_state state) in compute_fp_modes() argument
179 switch (state) in compute_fp_modes()
/sysdeps/x86_64/
A Ddl-trampoline.h85 # Allocate stack space of the required size to save the state.

Completed in 23 milliseconds