Home
last modified time | relevance | path

Searched refs:client (Results 1 – 25 of 42) sorted by relevance

12

/xnu-11215/bsd/net/
H A Dremote_vif.c168 rvi_ifinit.softc = client; in rvi_create_if()
199 if (client == NULL) { in rvi_destroy_if()
219 client = ifnet_softc(ifp); in rvi_detach()
220 LIST_REMOVE(client, _cle); in rvi_detach()
257 client->_vif = ph; in rvi_insert_client()
275 if (client == NULL) { in rvi_remove_client()
323 *unitinfo = client; in rvi_ctl_connect()
407 client, &pktap_hdr); in rvi_ctl_send()
474 if (client == NULL) { in rvi_set_bpf_tap()
482 client->_raw_count--; in rvi_set_bpf_tap()
[all …]
H A Dnecp_client.c990 client = flow->client; in necp_find_client_and_lock()
1034 client = flow->client; in necp_client_fd_find_client_unlocked()
3462 new_registration->client = client; in necp_client_create_flow_registration()
4651 client->result, sizeof(client->result)); in necp_update_client_result()
4653 client->result, sizeof(client->result)); in necp_update_client_result()
4657 client->result, sizeof(client->result)); in necp_update_client_result()
4662 client->result, sizeof(client->result)); in necp_update_client_result()
4667 client->result, sizeof(client->result)); in necp_update_client_result()
7642 if (flow_registration->client == client) { in necp_client_remove()
7758 client = flow_registration->client; in necp_client_remove_flow()
[all …]
H A Dntstat.c788 for (client = nstat_clients; client; client = client->ntc_next) { in merge_current_event_filters()
1173 for (client = nstat_clients; client; client = client->ntc_next) { in nstat_route_new_entry()
1836 for (client = nstat_clients; client; client = client->ntc_next) { in nstat_tcp_new_pcb()
1870 for (client = nstat_clients; client; client = client->ntc_next) { in nstat_pcb_detach()
1916 for (client = nstat_clients; client; client = client->ntc_next) { in nstat_pcb_event()
1953 for (client = nstat_clients; client; client = client->ntc_next) { in nstat_pcb_cache()
2006 for (client = nstat_clients; client; client = client->ntc_next) { in nstat_pcb_invalidate_cache()
2397 for (client = nstat_clients; client; client = client->ntc_next) { in nstat_udp_new_pcb()
3079 for (client = nstat_clients; client; client = client->ntc_next) { in ntstat_userland_stats_open()
3729 for (client = nstat_clients; client; client = client->ntc_next) { in nstat_provider_stats_open()
[all …]
/xnu-11215/tools/lldbmacros/
H A Dntstat.py281 client = Cast(inclient, 'nstat_client *')
283 if client :
285 …out_string += format_string.format(client, client.ntc_next, client.ntc_src_queue.tqh_first, client
286 procdetails = client.ntc_procdetails
294 …iterator = ReverseIterateTAILQ_AnonymousHEAD(client.ntc_src_queue, 'nts_client_link', 'struct nsta…
297 iterator = IterateTAILQ_HEAD(client.ntc_src_queue, 'nts_client_link')
306 client = kern.globals.nstat_clients
307 client = cast(client, 'nstat_client *')
308 while client != 0:
309 ShowNstatClient(client, reverse)
[all …]
/xnu-11215/tests/
H A Dinet_transfer.c337 inet_sockaddr_init(&client->addr, endpoint->af); in inet_socket_init_client()
352 client->sock_fd = s; in inet_socket_init_client()
366 if (connect(client->sock_fd, &client->addr.sa, client->addr.sa.sa_len) in inet_socket_client_connect()
565 client->sock_fd, server_fd, in inet_transfer_loop()
576 server_fd, client->sock_fd, in inet_transfer_loop()
591 inet_socket client; in inet_transfer_local() local
596 inet_socket_init(&client); in inet_transfer_local()
605 if (!inet_socket_init_client(&client, client_if_index, in inet_transfer_local()
609 if (!inet_socket_client_connect(&client, client_if_index, in inet_transfer_local()
617 if (!inet_transfer_loop(&server, &client)) { in inet_transfer_local()
[all …]
H A Daccept_race.c18 client(void) in client() function
86 client();
H A Dmo_immovable_receive.c46 void client(struct args *args);
148 client(struct args *args) in client() function
230 client(&args);
H A Dstackshot_tests.m1776 T_ASSERT_MACH_SUCCESS(ret, "client mach_msg");
1927 T_LOG("Launching client");
1930 T_LOG("Spawned client as PID %d", client_pid);
1986 /* cleanup - kill the client */
1991 T_LOG("Launching client");
1994 T_LOG("Spawned client as PID %d", client_pid);
2016 T_LOG("server: letting client go");
2030 /* cleanup - kill the client */
2133 /* not expected to execute as parent will SIGKILL client */
2208 T_LOG("Spawned client as PID %d", client_pid);
[all …]
/xnu-11215/iokit/Kernel/
H A DIOUserClient.cpp4137 if (client && client->defaultLockingSetProperties) { in is_io_registry_entry_set_properties()
4149 if (client && client->defaultLockingSetProperties) { in is_io_registry_entry_set_properties()
4437 client->uc2022 = (NULL != OSDynamicCast(IOUserClient2022, client)); in is_io_service_open_extended()
4551 client = NULL; in is_io_service_open_extended()
4584 client->getRegistryEntryID(), client->getName()); in is_io_service_close()
4679 client->ipcEnter(client->defaultLocking ? kIPCLockWrite : kIPCLockNone); in is_io_connect_map_memory_into_task()
4713 client->ipcExit(client->defaultLocking ? kIPCLockWrite : kIPCLockNone); in is_io_connect_map_memory_into_task()
4792 client->ipcEnter(client->defaultLocking ? kIPCLockWrite : kIPCLockNone); in is_io_connect_unmap_memory_from_task()
4830 client->ipcExit(client->defaultLocking ? kIPCLockWrite : kIPCLockNone); in is_io_connect_unmap_memory_from_task()
4866 client->ipcEnter(client->defaultLocking ? kIPCLockWrite : kIPCLockNone); in is_io_connect_add_client()
[all …]
H A DIOService.cpp1421 inst->client = client; in iterator()
1451 if ((client && (next->isOpen( client ))) in getNextObject()
2549 IOService * client; in terminatePhase1() local
2692 client->getName(), client->getRegistryEntryID(), in terminatePhase1()
2696 client->getName(), client->getRegistryEntryID(), in terminatePhase1()
3241 client->getName(), client->getRegistryEntryID()); in terminateWorker()
3923 client = NULL; in probeCandidates()
5336 client->getName(), client->getRegistryEntryID()); in canTerminateForReplacement()
8095 client->release(); in newUserClient()
8100 client->release(); in newUserClient()
[all …]
H A DIOPerfControl.cpp153 IOPerfControlClient *client = new IOPerfControlClient; in copyClient() local
154 if (!client || !client->init(driver, maxWorkCapacity)) { in copyClient()
157 return client; in copyClient()
812 IOPerfControlClient *client = OSDynamicCast(IOPerfControlClient, obj); in registerPerformanceController() local
813 IOPerfControlClientData *clientData = client->getClientData(); in registerPerformanceController()
H A DIOUserServer.cpp5666 uvars = client->reserved->uvars; in serviceOpen()
5692 uvars = client->reserved->uvars; in serviceClose()
5824 if (!client->reserved->uvars->serverDied in serviceWillTerminate()
5833 client->Stop_async(provider); in serviceWillTerminate()
5836 ret = client->Stop(provider); in serviceWillTerminate()
5850 if (!client->reserved->uvars->serverDied in serviceDidTerminate()
5867 if (client->reserved->uvars in serviceDidStop()
5870 client->reserved->uvars->stopped = true; in serviceDidStop()
5874 if (client->reserved->uvars) { in serviceDidStop()
5886 toClose->close(client); in serviceDidStop()
[all …]
H A DIOServicePrivate.h232 const IOService * client; variable
238 const IOService * client,
H A DIOServicePM.cpp1342 const OSSymbol * client; in handleRegisterPowerDriver() local
2567 const OSSymbol * client, in requestPowerState() argument
2573 if (!client || (state > UINT_MAX)) { in requestPowerState()
2585 client->retain(); in requestPowerState()
2646 removePowerClient(client); in handleRequestPowerState()
2648 updatePowerClient(client, state); in handleRequestPowerState()
2652 client->release(); in handleRequestPowerState()
2672 if (fPowerClients && client) { in updatePowerClient()
2692 if (fPowerClients && client) { in removePowerClient()
2702 if (fPowerClients && client) { in getPowerStateForClient()
[all …]
/xnu-11215/osfmk/kern/
H A Dexclaves_tests.c60 exclaveschelloserver_tests_s client; in exclaves_hello_exclave_test() local
74 tb_result = exclaveschelloserver_tests__init(&client, ep); in exclaves_hello_exclave_test()
77 tb_result = exclaveschelloserver_tests_default_hello(&client, ^(uint64_t result) { in exclaves_hello_exclave_test()
93 exclaveschelloserver_tests_s client; in exclaves_panic_exclave_test() local
107 tb_result = exclaveschelloserver_tests__init(&client, ep); in exclaves_panic_exclave_test()
110 tb_result = exclaveschelloserver_tests_panic_exclave_example(&client); in exclaves_panic_exclave_test()
H A Dexclaves_panic.c107 stackshotpanicsetup_panicinit_s client; in exclaves_xnuproxy_panic_thread() local
108 tb_error_t ret = stackshotpanicsetup_panicinit__init(&client, setup_ep); in exclaves_xnuproxy_panic_thread()
119 stackshotpanicsetup_panicinit_panic_init(&client, ^void (uint64_t scid) { in exclaves_xnuproxy_panic_thread()
/xnu-11215/iokit/IOKit/
H A DIOUserServer.h209 …static void serviceWillTerminate(IOService * client, IOService * provider, IOOptionBits…
210 …static void serviceDidTerminate(IOService * client, IOService * provider, IOOptionBits …
211 static void serviceDidStop(IOService * client, IOService * provider);
212 IOReturn serviceOpen(IOService * provider, IOService * client);
213 IOReturn serviceClose(IOService * provider, IOService * client);
H A DIOService.h797 virtual bool terminateClient( IOService * client, IOOptionBits options );
858 virtual LIBKERN_RETURNS_NOT_RETAINED IOService * matchLocation( IOService * client );
1478 virtual IOReturn messageClient( UInt32 messageType, OSObject * client,
1743 bool canTerminateForReplacement(IOService * client);
1816 static void actionStop( IOService * client, IOService * provider,
2242 IOPMPowerStateIndex getPowerStateForClient( const OSSymbol * client );
2381 void updatePowerClient( const OSSymbol * client, IOPMPowerStateIndex powerState );
2382 void removePowerClient( const OSSymbol * client );
2383 …IOReturn requestPowerState( const OSSymbol * client, IOPMPowerStateIndex state, IOPMRequestTag tag…
H A DIOUserClient.h191 typedef IOReturn (*io_filter_resolver_t) (task_t task, IOUserClient * client, uint32_t type, io_fil…
192 typedef IOReturn (*io_filter_applier_t) (IOUserClient * client, io_filter_policy_t filter, io_filte…
408 virtual IOReturn connectClient( IOUserClient * client );
/xnu-11215/tools/tests/perf_index/
H A DREADME29 report back to the server. Once the initialization is run by every client, the
30 server will give the OK to every client to run the workload and begin timing.
31 When done, each client reports back to the server. Once the server hears back
32 from every client, it will stop timing and output the elapsed time.
/xnu-11215/iokit/IOKit/platform/
H A DAppleMacIODevice.h51 virtual IOService *matchLocation(IOService *client) APPLE_KEXT_OVERRIDE;
/xnu-11215/tests/skywalk/
H A Dskt_filter.c104 char *client; in connect_to_server() local
106 client = (port == FILTER_RECV_PORT) ? "receiver" : "sender"; in connect_to_server()
108 SKD1("%s: connecting to server\n", client); in connect_to_server()
120 SKD0("%s: giving up\n", client); in connect_to_server()
125 client); in connect_to_server()
131 client, errno); in connect_to_server()
135 SKD1("%s: connected to server\n", client); in connect_to_server()
/xnu-11215/iokit/DriverKit/
H A DIOWorkGroup.iig53 * kern_return_t ret = IOConnectTrap3(connect, // user client connection (io_connect_t)
127 …* IOWorkGroup. This method should be called after the client has configured the event…
138 InvalidateKernel(IOUserClient * client);
H A DIOEventLink.iig69 * kern_return_t ret = IOConnectTrap3(connect, // user client connection (io_connect_t)
92 * user client, the old IOEventLink will be replaced.
196 …* IOEventLink. This method should be called after the client has configured the event…
207 InvalidateKernel(IOUserClient * client);
H A DIOUserClient.iig232 * @brief Return an IOMemoryDescriptor to be mapped into the client task.
237 …aram options Set kIOUserClientMemoryReadOnly for memory to be mapped read only in the client.
250 * the client task of the user client.

12