Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 65) sorted by relevance

123

/xnu-11215/security/
H A Dmac_base.c1178 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 Dmac_process.c253 ^(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 DIOUserClient.cpp5279 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 Dpool.c88 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 Dsets.c86 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 Dtags.c77 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 Dkern_codesigning.c1481 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 Dkpi_protocol.c54 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 Dkpi_protocol.h87 proto_input_handler input, proto_input_detached_handler detached,
H A Dether_inet6_pr_module.c271 proto.input = ether_inet6_input; in ether_attach_inet6()
/xnu-11215/osfmk/kdp/
H A Dkdp_udp.c555 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 Dsetsegname.c131 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 Dsymbolify.py55 def symbolify(objfile, input, *args, **kargs): argument
57 for l in input:
/xnu-11215/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_track.c161 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 Dflow_classifier.c83 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 Drecount_test_utils.c173 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 Ddevice.defs291 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 Dfsw_var.h160 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 Dstring-handling.md56 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 Diosspeedtracer.py25 outstr += ios_process.communicate(input=result_output)[0]
/xnu-11215/doc/vm/
H A Dsanitize.md8 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 Dfasttrap_isa.c419 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 Dnet_bridge.c3180 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 Dmisc_protos.h168 extern int sscanf(const char *input, const char *fmt, ...) __scanflike(2, 3);
/xnu-11215/osfmk/arm/pmap/
H A Dpmap.c13282 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 …]

123