Home
last modified time | relevance | path

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

/Linux-v4.19/arch/sparc/include/asm/
Dprocessor_64.h111 if (current_thread_info()->utraps) { \
112 if (*(current_thread_info()->utraps) < 2) \
113 kfree(current_thread_info()->utraps); \
115 (*(current_thread_info()->utraps))--; \
116 current_thread_info()->utraps = NULL; \
155 if (current_thread_info()->utraps) { \
156 if (*(current_thread_info()->utraps) < 2) \
157 kfree(current_thread_info()->utraps); \
159 (*(current_thread_info()->utraps))--; \
160 current_thread_info()->utraps = NULL; \
Dthread_info_64.h52 unsigned long *utraps; member
/Linux-v4.19/arch/sparc/kernel/
Dsys_sparc_64.c556 if (!current_thread_info()->utraps) { in SYSCALL_DEFINE5()
560 if (put_user((utrap_handler_t)(current_thread_info()->utraps[type]), old_p)) in SYSCALL_DEFINE5()
570 if (!current_thread_info()->utraps) { in SYSCALL_DEFINE5()
571 current_thread_info()->utraps = in SYSCALL_DEFINE5()
574 if (!current_thread_info()->utraps) in SYSCALL_DEFINE5()
576 current_thread_info()->utraps[0] = 1; in SYSCALL_DEFINE5()
578 if ((utrap_handler_t)current_thread_info()->utraps[type] != new_p && in SYSCALL_DEFINE5()
579 current_thread_info()->utraps[0] > 1) { in SYSCALL_DEFINE5()
580 unsigned long *p = current_thread_info()->utraps; in SYSCALL_DEFINE5()
582 current_thread_info()->utraps = in SYSCALL_DEFINE5()
[all …]
Dprocess_64.c414 if (t->utraps) { in exit_thread()
415 if (t->utraps[0] < 2) in exit_thread()
416 kfree (t->utraps); in exit_thread()
418 t->utraps[0]--; in exit_thread()
650 if (t->utraps) in copy_thread()
651 t->utraps[0]++; in copy_thread()
Dtraps_64.c2860 TI_UTRAPS != offsetof(struct thread_info, utraps) || in trap_init()