| /xnu-12377.81.4/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 | 455 time_t now, then = start; in permutefuncH() local 476 if (now > then) { in permutefuncH() 481 then = now; in permutefuncH() 503 time_t now, then = start; in permutefuncR() local 515 if (now > then) { in permutefuncR() 520 then = now; in permutefuncR() 839 time_t start, then; in sktc_pump_ring_nslots_kq() local 853 then = start = time(NULL); in sktc_pump_ring_nslots_kq() 861 if (now > then) { in sktc_pump_ring_nslots_kq() 866 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 137 then = time(NULL); in skt_utunloop_xfer_slots() 214 if (now > then) { in skt_utunloop_xfer_slots() 256 then = now; in skt_utunloop_xfer_slots()
|
| /xnu-12377.81.4/makedefs/ |
| H A D | MakeInc.kernel | 145 $(_v)if [ -s [email protected] ]; then \ 163 $(_v)if [ -s [email protected] ]; then \ 202 then \ 204 then \ 211 then \ 222 then \ 225 then \ 257 then \ 395 …)/.mach_kernel.timestamp -nt $@ -o \( -e $(OBJROOT)/.mach_kernel.timestamp -a \! -e $@ \) ]; then \ 447 …/.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-12377.81.4/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-12377.81.4/tools/lldbmacros/ |
| H A D | README.md | 39 …* start lldb with the right symbols file. If you do not know the version apriori, then enable dsym… 177 …6. If your function finds issue with the passed argument then you can `raise ArgumentError('error_… 226 diagnosed better if displayed differently, then feel free to add a type summary for that type. Foll… 231 …of `GetTypeSummary()` is displayed. [In case you do not wish to have header then still define it a… 275 …A. The python framework does not allow for removing a loaded module and then reloading it. So some… 281 …uages. If you get any message with SyntaxError or TypeError or ValueError then please review your … 315 To avoid the horrors of printing a tabular data on console and then 2 weeks later again messing wit… 323 …* [ I'd first create a format string for data and then for the header just change the x's and d's … 325 …* If you need to print a string from a core.value object then use str() to get string representati… 382 …* If you are adding new file then please update the Makefile and xnu.py imports to ensure they get… [all …]
|
| /xnu-12377.81.4/bsd/kern/ |
| H A D | kern_sig.c | 1038 mach_timespec_t then; in __semwait_signal_nocancel() local 1054 then.tv_sec = (unsigned int)ts.tv_sec; in __semwait_signal_nocancel() 1055 then.tv_nsec = (clock_res_t)ts.tv_nsec; in __semwait_signal_nocancel() 1063 then.tv_sec = 0; in __semwait_signal_nocancel() 1064 then.tv_nsec = 0; in __semwait_signal_nocancel() 1066 then.tv_sec = (unsigned int)(ts.tv_sec - now.tv_sec); in __semwait_signal_nocancel() 1067 then.tv_nsec = (clock_res_t)(ts.tv_nsec - now.tv_nsec); in __semwait_signal_nocancel() 1068 if (then.tv_nsec < 0) { in __semwait_signal_nocancel() 1069 then.tv_nsec += NSEC_PER_SEC; in __semwait_signal_nocancel() 1070 then.tv_sec--; in __semwait_signal_nocancel() [all …]
|
| /xnu-12377.81.4/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
|
| H A D | port_types.md | 41 using `bootstrap_lookup` and then can form a connection with that service. - 116 `com.apple.security.only-one-exception-port` then you must use the 127 - If your port type requires reply port semantics, then you must use one of the
|
| /xnu-12377.81.4/doc/allocators/ |
| H A D | guard-objects.md | 41 A random slot is then chosen from any of the free slots in that chunk, and the 107 If however the slot is now entirely free, then the quarantine count of the chunk 108 is incremented. If at least $\mathcal{G} + \mathcal{Q}$ are free, then the 211 then try to replace this freed element with another one of a different type 221 of freeing then reallocating each element in the chunk, where the first free is
|
| 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-12377.81.4/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-12377.81.4/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-12377.81.4/osfmk/arm64/ |
| H A D | cpu.c | 211 uint64_t then, now, delta; in arm64_ipi_test() local 236 absolutetime_to_nanoseconds(now - then, &delta); in arm64_ipi_test() 246 then = mach_absolute_time(); in arm64_ipi_test() 250 absolutetime_to_nanoseconds(now - then, &delta); in arm64_ipi_test()
|
| /xnu-12377.81.4/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-12377.81.4/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-12377.81.4/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-12377.81.4/osfmk/conf/ |
| H A D | copyright.osf | 20 # Software, then Licensee will (1) notify the OSF/RI regarding its
|
| /xnu-12377.81.4/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-12377.81.4/libkdd/ |
| H A D | KCDStructTypeDescription.m | 114 * KCS_SUBTYPE_FLAGS_MERGE was used to define the type, then a member of
|
| /xnu-12377.81.4/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-12377.81.4/doc/vm/ |
| H A D | pageout_scan.md | 120 - `FCS_DELAYED`: If the deadlock-detection period has elapsed then wakeup 158 held by another thread. If it cannot take the vm-object lock, then identify 177 of pages, then reclaim the page anyway to ensure forward progress is made.\*
|