Searched refs:utraps (Results 1 – 5 of 5) sorted by relevance
116 if (current_thread_info()->utraps) { \117 if (*(current_thread_info()->utraps) < 2) \118 kfree(current_thread_info()->utraps); \120 (*(current_thread_info()->utraps))--; \121 current_thread_info()->utraps = NULL; \160 if (current_thread_info()->utraps) { \161 if (*(current_thread_info()->utraps) < 2) \162 kfree(current_thread_info()->utraps); \164 (*(current_thread_info()->utraps))--; \165 current_thread_info()->utraps = NULL; \
53 unsigned long *utraps; member
557 if (!current_thread_info()->utraps) { in SYSCALL_DEFINE5()561 if (put_user((utrap_handler_t)(current_thread_info()->utraps[type]), old_p)) in SYSCALL_DEFINE5()571 if (!current_thread_info()->utraps) { in SYSCALL_DEFINE5()572 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 …]
424 if (t->utraps) { in exit_thread()425 if (t->utraps[0] < 2) in exit_thread()426 kfree (t->utraps); in exit_thread()428 t->utraps[0]--; in exit_thread()667 if (t->utraps) in copy_thread()668 t->utraps[0]++; in copy_thread()
2719 TI_UTRAPS != offsetof(struct thread_info, utraps) || in trap_init()