| /xnu-11215/security/ |
| H A D | mac_base.c | 1178 char *input; in mac_do_get() local 1189 input = kalloc_data(len, Z_WAITOK); in mac_do_get() 1191 kfree_data(input, len); in mac_do_get() 1195 AUDIT_ARG(mac_string, input); in mac_do_get() 1207 kfree_data(input, len); in mac_do_get() 1215 char *input; in mac_do_set() local 1227 kfree_data(input, len); in mac_do_set() 1231 AUDIT_ARG(mac_string, input); in mac_do_set() 1233 error = setter(input, len); in mac_do_set() 1235 kfree_data(input, len); in mac_do_set() [all …]
|
| H A D | mac_process.c | 253 ^(char *input, __unused size_t len) { in mac_execve_enter() 258 if ((error = mac_cred_label_internalize(execlabel, input))) { in mac_execve_enter()
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOUserClient.cpp | 5279 ARG32(input[3]), ARG32(input[4]), ARG32(input[5])); in shim_io_connect_method_scalarI_scalarO() 5541 ARG32(input[0]), ARG32(input[1]), ARG32(input[2]), in shim_io_async_method_scalarI_scalarO() 5546 ARG32(input[0]), ARG32(input[1]), ARG32(input[2]), in shim_io_async_method_scalarI_scalarO() 5552 ARG32(input[0]), ARG32(input[1]), ARG32(input[2]), in shim_io_async_method_scalarI_scalarO() 5558 ARG32(input[0]), ARG32(input[1]), ARG32(input[2]), in shim_io_async_method_scalarI_scalarO() 5727 ARG32(input[0]), ARG32(input[1]), ARG32(input[2]), in shim_io_async_method_scalarI_structureO() 5733 ARG32(input[0]), ARG32(input[1]), ARG32(input[2]), in shim_io_async_method_scalarI_structureO() 5739 ARG32(input[0]), ARG32(input[1]), ARG32(input[2]), in shim_io_async_method_scalarI_structureO() 5900 ARG32(input[0]), ARG32(input[1]), ARG32(input[2]), in shim_io_async_method_scalarI_structureI() 5906 ARG32(input[0]), ARG32(input[1]), ARG32(input[2]), in shim_io_async_method_scalarI_structureI() [all …]
|
| /xnu-11215/tools/tests/affinity/ |
| H A D | pool.c | 88 work_queue_t *input; member 248 pthread_mutex_lock(&sp->input->mtx); in manager_fn() 251 pthread_mutex_unlock(&sp->input->mtx); in manager_fn() 254 workp = TAILQ_FIRST(&(sp->input->queue)); in manager_fn() 260 sp->input->waiters++; in manager_fn() 261 pthread_cond_wait(&sp->input->cnd, &sp->input->mtx); in manager_fn() 262 sp->input->waiters--; in manager_fn() 264 TAILQ_REMOVE(&(sp->input->queue), workp, link); in manager_fn() 266 pthread_mutex_unlock(&sp->input->mtx); in manager_fn() 420 sp->input = &sp->bufq; in main()
|
| H A D | sets.c | 86 work_queue_t *input; member 241 pthread_mutex_lock(&sp->input->mtx); in manager_fn() 243 workp = TAILQ_FIRST(&(sp->input->queue)); in manager_fn() 249 sp->input->waiters = TRUE; in manager_fn() 250 pthread_cond_wait(&sp->input->cnd, &sp->input->mtx); in manager_fn() 251 sp->input->waiters = FALSE; in manager_fn() 253 TAILQ_REMOVE(&(sp->input->queue), workp, link); in manager_fn() 254 pthread_mutex_unlock(&sp->input->mtx); in manager_fn() 461 sp->input = &lp->stage[j]->bufq; in main()
|
| H A D | tags.c | 77 char input[81]; variable 139 (void) fgets(input, 20, stdin); in main() 145 if (strlen(input) > 1) { in main() 146 tag = atoi(input); in main()
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_codesigning.c | 1481 image4_cs_trap_argv(image_activate) input = {0}; in _kernel_image4_monitor_trap_image_activate() 1487 memcpy(&input, input_data, sizeof(input)); in _kernel_image4_monitor_trap_image_activate() 1489 payload_addr = code_signing_allocate(input.csmx_payload_len); in _kernel_image4_monitor_trap_image_activate() 1493 memcpy((void*)payload_addr, (void*)input.csmx_payload, input.csmx_payload_len); in _kernel_image4_monitor_trap_image_activate() 1495 manifest_addr = code_signing_allocate(input.csmx_manifest_len); in _kernel_image4_monitor_trap_image_activate() 1499 memcpy((void*)manifest_addr, (void*)input.csmx_manifest, input.csmx_manifest_len); in _kernel_image4_monitor_trap_image_activate() 1506 input.csmx_payload = payload_addr; in _kernel_image4_monitor_trap_image_activate() 1507 input.csmx_manifest = manifest_addr; in _kernel_image4_monitor_trap_image_activate() 1510 err = CSM_PREFIX(image4_monitor_trap)(selector, &input, sizeof(input)); in _kernel_image4_monitor_trap_image_activate() 1517 selector, payload_addr, input.csmx_payload_len); in _kernel_image4_monitor_trap_image_activate() [all …]
|
| /xnu-11215/bsd/net/ |
| H A D | kpi_protocol.c | 54 proto_input_handler input; member 84 proto_register_input(protocol_family_t protocol, proto_input_handler input, in proto_register_input() argument 98 entry->input = input; in proto_register_input() 223 entry->input(entry->protocol, in proto_input_run() 234 entry->input(entry->protocol, in proto_input_run() 270 entry->input(entry->protocol, packet_list); in proto_input() 278 entry->input(entry->protocol, packet); in proto_input()
|
| H A D | kpi_protocol.h | 87 proto_input_handler input, proto_input_detached_handler detached,
|
| H A D | ether_inet6_pr_module.c | 271 proto.input = ether_inet6_input; in ether_attach_inet6()
|
| /xnu-11215/osfmk/kdp/ |
| H A D | kdp_udp.c | 555 if (!pkt.input) { in kdp_reply() 633 if (pkt.input) { in kdp_send() 933 if (pkt.input) { in kdp_poll() 1020 pkt.input = TRUE; in kdp_poll() 1098 pkt.input = FALSE; in kdp_arp_resolve() 1195 pkt.input = FALSE; in kdp_handler() 1342 if (pkt.input) { in kdp_send_exception() 1400 if (pkt.input) { in kdp_debugger_loop() 1500 pkt.input = manual_pkt.input = FALSE; in kdp_reset() 1745 if (pkt.input) { in kdp_send_crashdump_pkt() [all …]
|
| /xnu-11215/SETUP/setsegname/ |
| H A D | setsegname.c | 131 vm_offset_t input; in main() local 170 error = readFile(input_name, &input, &input_size); in main() 175 hdr = (typeof(hdr))input; in main() 265 error = writeFile(fd, (const void *) input, input_size); in main()
|
| /xnu-11215/tools/ |
| H A D | symbolify.py | 55 def symbolify(objfile, input, *args, **kargs): argument 57 for l in input:
|
| /xnu-11215/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_track.c | 161 flow_track_tcp_rtt(struct flow_entry *fe, boolean_t input, in flow_track_tcp_rtt() argument 165 #pragma unused(fe, input) /* KDBG defined as noop in release build */ in flow_track_tcp_rtt() 186 input ? 1 : 0); in flow_track_tcp_rtt() 213 input ? 0 : 1); in flow_track_tcp_rtt() 245 struct flow_track *dst, struct __kern_packet *pkt, bool input) in flow_track_tcp() argument 258 flow_track_tcp_rtt(fe, input, src, dst, tcp_flags, in flow_track_tcp() 271 if (input) { in flow_track_tcp() 567 if (ftflags == 0 || input) { in flow_track_tcp() 637 struct flow_track *dst, struct __kern_packet *pkt, bool input) in flow_track_udp() argument 639 #pragma unused(input) in flow_track_udp()
|
| H A D | flow_classifier.c | 83 bool input) in flow_pkt_classify() argument 216 CL_SKIP_ON(!input && l3hlen != sizeof(struct ip)); in flow_pkt_classify() 400 if (!input && pkt->pkt_flow_ip_proto == IPPROTO_TCP && in flow_pkt_classify() 417 if (!input) { in flow_pkt_classify()
|
| /xnu-11215/tests/recount/ |
| H A D | recount_test_utils.c | 173 int64_t input = 0; in _run_on_exclaves() local 175 &output_size, &input, sizeof(input)); in _run_on_exclaves()
|
| /xnu-11215/osfmk/device/ |
| H A D | device.defs | 291 in input : io_scalar_inband_t; 298 in input : io_scalar_inband_t; 305 in input : io_scalar_inband_t; 312 in input : io_struct_inband_t; 377 in input : io_struct_inband_t; 439 in input : io_scalar_inband_t; 447 in input : io_scalar_inband_t; 455 in input : io_scalar_inband_t; 463 in input : io_struct_inband_t;
|
| /xnu-11215/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_var.h | 160 struct pktq *pktq, bool input); 233 struct pktq *source, bool input) in fsw_snoop_and_dequeue() argument 236 fsw_snoop(fe->fe_fsw, fe, source, input); in fsw_snoop_and_dequeue()
|
| /xnu-11215/doc/primitives/ |
| H A D | string-handling.md | 56 because there is no confusion that their input must be NUL-terminated and there 70 functions assume the output pointer is a buffer and the input is a NUL- 77 char input[8] = "abcdefgh"; /* not NUL-terminated */ 78 strlcpy(output, input, sizeof(output)); 81 `strlcpy` returns the length of the input string; in xnu's implementation, 82 literally by calling `strlen(input)`. Even though only 3 characters are written 83 to `output` (plus a NUL), `input` is read until reaching a NUL character. This
|
| /xnu-11215/tools/lldbmacros/plugins/ |
| H A D | iosspeedtracer.py | 25 outstr += ios_process.communicate(input=result_output)[0]
|
| /xnu-11215/doc/vm/ |
| H A D | sanitize.md | 8 VM parameter sanitization aims to eliminate shallow input validation 11 mathematical checks on the input. This allows for the rest of the subsystem to 12 freely operate on the input without worrying that future computations may 14 mathematical computation and are not responsible for checking if the input 20 To enforce that sanitization is performed on input prior to use, 21 unsafe input types are encapsulated as opaque types (i.e wrapped inside a 34 The functions that sanitize various types of input values are implemented 258 incorrect input values, to verify that the functions return the expected error 329 unlikely to do unsanitary things with the input values before passing them 334 unsanitary things with the input values before passing them to VM API that
|
| /xnu-11215/bsd/dev/arm64/ |
| H A D | fasttrap_isa.c | 419 sign_extend(int64_t input, uint32_t sign_bit_index) argument 422 if (input & (1ULL << sign_bit_index)) { 424 input |= ((~0ULL) & ~((1ULL << (sign_bit_index + 1)) - 1ULL)); 427 return input;
|
| /xnu-11215/tests/ |
| H A D | net_bridge.c | 3180 block_all_traffic(bool input, const char* infname1, const char* infname2) in block_all_traffic() argument 3185 char *dir = input ? "in" : "out"; in block_all_traffic() 3223 bool input = true; in filter_test() 3253 block_all_traffic(input, ifnames[0], ifnames[1]); in filter_test() 3285 …T_PASS("%s broadcast %s %s", __func__, blocked ? "blocked" : "not blocked", input ? "input" : "out… in filter_test() 3286 input = !input; in filter_test() 3288 } while (input == false && blocked); in filter_test() 3295 block_all_traffic(input, ifnames[0], ifnames[1]); in filter_test() 3312 …T_PASS("%s unicast %s %s", __func__, blocked ? "blocked" : "not blocked", input ? "input" : "outpu… in filter_test() 3313 input = !input; in filter_test() [all …]
|
| /xnu-11215/osfmk/kern/ |
| H A D | misc_protos.h | 168 extern int sscanf(const char *input, const char *fmt, ...) __scanflike(2, 3);
|
| /xnu-11215/osfmk/arm/pmap/ |
| H A D | pmap.c | 13282 memcpy(&input, input_data, sizeof(input)); 13287 &input, sizeof(input), 13305 memcpy(&input, input_data, sizeof(input)); 13310 &input, sizeof(input), 13322 memcpy(&input, input_data, sizeof(input)); 13327 &input, sizeof(input), 13343 memcpy(&input, input_data, sizeof(input)); 13347 input.csmx_payload, round_page(input.csmx_payload_len), 13352 input.csmx_manifest, round_page(input.csmx_manifest_len), 13357 input.csmx_payload, round_page(input.csmx_payload_len), false); [all …]
|