Home
last modified time | relevance | path

Searched refs:controller (Results 1 – 25 of 32) sorted by relevance

12

/xnu-11215/iokit/bsddev/
H A DDINetBootHook.cpp128 if (!controller) { in di_load_controller()
132 controller->retain(); in di_load_controller()
142 return controller; in di_load_controller()
191 if (!controller) { in di_root_image_ext()
273 if (controller) { in di_root_image_ext()
274 controller->release(); in di_root_image_ext()
299 IOService *controller = NULL; in di_root_ramfile_buf() local
315 if (controller) { in di_root_ramfile_buf()
318 controller->release(); in di_root_ramfile_buf()
422 if (controller) { in di_root_ramfile()
[all …]
/xnu-11215/tests/skywalk/
H A Dskt_manyflows.c84 undo_flows(handles.controller, handles.fsw_nx_uuid, sizeof(flows) / sizeof(flows[0]), flows); in skt_manyflows_common()
180 error = sktc_bind_tcp4_flow(handles.controller, handles.fsw_nx_uuid, in skt_mf1xall_common()
203 error = sktc_bind_tcp4_flow(handles.controller, handles.fsw_nx_uuid, in skt_mf1xall_common()
212 error = sktc_unbind_flow(handles.controller, handles.fsw_nx_uuid, flows[i]); in skt_mf1xall_common()
259 …do_flows(mchandles.controller, mchandles.fsw_nx_uuid, NEXUS_PORT_FLOW_SWITCH_CLIENT, 10, 10, mcflo… in skt_mc10x10_init()
268 …do_flows(mchandles.controller, mchandles.fsw_nx_uuid, NEXUS_PORT_FLOW_SWITCH_CLIENT, 10, 100, mcfl… in skt_mc10x100_init()
277 …do_flows(mchandles.controller, mchandles.fsw_nx_uuid, NEXUS_PORT_FLOW_SWITCH_CLIENT, 100, 10, mcfl… in skt_mc100x10_init()
286 …do_flows(mchandles.controller, mchandles.fsw_nx_uuid, NEXUS_PORT_FLOW_SWITCH_CLIENT, 100, 100, mcf… in skt_mc100x100_init()
293 undo_flows(mchandles.controller, mchandles.fsw_nx_uuid, 100, mcflows); in skt_mc100_fini()
301 undo_flows(mchandles.controller, mchandles.fsw_nx_uuid, 10 * 100, mcflows); in skt_mc1000_fini()
[all …]
H A Dskt_flowswitch_ns_reserve.c218 error = __os_nexus_flow_add(handles->controller, in skt_flowswitch_ns_bsd()
226 error = __os_nexus_flow_add(handles->controller, in skt_flowswitch_ns_bsd()
278 error = __os_nexus_flow_add(handles->controller, in skt_flowswitch_ns_sky()
904 error = __os_nexus_flow_add(handles.controller, in skt_flowswitch_ns_reserve_main()
917 error = __os_nexus_flow_add(handles.controller, in skt_flowswitch_ns_reserve_main()
931 error = __os_nexus_flow_add(handles.controller, in skt_flowswitch_ns_reserve_main()
945 error = __os_nexus_flow_add(handles.controller, in skt_flowswitch_ns_reserve_main()
998 error = __os_nexus_flow_add(handles.controller, in skt_flowswitch_ns_reserve_main()
1008 error = __os_nexus_flow_del(handles.controller, in skt_flowswitch_ns_reserve_main()
1019 error = __os_nexus_flow_del(handles.controller, in skt_flowswitch_ns_reserve_main()
[all …]
H A Dskt_fswbinds.c75 error = __os_nexus_flow_add(handles.controller, handles.fsw_nx_uuid, &nfr); in skt_fswbind_common()
107 error = __os_nexus_flow_add(handles.controller, handles.fsw_nx_uuid, &nfr); in skt_fswbind_common()
125 error = __os_nexus_flow_del(handles.controller, handles.fsw_nx_uuid, &nfr); in skt_fswbind_common()
132 error = __os_nexus_flow_del(handles.controller, handles.fsw_nx_uuid, &nfr); in skt_fswbind_common()
H A Dskt_restricted_port.c69 error = sktc_bind_tcp4_flow(handles.controller, handles.fsw_nx_uuid, in skt_reserve_restricted_port()
H A Dskywalk_test_utils.c600 handles->controller = os_nexus_controller_create(); in sktc_create_flowswitch_no_address()
601 if (handles->controller == NULL) { in sktc_create_flowswitch_no_address()
611 sktc_build_nexus(handles->controller, &attr, &handles->fsw_prov_uuid, in sktc_create_flowswitch_no_address()
622 sktc_build_nexus(handles->controller, &attr, in sktc_create_flowswitch_no_address()
624 error = __os_nexus_ifattach(handles->controller, in sktc_create_flowswitch_no_address()
636 error = __os_nexus_ifattach(handles->controller, handles->fsw_nx_uuid, in sktc_create_flowswitch_no_address()
685 assert(handles->controller); in sktc_cleanup_flowswitch()
689 error = os_nexus_controller_free_provider_instance(handles->controller, in sktc_cleanup_flowswitch()
693 error = os_nexus_controller_deregister_provider(handles->controller, in sktc_cleanup_flowswitch()
697 os_nexus_controller_destroy(handles->controller); in sktc_cleanup_flowswitch()
[all …]
H A Dskt_writemem.c228 error = sktc_bind_tcp4_flow(ms_fsw_handle.controller, in skt_ms_fsw_init()
H A Dskt_netifdirect.c156 error = __os_nexus_flow_add(handles->controller, in skt_add_netif_ipv6_flow()
172 handles->controller = os_nexus_controller_create(); in skt_setup_netif_with_ipv6_flow()
173 assert(handles->controller != NULL); in skt_setup_netif_with_ipv6_flow()
H A Dskt_xfer.c2507 err = __os_nexus_get_llink_info(handles->controller, in get_qset_id_from_llinks()
2568 error = os_nexus_controller_bind_provider_instance(handles->controller, in setup_flowswitch_and_flow()
2582 error = connect_flow(handles->controller, handles->fsw_nx_uuid, in setup_flowswitch_and_flow()
2630 handles->controller = os_nexus_controller_create(); in fetch_if_flowswitch_and_setup_flow()
2631 if (handles->controller == NULL) { in fetch_if_flowswitch_and_setup_flow()
2663 error = connect_child_flow(handles->controller, handles->fsw_nx_uuid, in fetch_if_flowswitch_and_setup_flow()
2668 error = connect_flow(handles->controller, handles->fsw_nx_uuid, in fetch_if_flowswitch_and_setup_flow()
3474 error = os_nexus_controller_bind_provider_instance(handles.controller, in skt_xfer_flowcleanup()
3482 error = connect_flow(handles.controller, handles.fsw_nx_uuid, in skt_xfer_flowcleanup()
3844 error = connect_flow(handles.controller, handles.fsw_nx_uuid, in skt_xfer_listener_tcp_rst()
[all …]
H A Dskt_mangle.c420 os_nexus_controller_bind_provider_instance(ctx.handles.controller, in skt_mangle_verify_internalize_metadata_main()
H A Dskt_listener.c104 error = __os_nexus_flow_del(handles.controller, handles.fsw_nx_uuid, in skt_listener_cleanup()
/xnu-11215/iokit/Kernel/
H A DPassthruInterruptController.cpp76 OSArray *controller = OSArray::withCapacity(1); in setCPUInterruptProperties() local
77 controller->setObject(gPlatformInterruptControllerName); in setCPUInterruptProperties()
78 service->setProperty(gIOInterruptControllersKey, controller); in setCPUInterruptProperties()
79 controller->release(); in setCPUInterruptProperties()
H A DIODeviceTreeSupport.cpp620 LIBKERN_RETURNS_RETAINED const OSSymbol ** controller ) in IODTMapOneInterrupt() argument
664 *controller = IODTInterruptControllerName( regEntry ); in IODTMapOneInterrupt()
665 ok = (*spec && *controller); in IODTMapOneInterrupt()
802 const OSSymbol * controller = NULL; in IODTMapInterruptsSharing() local
838 OSSafeReleaseNULL(controller); in IODTMapInterruptsSharing()
844 controller = gIODTDefaultInterruptController; in IODTMapInterruptsSharing()
845 controller->retain(); in IODTMapInterruptsSharing()
851 controllers->setObject( controller ); in IODTMapInterruptsSharing()
854 controllerInts = (OSArray *) allInts->getObject( controller ); in IODTMapInterruptsSharing()
877 allInts->setObject( controller, controllerInts ); in IODTMapInterruptsSharing()
[all …]
H A DIOCPU.cpp651 OSSharedPtr<OSArray> controller; in setCPUInterruptProperties() local
668 controller = OSArray::withCapacity(numSources); in setCPUInterruptProperties()
670 controller->setObject(gPlatformInterruptControllerName); in setCPUInterruptProperties()
674 service->setProperty(gIOInterruptControllersKey, controller.get()); in setCPUInterruptProperties()
H A DIOPlatformExpert.cpp470 IOInterruptController *controller; in setCPUInterruptProperties() local
475 controller = OSDynamicCast(IOInterruptController, waitForService(matching)); in setCPUInterruptProperties()
476 if (controller) { in setCPUInterruptProperties()
477 controller->setCPUInterruptProperties(service); in setCPUInterruptProperties()
H A DIONVRAMCHRPHandler.cpp115 virtual bool setController(IONVRAMController *controller) APPLE_KEXT_OVERRIDE;
863 IONVRAMCHRPHandler::setController(IONVRAMController *controller) in setController() argument
868 _nvramController = controller; in setController()
H A DIONVRAMV3Handler.cpp247 virtual bool setController(IONVRAMController *controller) APPLE_KEXT_OVERRIDE;
1002 IONVRAMV3Handler::setController(IONVRAMController *controller) in setController() argument
1007 _nvramController = controller; in setController()
/xnu-11215/bsd/sys/
H A Dreboot.h150 #define MAKEBOOTDEV(type, adaptor, controller, unit, partition) \ argument
152 ((controller) << B_CONTROLLERSHIFT) | ((unit) << B_UNITSHIFT) | \
/xnu-11215/bsd/net/
H A Dif_headless.c945 nexus_controller_t controller = kern_nexus_shared_controller(); in create_netif_provider_and_instance() local
977 err = kern_nexus_controller_register_provider(controller, in create_netif_provider_and_instance()
997 err = kern_nexus_controller_alloc_net_provider_instance(controller, in create_netif_provider_and_instance()
1007 kern_nexus_controller_deregister_provider(controller, in create_netif_provider_and_instance()
1043 nexus_controller_t controller = kern_nexus_shared_controller(); in detach_provider_and_instance() local
1047 err = kern_nexus_controller_free_provider_instance(controller, in detach_provider_and_instance()
1056 err = kern_nexus_controller_deregister_provider(controller, in detach_provider_and_instance()
H A Dif_utun.c883 nexus_controller_t controller = kern_nexus_shared_controller(); in utun_nexus_ifattach() local
947 err = kern_nexus_controller_register_provider(controller, in utun_nexus_ifattach()
978 kern_nexus_controller_deregister_provider(controller, in utun_nexus_ifattach()
998 nexus_controller_t controller = kern_nexus_shared_controller(); in utun_detach_provider_and_instance() local
1002 err = kern_nexus_controller_free_provider_instance(controller, in utun_detach_provider_and_instance()
1011 err = kern_nexus_controller_deregister_provider(controller, in utun_detach_provider_and_instance()
1025 nexus_controller_t controller = kern_nexus_shared_controller(); in utun_nexus_detach() local
1029 err = kern_nexus_ifdetach(controller, in utun_nexus_detach()
1099 err = kern_nexus_controller_register_provider(controller, in utun_create_fs_provider_and_instance()
1122 kern_nexus_controller_deregister_provider(controller, in utun_create_fs_provider_and_instance()
[all …]
H A Dif_ipsec.c1806 nexus_controller_t controller = kern_nexus_shared_controller(); in ipsec_nexus_ifattach() local
1892 err = kern_nexus_controller_register_provider(controller, in ipsec_nexus_ifattach()
1925 kern_nexus_controller_deregister_provider(controller, in ipsec_nexus_ifattach()
1945 nexus_controller_t controller = kern_nexus_shared_controller(); in ipsec_detach_provider_and_instance() local
1949 err = kern_nexus_controller_free_provider_instance(controller, in ipsec_detach_provider_and_instance()
1958 err = kern_nexus_controller_deregister_provider(controller, in ipsec_detach_provider_and_instance()
1972 nexus_controller_t controller = kern_nexus_shared_controller(); in ipsec_nexus_detach() local
1976 err = kern_nexus_ifdetach(controller, in ipsec_nexus_detach()
2048 err = kern_nexus_controller_register_provider(controller, in ipsec_create_fs_provider_and_instance()
2073 kern_nexus_controller_deregister_provider(controller, in ipsec_create_fs_provider_and_instance()
[all …]
H A Dif_redirect.c1033 nexus_controller_t controller = kern_nexus_shared_controller(); in create_netif_provider_and_instance() local
1065 err = kern_nexus_controller_register_provider(controller, in create_netif_provider_and_instance()
1085 err = kern_nexus_controller_alloc_net_provider_instance(controller, in create_netif_provider_and_instance()
1090 kern_nexus_controller_deregister_provider(controller, *provider); in create_netif_provider_and_instance()
1122 nexus_controller_t controller = kern_nexus_shared_controller(); in detach_provider_and_instance() local
1126 err = kern_nexus_controller_free_provider_instance(controller, in detach_provider_and_instance()
1134 err = kern_nexus_controller_deregister_provider(controller, in detach_provider_and_instance()
H A Dif_fake.c2625 nexus_controller_t controller = kern_nexus_shared_controller(); in create_netif_provider_and_instance() local
2669 err = kern_nexus_controller_register_provider(controller, in create_netif_provider_and_instance()
2689 err = kern_nexus_controller_alloc_net_provider_instance(controller, in create_netif_provider_and_instance()
2699 kern_nexus_controller_deregister_provider(controller, in create_netif_provider_and_instance()
3192 nexus_controller_t controller = kern_nexus_shared_controller(); in create_netif_llink_provider_and_instance() local
3227 err = kern_nexus_controller_register_provider(controller, in create_netif_llink_provider_and_instance()
3259 err = kern_nexus_controller_alloc_net_provider_instance(controller, in create_netif_llink_provider_and_instance()
3264 kern_nexus_controller_deregister_provider(controller, in create_netif_llink_provider_and_instance()
3350 nexus_controller_t controller = kern_nexus_shared_controller(); in detach_provider_and_instance() local
3354 err = kern_nexus_controller_free_provider_instance(controller, in detach_provider_and_instance()
[all …]
/xnu-11215/iokit/IOKit/
H A DIONVRAM.h123 virtual void registerNVRAMController(IONVRAMController *controller);
/xnu-11215/doc/scheduler/
H A Dsched_clutch_edge.md166 …one cluster to another. The Edge scheduler works closely with the performance controller to define
182 When the scheduler and performance controller for Skye (the first AMP platform) were being designed…
186 …rom the performance controller and **per-cluster runqueues** in the scheduler. The design aims to …
190controller to specify a cluster recommendation for each thread group. To allow finer grained threa…
194controller changes the preferred cluster for a sched\_clutch\_bucket\_group, the Edge scheduler al…
218 The performance controller can dynamically update the weights and properties of the edge matrix dyn…

12