Home
last modified time | relevance | path

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

/Linux-v5.15/arch/sparc/include/asm/
Dprocessor_64.h105 if (current_thread_info()->utraps) { \
106 if (*(current_thread_info()->utraps) < 2) \
107 kfree(current_thread_info()->utraps); \
109 (*(current_thread_info()->utraps))--; \
110 current_thread_info()->utraps = NULL; \
149 if (current_thread_info()->utraps) { \
150 if (*(current_thread_info()->utraps) < 2) \
151 kfree(current_thread_info()->utraps); \
153 (*(current_thread_info()->utraps))--; \
154 current_thread_info()->utraps = NULL; \
Dthread_info_64.h52 unsigned long *utraps; member
/Linux-v5.15/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.c411 if (t->utraps) { in exit_thread()
412 if (t->utraps[0] < 2) in exit_thread()
413 kfree (t->utraps); in exit_thread()
415 t->utraps[0]--; in exit_thread()
625 if (t->utraps) in copy_thread()
626 t->utraps[0]++; in copy_thread()
Dtraps_64.c2852 TI_UTRAPS != offsetof(struct thread_info, utraps) || in trap_init()