| /xnu-11215/osfmk/i386/ |
| H A D | x86_hypercall.c | 68 hvg_hcall_output_regs_t output = {}; in hvg_hcall_trigger_dump() local 71 &output); in hvg_hcall_trigger_dump() 109 hvg_hcall_output_regs_t output = {}; in hvg_hcall_set_coredump_data() local 119 &output); in hvg_hcall_set_coredump_data() 136 &output); in hvg_hcall_get_mabs_offset() 141 *mabs_offset = output.rdi; in hvg_hcall_get_mabs_offset() 163 memcpy(&uuid[0], &output.rax, 8); in hvg_hcall_get_bootsessionuuid() 164 memcpy(&uuid[8], &output.rdi, 8); in hvg_hcall_get_bootsessionuuid() 165 memcpy(&uuid[16], &output.rsi, 8); in hvg_hcall_get_bootsessionuuid() 166 memcpy(&uuid[24], &output.rdx, 8); in hvg_hcall_get_bootsessionuuid() [all …]
|
| H A D | x86_hypercall.h | 109 hvg_hcall_output_regs_t *output) in hvg_hypercall6() argument 131 HVG_HCALL_RETURN(output->rax); in hvg_hypercall6() 136 hvg_hcall_output_regs_t *output) in hvg_hypercall0() argument 138 return hvg_hypercall6(code, 0, 0, 0, 0, 0, 0, output); in hvg_hypercall0() 144 hvg_hcall_output_regs_t *output) in hvg_hypercall1() argument 146 return hvg_hypercall6(code, rdi, 0, 0, 0, 0, 0, output); in hvg_hypercall1() 152 hvg_hcall_output_regs_t *output) in hvg_hypercall2() argument 154 return hvg_hypercall6(code, rdi, rsi, 0, 0, 0, 0, output); in hvg_hypercall2() 160 hvg_hcall_output_regs_t *output) in hvg_hypercall3() argument 168 hvg_hcall_output_regs_t *output) in hvg_hypercall4() argument [all …]
|
| /xnu-11215/tests/iokit/ |
| H A D | rosetta_map_mmio.c | 77 struct TestIODeviceMemoryRosettaUserClientOutput output; 78 size_t outputSize = sizeof(output); 82 NULL, 0, &args, sizeof(args), NULL, 0, &output, &outputSize), "call external method"); 84 T_QUIET; T_ASSERT_EQ(outputSize, sizeof(output), "outputSize is correct"); 88 mach_vm_address_t regionAddress = output.address; 89 mach_vm_size_t regionSize = output.size; 96 … descriptor to 0x%llx, size 0x%llx. Region 0x%llx, size 0x%llx", output.address, output.size, regi… 97 T_QUIET; T_ASSERT_EQ(output.size, args.length, "mapped size should equal length"); 98 T_QUIET; T_ASSERT_EQ(output.size, regionSize, "mapped size should equal region size"); 104 for (uint64_t i = 0; i < output.size / sizeof(uint64_t); i++) { [all …]
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | xnudefines.py | 25 output = '' 32 output += ' ' 35 output += strings_dict[int(state & mask)] 37 output += '{:#x}'.format(mask) 40 return output
|
| H A D | README.md | 90 i. send the output of command to file on disk 91 ii. search for a string in the output and selectively print the line containing it. 93 For example: (lldb)showalltasks -- -s kernel_task --o /tmp/kernel_task.output -v 94 …will show task summary output with lines matching string 'kernel_task' into a file /tmp/kernel_tas… 132 … You can pass -- -v for verbose output. To increase the verbosity add more -v args after the '--'. 142 xnuoptions : common options for stream based operations on the output of command_name. 172 - Anything you 'print' will be relayed to lldb terminal output. 240 directly out to console. [ debug info or logs output is okay to be printed anywhere :) ] 265 …face tries to build result object from output of a python function. So in case of functions with v… 311 ii. Formatted output printing - zen and peace for life [all …]
|
| H A D | utils.py | 528 rc, output, _ = RunShellCommand(["/usr/local/bin/dsymForUUID", "--copyExecutable", uuid]) 532 if output: 539 for item in keyvalue_extract_re.findall(output):
|
| /xnu-11215/tests/nvram_tests/ |
| H A D | run_tests.py | 71 output = subprocess.getoutput(args) 72 print(output) 106 output = subprocess.getoutput(args) variable 107 print(output)
|
| /xnu-11215/osfmk/arm64/ |
| H A D | hibernate_secure_hmac.h | 73 void secure_hmac_final(secure_hmac_hib_state_t state, uint8_t *output, size_t output_len); 79 void secure_hmac_fetch_rorgn_sha(uint8_t *output, size_t output_len); 80 void secure_hmac_fetch_rorgn_hmac(uint8_t *output, size_t output_len);
|
| /xnu-11215/tools/tests/affinity/ |
| H A D | pool.c | 89 work_queue_t *output; member 288 pthread_mutex_lock(&sp->output->mtx); in manager_fn() 289 TAILQ_INSERT_TAIL(&(sp->output->queue), workp, link); in manager_fn() 290 if (sp->output->waiters) { in manager_fn() 293 pthread_cond_signal(&sp->output->cnd); in manager_fn() 295 pthread_mutex_unlock(&sp->output->mtx); in manager_fn() 299 pthread_cond_broadcast(&sp->output->cnd); in manager_fn() 421 sp->output = &stage_info[(i + 1) % stages].bufq; in main()
|
| H A D | sets.c | 87 work_queue_t *output; member 266 pthread_mutex_lock(&sp->output->mtx); in manager_fn() 267 TAILQ_INSERT_TAIL(&(sp->output->queue), workp, link); in manager_fn() 268 if (sp->output->waiters) { in manager_fn() 271 pthread_cond_signal(&sp->output->cnd); in manager_fn() 273 pthread_mutex_unlock(&sp->output->mtx); in manager_fn() 462 sp->output = &lp->stage[(j + 1) % stages]->bufq; in main()
|
| /xnu-11215/security/ |
| H A D | mac_base.c | 1179 char *output; in mac_do_get() local 1197 output = kalloc_data(len, Z_WAITOK | Z_ZERO); in mac_do_get() 1199 error = getter(input, output, len); in mac_do_get() 1202 output[len - 1] = '\0'; in mac_do_get() 1203 error = copyout(output, mac.m_string, strlen(output) + 1); in mac_do_get() 1206 kfree_data(output, len); in mac_do_get() 1245 ^(char *input, char *output, size_t len) { in __mac_get_pid() 1257 input, output, len, M_WAITOK); in __mac_get_pid() 1268 ^(char *input, char *output, size_t len) { in __mac_get_proc() 1336 input, output, len, M_WAITOK); in __mac_get_fd() [all …]
|
| /xnu-11215/config/ |
| H A D | Makefile | 80 -output $$@ $$(_vstdout) 129 -output /dev/null $(_vstdout) 136 -output /dev/null $(_vstdout) 160 awk '/is architecture/ {s[$$$$6]=$$$$3} END {for (a in s) {print s[a]}}'` -output $$@ $$(_vstdout)
|
| /xnu-11215/tools/ |
| H A D | format_vm_parameter_validation.py | 139 output = [] 142 output.append(known_return_values[code]) 144 output.append(other_return_values[code]) 146 output.append(str(code) + ': ????') 148 print(format_indent + '(' + ', '.join(output) + ')')
|
| /xnu-11215/doc/primitives/ |
| H A D | string-handling.md | 52 because they don't care about the bounds of the output buffer. Most or all of 60 `strncpy` doesn't NUL-terminate the output buffer, and `strncat` doesn't accept 61 a length for the output buffer. **All** new string buffers should include space 68 NUL-terminate their output. This makes the writing part safe. (xnu adds `strl` 70 functions assume the output pointer is a buffer and the input is a NUL- 76 char output[4]; 78 strlcpy(output, input, sizeof(output)); 83 to `output` (plus a NUL), `input` is read until reaching a NUL character. This
|
| /xnu-11215/makedefs/ |
| H A D | MakeInc.color | 6 # colored output of the build log. 36 # Turn off colored output
|
| H A D | MakeInc.san | 26 -output $$@ $(_vstdout) 65 awk '/is architecture/ {s[$$$$6]=$$$$3} END {for (a in s) {print s[a]}}'` -output $$@ $$(_vstdout)
|
| /xnu-11215/tests/recount/ |
| H A D | recount_test_utils.c | 171 int64_t output = 0; in _run_on_exclaves() local 172 size_t output_size = sizeof(output); in _run_on_exclaves() 174 int ret = sysctlbyname("debug.test.exclaves_hello_exclave_test", &output, in _run_on_exclaves()
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOUserClient.cpp | 5216 io_scalar_inband_t output, in is_io_connect_method_scalarI_scalarO() argument 5253 io_user_scalar_t * output, in shim_io_connect_method_scalarI_scalarO() argument 5333 io_scalar_inband_t output, in is_io_async_method_scalarI_scalarO() argument 5412 output, outputCount, in is_io_async_method_scalarI_structureO() 5493 output, outputCount, in is_io_async_method_structureI_structureO() 5508 io_user_scalar_t * output, in shim_io_async_method_scalarI_scalarO() argument 5616 output, outputCount, in is_io_connect_method_scalarI_structureO() 5655 output ); in shim_io_connect_method_scalarI_structureO() 5729 output ); in shim_io_async_method_scalarI_structureO() 5959 output, outputCount, in is_io_connect_method_structureI_structureO() [all …]
|
| H A D | IOKitKernelInternal.h | 224 void (*output)(const char *format, ...));
|
| /xnu-11215/osfmk/device/ |
| H A D | device.defs | 292 out output : io_scalar_inband_t, CountInOut 299 out output : io_struct_inband_t, CountInOut 313 out output : io_struct_inband_t, CountInOut 440 out output : io_scalar_inband_t, CountInOut 448 out output : io_struct_inband_t, CountInOut 464 out output : io_struct_inband_t, CountInOut
|
| /xnu-11215/iokit/Exclaves/ |
| H A D | Makefile | 51 …$(_v)$(TIGHTBEAMC) $(TIGHTBEAMC_INCFLAGS) --pass c --output-base $(patsubst %.tightbeam.h,%.tightb…
|
| /xnu-11215/tests/ |
| H A D | test_knote_use_after_free.c | 146 struct kevent_qos_s output = { }; in th_allocate_knotes() local 147 int ret = kevent_id(wl_id, &event, 1, &output, 1, NULL, NULL, in th_allocate_knotes()
|
| /xnu-11215/doc/observability/ |
| H A D | mt_stackshot.md | 32 are collated together by the caller CPU. The output is identical to 86 reasonably-sized chunks as we need them. We also want the output to have each 87 task in order (to keep the output identical to singlethreaded stackshot), so we 114 is indistinguishable from the output of a singlethreaded stackshot (essentially,
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | IOUserClient.iig | 92 * @field structureOutput An OSData to be returned to the caller as structure output. 96 … structureOutputDescriptor A IOMemoryDescriptor specified by the caller for structure output. 97 * @field structureOutputMaximumSize Maximum size of structure output specified by caller
|
| H A D | IODispatchQueue.iig | 174 * @param output printf like output function. The address of IOLog is suitable to be used. 177 Log(const char * message, IODispatchLogFunction output) LOCALONLY;
|