Searched refs:utraps (Results 1 – 3 of 3) sorted by relevance
82 unsigned long *utraps; member201 if (current->thread.utraps) { \202 if (*(current->thread.utraps) < 2) \203 kfree (current->thread.utraps); \205 (*(current->thread.utraps))--; \206 current->thread.utraps = NULL; \241 if (current->thread.utraps) { \242 if (*(current->thread.utraps) < 2) \243 kfree (current->thread.utraps); \245 (*(current->thread.utraps))--; \[all …]
505 if (!current->thread.utraps) { in sys_utrap_install()509 if (put_user((utrap_handler_t)(current->thread.utraps[type]), old_p)) in sys_utrap_install()519 if (!current->thread.utraps) { in sys_utrap_install()520 current->thread.utraps = in sys_utrap_install()522 if (!current->thread.utraps) return -ENOMEM; in sys_utrap_install()523 current->thread.utraps[0] = 1; in sys_utrap_install()524 memset(current->thread.utraps+1, 0, UT_TRAP_INSTRUCTION_31*sizeof(long)); in sys_utrap_install()526 if ((utrap_handler_t)current->thread.utraps[type] != new_p && in sys_utrap_install()527 current->thread.utraps[0] > 1) { in sys_utrap_install()528 long *p = current->thread.utraps; in sys_utrap_install()[all …]
420 if (t->utraps) { in exit_thread()421 if (t->utraps[0] < 2) in exit_thread()422 kfree (t->utraps); in exit_thread()424 t->utraps[0]--; in exit_thread()655 if (t->utraps) in copy_thread()656 t->utraps[0]++; in copy_thread()