Lines Matching refs:exc_actions

161 			task->exc_actions[i].port = IP_NULL;
188 task->exc_actions[i].port =
189 ipc_port_copy_send(parent->exc_actions[i].port);
190 task->exc_actions[i].flavor =
191 parent->exc_actions[i].flavor;
192 task->exc_actions[i].behavior =
193 parent->exc_actions[i].behavior;
194 task->exc_actions[i].privileged =
195 parent->exc_actions[i].privileged;
327 if (IP_VALID(task->exc_actions[i].port)) {
328 ipc_port_release_send(task->exc_actions[i].port);
403 if (!task->exc_actions[i].privileged) {
404 old_exc_actions[i] = task->exc_actions[i].port;
405 task->exc_actions[i].port = IP_NULL;
448 thread->exc_actions = NULL;
465 assert(thread->exc_actions == NULL);
467 thread->exc_actions = kalloc(sizeof(struct exception_action) * EXC_TYPES_COUNT);
468 bzero(thread->exc_actions, sizeof(struct exception_action) * EXC_TYPES_COUNT);
475 if (thread->exc_actions != NULL) {
476 kfree(thread->exc_actions,
478 thread->exc_actions = NULL;
514 if (thread->exc_actions != NULL) {
516 if (IP_VALID(thread->exc_actions[i].port))
517 ipc_port_release_send(thread->exc_actions[i].port);
584 if (thread->exc_actions != NULL) {
587 if (thread->exc_actions[i].privileged) {
590 old_exc_actions[i] = thread->exc_actions[i].port;
591 thread->exc_actions[i].port = IP_NULL;
1658 if (thread->exc_actions == NULL) {
1663 old_port[i] = thread->exc_actions[i].port;
1664 thread->exc_actions[i].port = ipc_port_copy_send(new_port);
1665 thread->exc_actions[i].behavior = new_behavior;
1666 thread->exc_actions[i].flavor = new_flavor;
1667 thread->exc_actions[i].privileged = privileged;
1726 old_port[i] = task->exc_actions[i].port;
1727 task->exc_actions[i].port =
1729 task->exc_actions[i].behavior = new_behavior;
1730 task->exc_actions[i].flavor = new_flavor;
1731 task->exc_actions[i].privileged = privileged;
1820 if (thread->exc_actions == NULL) {
1832 if ( thread->exc_actions[i].port == ports[j] &&
1833 thread->exc_actions[i].behavior == behaviors[j] &&
1834 thread->exc_actions[i].flavor == flavors[j] ) {
1842 ports[j] = ipc_port_copy_send(thread->exc_actions[i].port);
1844 behaviors[j] = thread->exc_actions[i].behavior;
1845 flavors[j] = thread->exc_actions[i].flavor;
1849 old_port[i] = thread->exc_actions[i].port;
1850 thread->exc_actions[i].port = ipc_port_copy_send(new_port);
1851 thread->exc_actions[i].behavior = new_behavior;
1852 thread->exc_actions[i].flavor = new_flavor;
1853 thread->exc_actions[i].privileged = privileged;
1926 if ( task->exc_actions[i].port == ports[j] &&
1927 task->exc_actions[i].behavior == behaviors[j] &&
1928 task->exc_actions[i].flavor == flavors[j] ) {
1936 ports[j] = ipc_port_copy_send(task->exc_actions[i].port);
1937 behaviors[j] = task->exc_actions[i].behavior;
1938 flavors[j] = task->exc_actions[i].flavor;
1942 old_port[i] = task->exc_actions[i].port;
1944 task->exc_actions[i].port = ipc_port_copy_send(new_port);
1945 task->exc_actions[i].behavior = new_behavior;
1946 task->exc_actions[i].flavor = new_flavor;
1947 task->exc_actions[i].privileged = privileged;
2015 if (thread->exc_actions == NULL) {
2026 if ( thread->exc_actions[i].port == ports[j] &&
2027 thread->exc_actions[i].behavior ==behaviors[j] &&
2028 thread->exc_actions[i].flavor == flavors[j] ) {
2036 ports[j] = ipc_port_copy_send(thread->exc_actions[i].port);
2037 behaviors[j] = thread->exc_actions[i].behavior;
2038 flavors[j] = thread->exc_actions[i].flavor;
2089 if ( task->exc_actions[i].port == ports[j] &&
2090 task->exc_actions[i].behavior == behaviors[j] &&
2091 task->exc_actions[i].flavor == flavors[j] ) {
2099 ports[j] = ipc_port_copy_send(task->exc_actions[i].port);
2100 behaviors[j] = task->exc_actions[i].behavior;
2101 flavors[j] = task->exc_actions[i].flavor;