Home
last modified time | relevance | path

Searched refs:utraps (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/arch/sparc/include/asm/
Dprocessor_64.h101 if (current_thread_info()->utraps) { \
102 if (*(current_thread_info()->utraps) < 2) \
103 kfree(current_thread_info()->utraps); \
105 (*(current_thread_info()->utraps))--; \
106 current_thread_info()->utraps = NULL; \
145 if (current_thread_info()->utraps) { \
146 if (*(current_thread_info()->utraps) < 2) \
147 kfree(current_thread_info()->utraps); \
149 (*(current_thread_info()->utraps))--; \
150 current_thread_info()->utraps = NULL; \
Dthread_info_64.h52 unsigned long *utraps; member
/linux-6.1.9/arch/sparc/kernel/
Dsys_sparc_64.c617 if (!current_thread_info()->utraps) { in SYSCALL_DEFINE5()
621 if (put_user((utrap_handler_t)(current_thread_info()->utraps[type]), old_p)) in SYSCALL_DEFINE5()
631 if (!current_thread_info()->utraps) { in SYSCALL_DEFINE5()
632 current_thread_info()->utraps = in SYSCALL_DEFINE5()
635 if (!current_thread_info()->utraps) in SYSCALL_DEFINE5()
637 current_thread_info()->utraps[0] = 1; in SYSCALL_DEFINE5()
639 if ((utrap_handler_t)current_thread_info()->utraps[type] != new_p && in SYSCALL_DEFINE5()
640 current_thread_info()->utraps[0] > 1) { in SYSCALL_DEFINE5()
641 unsigned long *p = current_thread_info()->utraps; in SYSCALL_DEFINE5()
643 current_thread_info()->utraps = in SYSCALL_DEFINE5()
[all …]
Dprocess_64.c401 if (t->utraps) { in exit_thread()
402 if (t->utraps[0] < 2) in exit_thread()
403 kfree (t->utraps); in exit_thread()
405 t->utraps[0]--; in exit_thread()
615 if (t->utraps) in copy_thread()
616 t->utraps[0]++; in copy_thread()
Dtraps_64.c2850 TI_UTRAPS != offsetof(struct thread_info, utraps) || in trap_init()