Searched refs:mach_port_allocate (Results 1 - 15 of 15) sorted by relevance

/xnu-2422.115.4/tools/tests/unit_tests/guarded_mach_port_tests_11178535_src/
H A Dguarded_test.c311 kret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &port);
404 kret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &port);
457 kret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &port);
470 kret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &port);
499 kret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &port);
H A Dguarded_test_framework.c165 if ((kr = mach_port_allocate(task, MACH_PORT_RIGHT_RECEIVE, &exc_port)) != KERN_SUCCESS) {
166 fprintf(stderr, "mach_port_allocate: %#x\n", kr);
172 fprintf(stderr, "mach_port_allocate: %#x\n", kr);
/xnu-2422.115.4/tools/tests/unit_tests/sprace_test_11891562_src/
H A Dsprace_test_11891562.c40 kr = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &notify);
42 mach_error("mach_port_allocate(notify)", kr);
172 kr = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &msg_port);
174 mach_error("mach_port_allocate(msg_port)", kr);
188 mach_error("mach_port_allocate(msg_port)", kr);
/xnu-2422.115.4/tools/tests/unit_tests/thread_get_state_11918811_src/
H A Dthread_get_state.c72 kret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE,
75 errx(1, "mach_port_allocate: %s (%d)", mach_error_string(kret), kret);
/xnu-2422.115.4/bsd/uxkern/
H A Dux_exception.c116 if (mach_port_allocate(get_task_ipcspace(ux_handler_self), MACH_PORT_RIGHT_PORT_SET, &exc_set_name) != MACH_MSG_SUCCESS)
123 if (mach_port_allocate(get_task_ipcspace(ux_handler_self), MACH_PORT_RIGHT_RECEIVE, &exc_port_name) != MACH_MSG_SUCCESS)
/xnu-2422.115.4/tools/tests/MPMMTest/
H A DMPMMtest.c229 ret = mach_port_allocate(mach_task_self(),
233 mach_error("mach_port_allocate(SET): ", ret);
240 ret = mach_port_allocate(mach_task_self(),
244 mach_error("mach_port_allocate(PORT): ", ret);
310 ret = mach_port_allocate(mach_task_self(),
314 mach_error("mach_port_allocate(): ", ret);
H A DKQMPMMtest.c223 ret = mach_port_allocate(mach_task_self(),
227 mach_error("mach_port_allocate(): ", ret);
231 ret = mach_port_allocate(mach_task_self(),
235 mach_error("mach_port_allocate(): ", ret);
295 ret = mach_port_allocate(mach_task_self(),
299 mach_error("mach_port_allocate(): ", ret);
/xnu-2422.115.4/osfmk/mach/
H A Dmach_port.defs142 routine mach_port_allocate(
/xnu-2422.115.4/tools/tests/libMicro/apple/
H A Dlb_mmtest.c372 ret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE,
375 mach_error("mach_port_allocate(): ", ret);
401 ret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE,
404 mach_error("mach_port_allocate(): ", ret);
/xnu-2422.115.4/tools/tests/xnu_quick_test/
H A Dkqueue_tests.c389 my_kr = mach_port_allocate( mach_task_self(), MACH_PORT_RIGHT_PORT_SET, &my_pset );
391 printf( "mach_port_allocate failed with error %d - %s \n", my_kr, mach_error_string(my_kr) );
395 my_kr = mach_port_allocate( mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &my_port );
397 printf( "mach_port_allocate failed with error %d - %s \n", my_kr, mach_error_string(my_kr) );
/xnu-2422.115.4/tools/tests/unit_tests/guarded_fd_tests_11746236_src/
H A Dguarded_test_framework.c185 if ((kr = mach_port_allocate(task, MACH_PORT_RIGHT_RECEIVE, &exc_port)) != KERN_SUCCESS) {
186 fprintf(stderr, "mach_port_allocate: %#x\n", kr);
192 fprintf(stderr, "mach_port_allocate: %#x\n", kr);
/xnu-2422.115.4/osfmk/ipc/
H A Dmach_kernelrpc.c131 rv = mach_port_allocate(task->itk_space, args->right, &name);
H A Dmach_port.c564 * Routine: mach_port_allocate [kernel call]
582 mach_port_allocate( function
/xnu-2422.115.4/tools/tests/unit_tests/cpu_monitor_tests_11646922_src/
H A Dcpumon_test_framework.c299 if ((kr = mach_port_allocate(task, MACH_PORT_RIGHT_RECEIVE, &exc_port)) != KERN_SUCCESS) {
300 fprintf(stderr, "mach_port_allocate: %s\n", mach_error_string(kr));
306 fprintf(stderr, "mach_port_allocate: %s\n", mach_error_string(kr));
/xnu-2422.115.4/libsyscall/mach/
H A Dmach_port.c90 mach_port_allocate( function

Completed in 159 milliseconds