| /xnu-11417.121.6/tests/skywalk/ |
| H A D | skt_utun27302538.c | 222 time_t now, then = start; in skt_utun27646755_common() local 238 if (now > then) { in skt_utun27646755_common() 242 then = now; in skt_utun27646755_common()
|
| H A D | skt_nslots.c | 64 time_t now, then = start; in skt_nslots_common() local 119 if (now > then) { in skt_nslots_common() 124 then = now; in skt_nslots_common()
|
| H A D | skywalk_test_utils.c | 469 time_t now, then = start; in permutefuncH() local 490 if (now > then) { in permutefuncH() 495 then = now; in permutefuncH() 517 time_t now, then = start; in permutefuncR() local 529 if (now > then) { in permutefuncR() 534 then = now; in permutefuncR() 853 time_t start, then; in sktc_pump_ring_nslots_kq() local 867 then = start = time(NULL); in sktc_pump_ring_nslots_kq() 875 if (now > then) { in sktc_pump_ring_nslots_kq() 880 then = now; in sktc_pump_ring_nslots_kq() [all …]
|
| H A D | skt_utunloop.c | 105 time_t start, then, now; in skt_utunloop_xfer_slots() local 213 if (now > then) { in skt_utunloop_xfer_slots() 255 then = now; in skt_utunloop_xfer_slots()
|
| /xnu-11417.121.6/makedefs/ |
| H A D | MakeInc.kernel | 144 $(_v)if [ -s [email protected] ]; then \ 162 $(_v)if [ -s [email protected] ]; then \ 201 then \ 203 then \ 210 then \ 221 then \ 224 then \ 250 then \ 388 …)/.mach_kernel.timestamp -nt $@ -o \( -e $(OBJROOT)/.mach_kernel.timestamp -a \! -e $@ \) ]; then \ 440 …/.mach_kernel.timestamp -nt $@ -o \( -e $(OBJROOT)/.mach_kernel.timestamp -a \! -e $@ \) ]; then \ [all …]
|
| H A D | MakeInc.rule | 90 if [ $$$$? -eq 2 ]; then \ 96 if [ -s ./$(3)/$$*.strip.$$$$$$$$ ]; then \ 127 if [ $$$$? -eq 2 ]; then \ 136 $$(_v)if [ -n "$(5)" ]; then $$(TOUCH) "$(5)"; fi 173 if [ $$RETURN -ne 0 ]; then \ 225 # If there are no headers then there can be no module maps. 558 if [ $$? -eq 2 ]; then \
|
| H A D | MakeInc.dir | 11 # for those targets to be built, and then (3) build the target `do_build_setup` 33 # but the empty string (but please just use 1 for consistency), then
|
| /xnu-11417.121.6/osfmk/tests/ |
| H A D | README.md | 34 …* If you wish to add a new *.c* file for your tests then, use ```#include <xnupost.h>``` to includ… 73 … to boot after testing. If you are unable to cleanup and require a reboot then use XNUPOST_TEST_CO… 90 …xample if you wish to check for api foo(int arg) { assert(arg > 0); ... } then a test case could b… 107 …panic()`. This callout can then determine if testing was enabled and has a widget registered for c…
|
| /xnu-11417.121.6/tools/lldbmacros/ |
| H A D | README.md | 38 …* start lldb with the right symbols file. If you do not know the version apriori, then enable dsym… 176 …6. If your function finds issue with the passed argument then you can `raise ArgumentError('error_… 225 diagnosed better if displayed differently, then feel free to add a type summary for that type. Foll… 230 …of `GetTypeSummary()` is displayed. [In case you do not wish to have header then still define it a… 274 …A. The python framework does not allow for removing a loaded module and then reloading it. So some… 280 …uages. If you get any message with SyntaxError or TypeError or ValueError then please review your … 314 To avoid the horrors of printing a tabular data on console and then 2 weeks later again messing wit… 322 …* [ I'd first create a format string for data and then for the header just change the x's and d's … 324 …* If you need to print a string from a core.value object then use str() to get string representati… 381 …* If you are adding new file then please update the Makefile and xnu.py imports to ensure they get… [all …]
|
| /xnu-11417.121.6/bsd/kern/ |
| H A D | kern_sig.c | 1033 mach_timespec_t then; in __semwait_signal_nocancel() local 1049 then.tv_sec = (unsigned int)ts.tv_sec; in __semwait_signal_nocancel() 1050 then.tv_nsec = (clock_res_t)ts.tv_nsec; in __semwait_signal_nocancel() 1058 then.tv_sec = 0; in __semwait_signal_nocancel() 1059 then.tv_nsec = 0; in __semwait_signal_nocancel() 1061 then.tv_sec = (unsigned int)(ts.tv_sec - now.tv_sec); in __semwait_signal_nocancel() 1062 then.tv_nsec = (clock_res_t)(ts.tv_nsec - now.tv_nsec); in __semwait_signal_nocancel() 1063 if (then.tv_nsec < 0) { in __semwait_signal_nocancel() 1064 then.tv_nsec += NSEC_PER_SEC; in __semwait_signal_nocancel() 1065 then.tv_sec--; in __semwait_signal_nocancel() [all …]
|
| /xnu-11417.121.6/doc/mach_ipc/ |
| H A D | kmsg.md | 19 - if `msgh_bits` has the `MACH_MSGH_BITS_COMPLEX` bit set, then a descriptor 21 - then a body of bytes follows to pad the message up to `msgdh_size` bytes, 82 fields are always used and make up the "header" of the kmsg, and then some data 445 descriptor count is then used as the source of truth for indexing in
|
| /xnu-11417.121.6/doc/debugging/ |
| H A D | debugging.md | 37 …ccessing small semi-contiguous chunks (e.g. if you're parsing large structured data), then it might 39 a hurry and just want to read one specific chunk once, then it might be easier to use `LazyTarget.G… 90 # And then use buffered_io for your accesses 96 When no explicit encoding is selected then UTF-8 is the default. 195 …should be taken and then inspected afterwards, but this ties up a lab device for the duration of t… 219 You can then run `coverage html --data-file=/tmp/coverage.cov` in your terminal
|
| /xnu-11417.121.6/doc/allocators/ |
| H A D | api-basics.md | 69 If `Z_NOFAIL` is incorrectly used, then the zone allocator will panic at runtime. 108 If the allocations you perform do not fit the model, then your types 149 then the array element type **must not** be only data. 151 If those rules can't be followed, then the allocation must be split with 301 manually. If your struct or class is POD (Plain Old Data), then replacing usage of 334 declaration and then provide their definition out of line:
|
| /xnu-11417.121.6/tests/sched/sched_test_harness/ |
| H A D | README.md | 19 …_runqueue_harness.c` implements the interface by adding debug logging and then calling functions l… 22 …migration_harness.c` implements the interface by adding debug logging and then calling functions l…
|
| /xnu-11417.121.6/osfmk/arm64/ |
| H A D | cpu.c | 215 uint64_t then, now, delta; in arm64_ipi_test() local 240 absolutetime_to_nanoseconds(now - then, &delta); in arm64_ipi_test() 250 then = mach_absolute_time(); in arm64_ipi_test() 254 absolutetime_to_nanoseconds(now - then, &delta); in arm64_ipi_test()
|
| /xnu-11417.121.6/doc/observability/ |
| H A D | recount.md | 52 Its subcommands print each metric as a column and then uses rows for the groupings, like per-CPU or… 90 The per-CPU variable is then updated with the current snapshot for the next switch. 107 Writers make a generation count odd before updating any of the values and then set it back to even …
|
| /xnu-11417.121.6/tools/tests/perf_index/ |
| H A D | README | 27 The server will wait for num_client to connect. It will then pass type, threads, 40 then writes a byte to every page to ensure it is paged in. Then copies n bytes
|
| /xnu-11417.121.6/bsd/man/man2/ |
| H A D | getdirentriesattr.2 | 127 These groups are then placed into the buffer, one after another. 207 attributes and then use the value of the 236 and then testing the 256 If the directory contains a mount point, then
|
| /xnu-11417.121.6/osfmk/conf/ |
| H A D | copyright.osf | 20 # Software, then Licensee will (1) notify the OSF/RI regarding its
|
| /xnu-11417.121.6/doc/lifecycle/ |
| H A D | hibernation.md | 36 preserves contents to persistent storage (the disk) and then completely powers 125 * Each wired page is compressed and written and then each non-wired page. 164 header and calculates an HMAC. It then compares the HMAC against the 210 `hibernate_machine_entrypoint()`, which then jumps to `reset_vector`.
|
| /xnu-11417.121.6/libkdd/ |
| H A D | KCDStructTypeDescription.m | 114 * KCS_SUBTYPE_FLAGS_MERGE was used to define the type, then a member of
|
| H A D | README.md | 54 The userspace tools can then look at the description and print the data even if they are not compil…
|
| /xnu-11417.121.6/tests/ |
| H A D | stackshot_block_owner_14362384.m | 242 * is signalled, then unlock. if called with CHECK_EXISTS, returns whether or not the sysctl 349 * is signalled, then unlock. if called with CHECK_EXISTS, returns whether or not the sysctl 449 // acquires a kernel rwlock for writing, and then waits on a kernel semaphore. 511 * giving the opportunity for the 'grabbing' thread to lock it and then immediately unlock it. 699 // this thread should spawn, acquire a kernel rwlock for write, and then wait on a semaphore
|
| /xnu-11417.121.6/doc/arm/ |
| H A D | sme.md | 70 SME instructions. However software must then exit streaming SVE mode to execute 154 `Z`, `P`, and `SVCR` values and then clears `PSTATE.SM`. xnu later restores 197 inside `machine_restore_sme_context()`, then performing the allocation during 238 then replace them with the VMM thread's or new thread's state (respectively).
|
| /xnu-11417.121.6/osfmk/mach/ |
| H A D | mach_port.defs | 287 * MACH_NOTIFY_DEAD_NAME: if non-zero, then name can be dead, 289 * If zero, then name can't be dead. 318 * for the port, then the names must agree. In any case,
|