| /xnu-11215/iokit/Kernel/ |
| H A D | IOServicePM.cpp | 721 if (request) { in PMstop() 1125 if (request) { in removePowerChild() 1404 if (request) { in registerInterestedDriver() 7825 (long)request->getType(), OBFUSCATE(request), in submitPMRequest() 7880 request->getType(), OBFUSCATE(request), in actionPMRequestQueue() 7930 request->getType(), OBFUSCATE(request), in actionPMWorkQueueRetire() 8008 request->getType(), OBFUSCATE(request), in isPMBlocked() 8036 request->getType(), OBFUSCATE(request), in actionPMWorkQueueInvoke() 8436 request->getType(), OBFUSCATE(request), in actionPMReplyQueue() 9105 request = (typeof(request))queue_first(requestQueue); in checkRequestQueue() [all …]
|
| /xnu-11215/tests/ |
| H A D | mo_immovable_receive.c | 98 mach_msg_header_t *request; in server() local 102 request = (mach_msg_header_t *)args->request_msg; in server() 107 ret = mach_msg(request, in server() 121 …_port_descriptor1.context, (unsigned long)request, "server: Received a port with correct context =… in server() 127 …_port_descriptor2.context, (unsigned long)request, "server: Received a port with correct context =… in server() 144 mach_msg_destroy(request); in server() 179 request->msgh_size = (mach_msg_size_t)args->request_msg_size; in client() 180 request->msgh_remote_port = args->server_port; in client() 181 request->msgh_local_port = args->reply_port; in client() 182 request->msgh_id = 1; in client() [all …]
|
| H A D | immovable_send_client.c | 96 mach_msg_header_t *request = (mach_msg_header_t *)client_args.request_msg; in main() local 97 request->msgh_bits = MACH_MSGH_BITS_SET(MACH_MSG_TYPE_COPY_SEND, 0, in main() 99 request->msgh_size = (mach_msg_size_t)client_args.request_msg_size; in main() 100 request->msgh_remote_port = client_args.server_port; in main() 101 request->msgh_local_port = MACH_PORT_NULL; in main() 102 request->msgh_id = 1; in main() 104 ipc_complex_message *complexmsg = (ipc_complex_message *)request; in main() 113 mach_msg_return_t mret = mach_msg(request, in main()
|
| H A D | port_table_limits_client.c | 97 mach_msg_header_t *request = (mach_msg_header_t *)client_args.request_msg; in connect_to_server() local 98 request->msgh_bits = MACH_MSGH_BITS_SET(MACH_MSG_TYPE_COPY_SEND, MACH_MSG_TYPE_COPY_SEND, in connect_to_server() 100 request->msgh_size = (mach_msg_size_t)client_args.request_msg_size; in connect_to_server() 101 request->msgh_remote_port = client_args.server_port; in connect_to_server() 102 request->msgh_local_port = reply_port; in connect_to_server() 103 request->msgh_id = 1; in connect_to_server() 105 ipc_complex_message *complexmsg = (ipc_complex_message *)request; in connect_to_server() 114 mach_msg_return_t mret = mach_msg(request, in connect_to_server()
|
| H A D | test_knote_use_after_free.c | 70 move_receive_request_t request; in th_allocate_knotes() member 74 move_receive_request_t *request = &message.request; in th_allocate_knotes() local 77 request->header = (mach_msg_header_t){ in th_allocate_knotes() 82 .msgh_size = sizeof(*request), in th_allocate_knotes() 86 request->body = (mach_msg_body_t){ in th_allocate_knotes() 90 request->port = (mach_msg_port_descriptor_t){ in th_allocate_knotes() 95 request->kq_port = (mach_msg_port_descriptor_t){ in th_allocate_knotes() 101 …kr = mach_msg(&request->header, MACH_SEND_MSG, sizeof(*request), 0, MACH_PORT_NULL, MACH_MSG_TIMEO… in th_allocate_knotes()
|
| /xnu-11215/osfmk/kdp/output_stages/ |
| H A D | out_buffer.c | 74 buffer_stage_outproc(struct kdp_output_stage *stage, unsigned int request, in buffer_stage_outproc() argument 85 if ((data->current_size && (request == KDP_SEEK || request == KDP_FLUSH || request == KDP_EOF)) in buffer_stage_outproc() 86 || (request == KDP_DATA && length == 0 && !panic_data)) { in buffer_stage_outproc() 98 if (request == KDP_WRQ || request == KDP_SEEK || request == KDP_EOF) { in buffer_stage_outproc() 99 err = next_stage->kos_funcs.kosf_outproc(next_stage, request, corename, length, panic_data); in buffer_stage_outproc() 105 } else if (request == KDP_DATA) { in buffer_stage_outproc()
|
| H A D | out_net.c | 45 net_stage_outproc(struct kdp_output_stage *stage, unsigned int request, in net_stage_outproc() argument 52 err = kdp_send_crashdump_data(request, corename, length, data); in net_stage_outproc() 58 if (KDP_DATA == request) { in net_stage_outproc()
|
| H A D | out_zlib.c | 190 zlib_stage_outproc(struct kdp_output_stage *stage, unsigned int request, in zlib_stage_outproc() argument 199 switch (request) { in zlib_stage_outproc() 202 err = next_stage->kos_funcs.kosf_outproc(next_stage, request, corename, length, panic_data); in zlib_stage_outproc() 222 err = next_stage->kos_funcs.kosf_outproc(next_stage, request, corename, length, panic_data); in zlib_stage_outproc() 230 err = next_stage->kos_funcs.kosf_outproc(next_stage, request, corename, length, panic_data); in zlib_stage_outproc()
|
| H A D | out_aea.c | 114 aea_stage_outproc(struct kdp_output_stage *stage, unsigned int request, in aea_stage_outproc() argument 125 switch (request) { in aea_stage_outproc() 138 err = next_stage->kos_funcs.kosf_outproc(next_stage, request, corename, length, panic_data); in aea_stage_outproc() 192 err = next_stage->kos_funcs.kosf_outproc(next_stage, request, corename, length, panic_data); in aea_stage_outproc() 200 err = next_stage->kos_funcs.kosf_outproc(next_stage, request, corename, length, panic_data); in aea_stage_outproc()
|
| H A D | out_memory_backing_aware_buffer.c | 60 memory_backing_aware_buffer_stage_outproc(struct kdp_output_stage *stage, unsigned int request, in memory_backing_aware_buffer_stage_outproc() argument 69 if ((request != KDP_DATA) || !panic_data) { in memory_backing_aware_buffer_stage_outproc() 71 err = next_stage->kos_funcs.kosf_outproc(next_stage, request, corename, length, panic_data); in memory_backing_aware_buffer_stage_outproc()
|
| H A D | out_lz4.c | 140 lz4_stage_outproc(struct kdp_output_stage *stage, unsigned int request, in lz4_stage_outproc() argument 162 if (KDP_SEEK == request) { in lz4_stage_outproc() 166 if (stage->kos_bypass || KDP_DATA != request) { in lz4_stage_outproc() 167 return next_stage->kos_funcs.kosf_outproc(next_stage, request, corename, length, in lz4_stage_outproc()
|
| H A D | out_progress_notify.c | 55 progress_notify_stage_outproc(struct kdp_output_stage *stage, unsigned int request, in progress_notify_stage_outproc() argument 70 err = next_stage->kos_funcs.kosf_outproc(next_stage, request, corename, length, panic_data); in progress_notify_stage_outproc()
|
| /xnu-11215/bsd/net/ |
| H A D | netsrc.c | 176 struct in6_addrpolicy *policy = lookup_policy(SA(&request->nrq_dst.sa)); in netsrc_policy_common() 197 netsrc_ipv6(kern_ctl_ref kctl, uint32_t unit, struct netsrc_req *request) in netsrc_ipv6() argument 200 .ro_dst = request->nrq_sin6, in netsrc_ipv6() 204 struct in6_addr storage, *in6 = in6_selectsrc(&request->nrq_sin6, NULL, in netsrc_ipv6() 206 request->nrq_ifscope, &error); in netsrc_ipv6() 233 netsrc_policy_common(request, &reply); in netsrc_ipv6() 234 return netsrc_reply(kctl, unit, request->nrq_ver, &reply); in netsrc_ipv6() 243 struct rtentry *rt = rt_lookup(TRUE, SA(&request->nrq_dst.sa), in netsrc_ipv4() 245 request->nrq_ifscope); in netsrc_ipv4() 272 netsrc_policy_common(request, &reply); in netsrc_ipv4() [all …]
|
| /xnu-11215/osfmk/ipc/ |
| H A D | ipc_right.c | 854 if (request != IP_NULL) { in ipc_right_terminate() 930 ipc_port_t request; in ipc_right_destroy() local 1002 if (request != IP_NULL) { in ipc_right_destroy() 1093 ipc_port_t request; in ipc_right_dealloc() local 1409 ipc_port_t request; in ipc_right_delta() local 1854 if (request != IP_NULL) { in ipc_right_destruct() 2315 *sorightp = request; in ipc_right_copyin() 2455 *sorightp = request; in ipc_right_copyin() 2460 ipc_port_t request; in ipc_right_copyin() local 2519 *sorightp = request; in ipc_right_copyin() [all …]
|
| /xnu-11215/tools/lldbmacros/plugins/ |
| H A D | speedtracer.py | 26 request = urllib2.Request(submiturl, encoded_data) 27 request.add_header("Accept", "application/json") 28 request.add_header("X-ST-GroupName", "core-os") 30 response = urllib2.urlopen(request)
|
| /xnu-11215/libsyscall/wrappers/ |
| H A D | ioctl.c | 34 ioctl(int d, unsigned long request, ...) in ioctl() argument 39 va_start(ap, request); in ioctl() 42 return __ioctl(d, request, arg); in ioctl()
|
| H A D | nfsclnt.c | 31 nfsclnt(unsigned long request, void *argstructp) in nfsclnt() argument 40 error = ioctl(fd, request, argstructp); in nfsclnt()
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOService.h | 2332 static void releasePMRequest( IOPMRequest * request ); 2342 void addPowerChild1( IOPMRequest * request ); 2343 void addPowerChild2( IOPMRequest * request ); 2344 void addPowerChild3( IOPMRequest * request ); 2346 void handlePMstop( IOPMRequest * request ); 2347 void handleRegisterPowerDriver( IOPMRequest * request ); 2353 void handleRequestPowerState( IOPMRequest * request ); 2357 void handleActivityTickle( IOPMRequest * request ); 2358 void handleInterestChanged( IOPMRequest * request ); 2360 void executePMRequest( IOPMRequest * request ); [all …]
|
| /xnu-11215/osfmk/kern/ |
| H A D | exclaves.c | 1210 *req = exclaves_callbacks->v1.Core.request(i); in exclaves_init_multicore() 1346 switch (request->tag) { in request_trace_start() 1350 request->ResumeWithHostId.hostId, request->ResumeWithHostId.thread); in request_trace_start() 1356 request->InterruptWithHostId.hostId, request->InterruptWithHostId.thread); in request_trace_start() 1362 request->UpdateTimerOffset.timer, request->UpdateTimerOffset.offset); in request_trace_start() 1373 request->PmmEarlyAllocResponse.a); in request_trace_start() 1389 switch (request->tag) { in request_trace_end() 1431 assert3u(request->tag, <, XrtHosted_Request_Limit); in exclaves_scheduler_request() 1484 request_trace_start(request); in exclaves_scheduler_request() 1498 request_trace_end(request); in exclaves_scheduler_request() [all …]
|
| H A D | ipc_kobject.c | 413 const ipc_kmsg_t request, in ipc_kobject_init_reply() argument 486 ipc_kmsg_t request, in ipc_kobject_server_internal() argument 501 req_hdr = ikm_header(request); in ipc_kobject_server_internal() 502 req_data = ikm_udata_from_header(request); in ipc_kobject_server_internal() 503 req_trailer = ipc_kmsg_get_trailer(request); in ipc_kobject_server_internal() 672 ipc_kmsg_t request, in ipc_kobject_server() argument 684 ipc_kmsg_trace_send(request, option); in ipc_kobject_server() 687 kr = uext_server(port, request, &reply); in ipc_kobject_server() 701 ipc_kobject_init_reply(reply, request, kr); in ipc_kobject_server() 735 ipc_kmsg_clear_voucher_port(request); in ipc_kobject_server() [all …]
|
| /xnu-11215/libkern/ |
| H A D | OSKextLib.cpp | 231 char * request = NULL;// must vm_deallocate in kext_request() local 274 request = CAST_DOWN(char *, map_addr); in kext_request() 282 mkextHeader = (mkext2_header *)request; in kext_request() 308 request, requestLengthIn, in kext_request() 318 request, requestLengthIn, in kext_request() 364 if (request) { in kext_request() 365 (void)vm_deallocate(kernel_map, (vm_offset_t)request, requestLengthIn); in kext_request()
|
| /xnu-11215/osfmk/kdp/ |
| H A D | kdp_core.h | 117 struct corehdr *create_panic_header(unsigned int request, const char *corename, unsigned length, un… 119 int kdp_send_crashdump_pkt(unsigned int request, char *corename, 122 int kdp_send_crashdump_data(unsigned int request, char *corename,
|
| H A D | kdp_udp.c | 1135 if (hdr->request == KDP_REATTACH) { in kdp_handler() 1146 (hdr->request != KDP_CONNECT)) { in kdp_handler() 1179 if (hdr->request == KDP_CONNECT) { in kdp_handler() 1290 if (((hdr->request == KDP_CONNECT) || (hdr->request == KDP_REATTACH)) && in kdp_connection_wait() 1297 if (hdr->request == KDP_REATTACH) { in kdp_connection_wait() 1299 hdr->request = KDP_DISCONNECT; in kdp_connection_wait() 1573 if (request == KDP_WRQ) { in create_panic_header() 1708 if (request == KDP_DATA) { in kdp_send_crashdump_pkt() 1728 } else if (request == KDP_SEEK) { in kdp_send_crashdump_pkt() 1749 if (request == KDP_WRQ) { in kdp_send_crashdump_pkt() [all …]
|
| /xnu-11215/libsyscall/mach/ |
| H A D | mig_reply_setup.c | 69 mig_reply_setup(mach_msg_header_t *request, mach_msg_header_t *reply) in mig_reply_setup() argument 71 #define InP (request) in mig_reply_setup()
|
| /xnu-11215/libkern/libkern/ |
| H A D | kext_request_keys.h | 697 #pragma mark fileset load request arguments 725 #pragma mark kext collection request arguments
|