/darwin-on-arm/xnu/tools/tests/affinity/ |
H A D | tags.c | 35 "usage: tags [-i] interactive/input\n" 79 char input[81]; variable 138 (void) fgets(input, 20, stdin); 144 if (strlen(input) > 1) { 145 tag = atoi(input);
|
H A D | pool.c | 31 * There are a series of work stages. Each stage has an input and an output 47 * use as input and output and what function to call for processing is 90 work_queue_t *input; member in struct:__anon1336 252 * Get a buffer from the input queue. 256 pthread_mutex_lock(&sp->input->mtx); 259 pthread_mutex_unlock(&sp->input->mtx); 262 workp = TAILQ_FIRST(&(sp->input->queue)); 267 sp->input->waiters++; 268 pthread_cond_wait(&sp->input->cnd, &sp->input [all...] |
H A D | sets.c | 33 * A worker thread removes a buffer from an input queue, processses it and 47 * use as input and output and what function to call for processing is 87 work_queue_t *input; member in struct:__anon1337 133 " [-t] Halt for keyboard input to start\n" 243 * Get a buffer from the input queue. 246 pthread_mutex_lock(&sp->input->mtx); 248 workp = TAILQ_FIRST(&(sp->input->queue)); 253 sp->input->waiters = TRUE; 254 pthread_cond_wait(&sp->input->cnd, &sp->input [all...] |
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOUserClient.cpp | 3099 io_scalar_inband_t input, 3113 _input[i] = SCALAR64(input[i]); 3132 const io_user_scalar_t * input, 3160 err = (object->*func)( ARG32(input[0]), ARG32(input[1]), ARG32(input[2]), 3161 ARG32(input[3]), ARG32(input[4]), ARG32(input[5]) ); 3164 err = (object->*func)( ARG32(input[ 3096 is_io_connect_method_scalarI_scalarO( io_object_t connect, uint32_t index, io_scalar_inband_t input, mach_msg_type_number_t inputCount, io_scalar_inband_t output, mach_msg_type_number_t * outputCount ) argument 3129 shim_io_connect_method_scalarI_scalarO( IOExternalMethod * method, IOService * object, const io_user_scalar_t * input, mach_msg_type_number_t inputCount, io_user_scalar_t * output, mach_msg_type_number_t * outputCount ) argument 3206 is_io_async_method_scalarI_scalarO( io_object_t connect, mach_port_t wake_port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, uint32_t index, io_scalar_inband_t input, mach_msg_type_number_t inputCount, io_scalar_inband_t output, mach_msg_type_number_t * outputCount ) argument 3248 is_io_async_method_scalarI_structureO( io_object_t connect, mach_port_t wake_port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, uint32_t index, io_scalar_inband_t input, mach_msg_type_number_t inputCount, io_struct_inband_t output, mach_msg_type_number_t * outputCount ) argument 3284 is_io_async_method_scalarI_structureI( io_connect_t connect, mach_port_t wake_port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, uint32_t index, io_scalar_inband_t input, mach_msg_type_number_t inputCount, io_struct_inband_t inputStruct, mach_msg_type_number_t inputStructCount ) argument 3321 is_io_async_method_structureI_structureO( io_object_t connect, mach_port_t wake_port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, uint32_t index, io_struct_inband_t input, mach_msg_type_number_t inputCount, io_struct_inband_t output, mach_msg_type_number_t * outputCount ) argument 3352 shim_io_async_method_scalarI_scalarO( IOExternalAsyncMethod * method, IOService * object, mach_port_t asyncWakePort, io_user_reference_t * asyncReference, uint32_t asyncReferenceCount, const io_user_scalar_t * input, mach_msg_type_number_t inputCount, io_user_scalar_t * output, mach_msg_type_number_t * outputCount ) argument 3445 is_io_connect_method_scalarI_structureO( io_object_t connect, uint32_t index, io_scalar_inband_t input, mach_msg_type_number_t inputCount, io_struct_inband_t output, mach_msg_type_number_t * outputCount ) argument 3471 shim_io_connect_method_scalarI_structureO( IOExternalMethod * method, IOService * object, const io_user_scalar_t * input, mach_msg_type_number_t inputCount, io_struct_inband_t output, IOByteCount * outputCount ) argument 3538 shim_io_async_method_scalarI_structureO( IOExternalAsyncMethod * method, IOService * object, mach_port_t asyncWakePort, io_user_reference_t * asyncReference, uint32_t asyncReferenceCount, const io_user_scalar_t * input, mach_msg_type_number_t inputCount, io_struct_inband_t output, mach_msg_type_number_t * outputCount ) argument 3617 is_io_connect_method_scalarI_structureI( io_connect_t connect, uint32_t index, io_scalar_inband_t input, mach_msg_type_number_t inputCount, io_struct_inband_t inputStruct, mach_msg_type_number_t inputStructCount ) argument 3644 shim_io_connect_method_scalarI_structureI( IOExternalMethod * method, IOService * object, const io_user_scalar_t * input, mach_msg_type_number_t inputCount, io_struct_inband_t inputStruct, mach_msg_type_number_t inputStructCount ) argument 3713 shim_io_async_method_scalarI_structureI( IOExternalAsyncMethod * method, IOService * object, mach_port_t asyncWakePort, io_user_reference_t * asyncReference, uint32_t asyncReferenceCount, const io_user_scalar_t * input, mach_msg_type_number_t inputCount, io_struct_inband_t inputStruct, mach_msg_type_number_t inputStructCount ) argument 3797 is_io_connect_method_structureI_structureO( io_object_t connect, uint32_t index, io_struct_inband_t input, mach_msg_type_number_t inputCount, io_struct_inband_t output, mach_msg_type_number_t * outputCount ) argument 3817 shim_io_connect_method_structureI_structureO( IOExternalMethod * method, IOService * object, io_struct_inband_t input, mach_msg_type_number_t inputCount, io_struct_inband_t output, IOByteCount * outputCount ) argument 3862 shim_io_async_method_structureI_structureO( IOExternalAsyncMethod * method, IOService * object, mach_port_t asyncWakePort, io_user_reference_t * asyncReference, uint32_t asyncReferenceCount, io_struct_inband_t input, mach_msg_type_number_t inputCount, io_struct_inband_t output, mach_msg_type_number_t * outputCount ) argument [all...] |
/darwin-on-arm/xnu/SETUP/setsegname/ |
H A D | setsegname.c | 137 vm_offset_t input; local 146 fprintf(stderr, "Usage: %s NEWSEGNAME input -o output\n", argv[0]); 153 error = readFile(argv[2], &input, &input_size); 158 hdr = (typeof(hdr)) input; 178 fprintf(stderr, "not macho input file\n"); 242 error = writeFile(fd, (const void *) input, input_size);
|
/darwin-on-arm/xnu/tools/ |
H A D | symbolify.py | 51 def symbolify(objfile, input, *args, **kargs): 53 for l in input:
|
/darwin-on-arm/xnu/EXTERNAL_HEADERS/corecrypto/ |
H A D | cchmac.h | 79 int cchmac_test(const struct cchmac_test_input *input); 80 int cchmac_test_chunks(const struct cchmac_test_input *input, unsigned long chunk_size);
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | kpi_protocol.c | 54 proto_input_handler input; member in struct:proto_input_entry 120 proto_register_input(protocol_family_t protocol, proto_input_handler input, argument 135 entry->input = input; 248 entry->input(entry->protocol, 259 entry->input(entry->protocol, 290 entry->input(entry->protocol, packet_list); 298 entry->input(entry->protocol, packet);
|
H A D | kpi_protocol.h | 46 /* Protocol input/inject */ 52 @discussion protocol_input_handler is called to input a packet. If 56 @param packet The packet that should be input. 76 @param input The function called when a packet is input. 81 proto_input_handler input, proto_input_detached_handler detached, 86 @discussion Allows the caller to unregister the input and inject 87 functions for a protocol. The input/inject functions may not be 94 @param input The function called when a packet is input [all...] |
H A D | ether_at_pr_module.c | 244 proto.input = ether_at_input;
|
H A D | ether_inet6_pr_module.c | 255 proto.input = ether_inet6_input;
|
H A D | kpi_interface.h | 125 @constant BPF_MODE_INPUT Enable input only. 127 @constant BPF_MODE_INPUT_OUTPUT Enable input and output. 417 @param packet The packet being input. 439 @param packet The packet being input. 658 #define IFNET_INIT_INPUT_POLL 0x2 /* opportunistic input polling model */ 692 the new driver input model. 709 @constant IFNET_CTL_SET_INPUT_MODEL Set input model. 710 @constant IFNET_CTL_GET_INPUT_MODEL Get input model. 730 the legacy input model, and if applicable, the driver should 733 the legacy/push input mode 963 proto_media_input input; /* required */ member in struct:ifnet_attach_proto_param 976 proto_media_input_v2 input; /* required */ member in struct:ifnet_attach_proto_param_v2 [all...] |
H A D | ether_inet_pr_module.c | 208 /* Pass ARP packets to arp input */ 219 /* Pass IP list to ip input */ 552 proto.input = ether_inet_input;
|
H A D | dlil.c | 154 proto_media_input input; member in struct:if_proto::__anon151::__anon152 163 proto_media_input_v2 input; member in struct:if_proto::__anon151::__anon153 199 struct dlil_threading_info dl_if_inpstorage; /* input thread storage */ 440 /* sanity checking of input packet lists received */ 474 "input poll mode freeze time"); 480 "input poll sampling time"); 486 "input poll interval (time)"); 492 IF_RXPOLL_INTERVAL_PKTS, "input poll interval (packets)"); 498 "input poll wakeup low watermark"); 504 "input pol [all...] |
H A D | pf_ioctl.c | 4728 unsigned int af, int input, struct ip_fw_args *fwa) 4751 error = pf_inet_hook(ifp, mp, input, fwa); 4757 error = pf_inet6_hook(ifp, mp, input, fwa); 4792 pf_inet_hook(struct ifnet *ifp, struct mbuf **mp, int input, argument 4808 if (!input && m->m_pkthdr.rcvif == NULL) { 4823 if (pf_test(input ? PF_IN : PF_OUT, ifp, mp, NULL, fwa) != PF_PASS) { 4847 pf_inet6_hook(struct ifnet *ifp, struct mbuf **mp, int input, argument 4859 if (!input && (*mp)->m_pkthdr.rcvif == NULL) { 4870 if (pf_test6(input ? PF_IN : PF_OUT, ifp, mp, NULL, fwa) != PF_PASS) { 4727 pf_af_hook(struct ifnet *ifp, struct mbuf **mppn, struct mbuf **mp, unsigned int af, int input, struct ip_fw_args *fwa) argument
|
H A D | if_gif.c | 226 reg.input = gif_input; 541 * gif_input is the input handler for IP and IPv6 attached to gif 555 * Put the packet to the network layer input queue according to the 558 * input functions, e.g. ip6_input, here. We changed the policy to 559 * prevent too many recursive calls of such input functions, which 561 * problem; if the input queue is full, packets are discarded.
|
/darwin-on-arm/xnu/libkern/crypto/ |
H A D | localcrypto_md5.c | 65 * The digest algorithm interprets the input message as a sequence of 32-bit 90 * Encodes input (u_int32_t) into output (unsigned char). Assumes len is 94 Encode(unsigned char *output, u_int32_t *input, unsigned int len) argument 100 *(u_int32_t *)(output + j) = input[i]; 102 output[j] = input[i] & 0xff; 103 output[j + 1] = (input[i] >> 8) & 0xff; 104 output[j + 2] = (input[i] >> 16) & 0xff; 105 output[j + 3] = (input[i] >> 24) & 0xff; 176 const unsigned char *input = (const unsigned char *)inpp; local 192 memcpy(&context->buffer[index], input, partLe [all...] |
H A D | localcrypto_sha1.c | 70 * The digest algorithm interprets the input message as a sequence of 32-bit 93 * Encodes input (u_int32_t) into output (unsigned char). Assumes len is 97 Encode(unsigned char *output, u_int32_t *input, unsigned int len) argument 102 output[j + 3] = input[i] & 0xff; 103 output[j + 2] = (input[i] >> 8) & 0xff; 104 output[j + 1] = (input[i] >> 16) & 0xff; 105 output[j] = (input[i] >> 24) & 0xff; 182 const unsigned char *input = (const unsigned char *)inpp; local 201 memcpy(&context->buffer[index], input, partLen); 211 context->state[4], &input[ 296 const unsigned char *input = (const unsigned char *)inpp; local [all...] |
/darwin-on-arm/xnu/osfmk/kdp/ |
H A D | kdp_udp.c | 107 boolean_t input; member in struct:__anon1072 481 if (!pkt.input) 552 if (pkt.input) 833 if (pkt.input) 922 pkt.input = TRUE; 986 while (!pkt.input && !flag_arp_resolved && flag_panic_dump_in_progress && --poll_count) { 995 if (!flag_panic_dump_in_progress || pkt.input) /* we received a debugging packet, bail*/ 1000 pkt.input = FALSE; 1022 while (!pkt.input) 1054 * a request, set the input fla [all...] |
H A D | kdp_protocol.h | 712 boolean_t input; member in struct:kdp_manual_pkt
|
/darwin-on-arm/xnu/osfmk/device/ |
H A D | device.defs | 277 in input : io_scalar_inband_t; 284 in input : io_scalar_inband_t; 291 in input : io_scalar_inband_t; 298 in input : io_struct_inband_t; 363 in input : io_struct_inband_t; 425 in input : io_scalar_inband_t; 433 in input : io_scalar_inband_t; 441 in input : io_scalar_inband_t; 449 in input : io_struct_inband_t;
|
/darwin-on-arm/xnu/bsd/dev/random/ |
H A D | fips_sha1.c | 80 * The digest algorithm interprets the input message as a sequence of 32-bit 103 * Encodes input (u_int32_t) into output (unsigned char). Assumes len is 107 Encode(unsigned char *output, u_int32_t *input, unsigned int len) argument 112 output[j + 3] = input[i] & 0xff; 113 output[j + 2] = (input[i] >> 8) & 0xff; 114 output[j + 1] = (input[i] >> 16) & 0xff; 115 output[j] = (input[i] >> 24) & 0xff; 180 const unsigned char *input = (const unsigned char *)inpp; local 199 memcpy(&context->buffer[index], input, partLen); 209 context->state[4], &input[ [all...] |
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | misc_protos.h | 118 extern int sscanf(const char *input, const char *fmt, ...) __scanflike(2,3);
|
/darwin-on-arm/xnu/libkern/c++/ |
H A D | OSUnserialize.y | 121 input: /* empty */ { parsedObject = (OSObject *)NULL; YYACCEPT; } label
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_syscalls.c | 4365 struct accessx_descriptor *input = NULL; local 4395 input = stack_input; 4397 MALLOC(input, struct accessx_descriptor *, uap->size, M_TEMP, M_WAITOK); 4398 if (input == NULL) { 4403 error = copyin(uap->entries, input, uap->size); 4407 AUDIT_ARG(opaque, input, uap->size); 4414 ((char *)input)[uap->size - 1] = 0; 4434 * convert to an input array index, which would be one off 4438 j = input[i].ad_name_offset / sizeof(struct accessx_descriptor); 4502 if (input[ [all...] |