| /xnu-10063.141.1/libkern/zlib/ |
| H A D | infback.c | 151 have = strm->avail_in; \ 162 strm->avail_in = have; \ 178 if (have == 0) { \ 179 have = in(in_desc, &next); \ 180 if (have == 0) { \ 193 have--; \ 275 unsigned have, left; /* available input and output */ in inflateBack() local 298 have = next != Z_NULL ? strm->avail_in : 0; in inflateBack() 360 if (copy > have) copy = have; in inflateBack() 363 have -= copy; in inflateBack() [all …]
|
| H A D | inflate.c | 128 local unsigned syncsearch OF((unsigned FAR *have, unsigned char FAR *buf, 432 have = strm->avail_in; \ 443 strm->avail_in = have; \ 459 if (have == 0) goto inf_leave; \ 460 have--; \ 584 unsigned have, left; /* available input and output */ in inflate() local 607 in = have; in inflate() 710 if (copy > have) copy = have; in inflate() 721 have -= copy; in inflate() 732 if (have == 0) goto inf_leave; in inflate() [all …]
|
| H A D | inflate.h | 137 unsigned have; /* number of code lengths in lens[] */ member
|
| /xnu-10063.141.1/bsd/miscfs/devfs/ |
| H A D | README | 52 Front nodes representing directories and symlinks have their own 53 "devnode" structs, and may therefore differ. (have different vnodes) 54 i.e. if you have two devfs trees mounted, you can change the 62 in the 'backing' node for that object. Once you have erased 'front' 68 without going via the cdevsw table.. they may not even have 74 Because non device nodes (directories and symlinks) have their own 75 "devnode" structs on each layer, these may have different 77 e.g. if you have a chroot tree like erf.tfs.com has, you 82 Directories also have backing nodes but there is nothing to stop 103 plane that controls to the mount being updated.. that would have the [all …]
|
| /xnu-10063.141.1/doc/primitives/ |
| H A D | string-handling.md | 4 standard C string functions. Unfortunately, poor design choices have made many 13 * Use `strbuf*` when you have the length for all the strings; 14 * use `strl*` when you have the length of _one_ string, and the other is 16 * use `str*` when you don't have the length for any of the strings, and they 30 these functions have been deprecated or outright removed from xnu. You should 95 `strbuf` functions additionally all have overloads accepting character arrays 135 # I have a choice between `strn*`, `strl*`, `strbuf*`. Which one do I use? 156 `strbufcmp` could be the only one that builds. If you do not have the privilege 164 That is, to implement `bar`, you have a choice of `strcmp`, `strncmp` and
|
| /xnu-10063.141.1/libkern/libkern/c++/ |
| H A D | OSPtr.h | 53 # error It seems that you have defined IOKIT_ENABLE_SHARED_PTR to \ 63 off on enabling shared pointers in IOKit APIs until we have \
|
| /xnu-10063.141.1/doc/vm/ |
| H A D | freezer.md | 21 Once we have finished creating this contiguous compressor VA range, we put those segments on the sw… 38 …a result this memory gets counted as shared and we don't freeze apps that have a lot of wired memo… 43 Currently, we freeze processes in the idle band in LRU order (apps that have been idle the longest … 64 …hat confusingly, is still considered frozen. This is because it may still have data on NAND. For e… 68 …eze new processes before doing re-freezes. Once the freezer is full or we have no more candidate p… 80 …have a limited number of slots in the freezer (and a swap file limit), so we don't have to keep pr… 96 …putting apps in the freezer or the dock. But in practice these mechanisms have not been unified. T…
|
| H A D | memorystatus.md | 103 …ocesses: managed and unmanaged. Managed processes have their lifecycle managed by RunningBoard and… 107 Daemons have different memory limits when they're inactive (in band 0) vs. active (above band 0). T… 167 …memorystatus.c` for details. Since we only have one global snapshot its cleared on read and thus c… 170 …t object. It reuses the snapshot struct definition but only contains apps that have been jetsammed.
|
| /xnu-10063.141.1/bsd/kern/ |
| H A D | tty_pty.c | 92 #warning You have only one pty defined, redefining to 32.
|
| /xnu-10063.141.1/doc/lifecycle/ |
| H A D | hibernation.md | 55 may block, so we have to do this before preemption is disabled). 79 * By the time regular sleep has completed, all CPUs but the boot CPU have been 120 * More areas are removed from the page bitmaps (after they have been written to 184 have to be mapped to support serial logging and using the hmac block. 187 - On ARM64, we have to do this from `hibernate_machine_entrypoint()` because 206 * After all of the wired pages have been restored, a wake from sleep is 262 * Various portions of the hibernation image have HMACs calculated over them. All
|
| /xnu-10063.141.1/doc/building/ |
| H A D | xnu_build_consolidation.md | 8 …argets are small (e.g. when they both support the same ISA), XNU has traditionally required to have 115 …me cases, certain statically-allocated arrays/structures need to be cache line-aligned, or have one 117 following macros have been added to provide a reasonably close upper bound: 134 for different targets. These are named `ARM[64]_BOARD_CONFIG_[TARGET_NAME]`, and have historically …
|
| /xnu-10063.141.1/tools/lldbmacros/ |
| H A D | README.md | 163 … on command. For example a command like `showtaskvme 0xabcdef00` will put have cmd_args=['0xabcdef… 211 Just printing the value of first_zone as (zone_t) 0xd007c000 wouldnt have been much help. But with … 225 …of `GetTypeSummary()` is displayed. [In case you do not wish to have header then still define it a… 285 If you still have difficulty you can look at the python documentation at http://docs.python.org 290 …A. Many lldb macros have syntax that accepts pointers (eg showtaskstacks etc). In order to have yo… 299 …oad-script-from-symbol-file true' in your ~/.lldbinit file. If you do not have access you can alte… 335 * All Classes and functions should have a doc string describing what the function does 388 …sizeof_fmt() to humanize size strings in KB, MB etc. The convention is to have functions that do s… 413 …* In case of memory corruption, the lldbmacros may have followed wrong pointer dereferencing. This…
|
| /xnu-10063.141.1/iokit/DriverKit/ |
| H A D | IOWorkGroup.iig | 49 …* The application will have to first create an workgroup object. The application then should copy … 117 …* @discussion The workgroup must have been joined with Join(). Use the same token in Join() for t…
|
| H A D | IODataQueueDispatchSource.iig | 109 * @param handler Handler block to be invoked after any callbacks have completed. 156 … * @param sendDataServiced Flag that indicates a DataServiced notification would have sent. 170 …* @param sendDataAvailable Flag that indicates a DataAvailable notification would have been …
|
| H A D | OSAction.iig | 50 * and have the following declaration: 113 * @param handler Handler block to be invoked after any callbacks have completed.
|
| /xnu-10063.141.1/doc/mach_ipc/ |
| H A D | kmsg.md | 9 IPC kmsg have a complex in memory layout that is designed to separate kernel 355 IPC Kmsg have been the bread and butter of kernel exploitation for a decade, 429 of in flight messages have signed descriptors at rest.
|
| /xnu-10063.141.1/bsd/man/man2/ |
| H A D | getdirentriesattr.2 | 95 parameter must be a file descriptor that references a directory that you have opened for reading. 149 have been placed into the attribute buffer. 244 In that time a number of volume format implementations have been created without 266 A directory which is a firmlink will have the
|
| /xnu-10063.141.1/tests/ |
| H A D | stackshot_accuracy.m | 51 /* ssh won't let the session die if we still have file handles open to its output. */ 217 /* skip threads that don't have enough frames */ 349 T_SKIP("This device doesn't have CONFIG_FREEZE enabled."); 416 T_SKIP("This device doesn't have CONFIG_FREEZE enabled.");
|
| H A D | stackshot_tests.m | 1478 …// L0-L2 table and non-compressed L3 block entries should always have bit 1 set; assumes L0-L2 blo… 1501 T_ASSERT_TRUE(seen_page_table_snapshot, "check that we have seen a page table snapshot"); 1502 T_ASSERT_TRUE(seen_asid, "check that we have seen an ASID"); 1873 T_DECL(special_reply_port, "test that tasks using special reply ports have correct waitinfo") 2484 T_ASSERT_TRUE(seen_thread_group_snapshot, "check that we have seen a thread group snapshot"); 2887 … T_FAIL("post-exec child %llu shouldn't have a delta task snapshot", postexec_child_unique_pid); 2931 * we get here, then we have found the shared cache UUID 2950 …region_flags, (uint64_t)kTaskSharedRegionNone, "Kernel proc (pid 0) should have no shared region"); 2959 …T_QUIET; T_EXPECT_NOTNULL(sharedregion_info, "kTaskSharedRegionOther should have a shared_cache_dy… 2960 … T_QUIET; T_EXPECT_NOTNULL(sharedcache_id, "kTaskSharedRegionOther should have a sharedCacheID"); [all …]
|
| H A D | stackshot_idle_25570396.m | 217 * stackshot. Where this is called, the blocking jobs have been cleared from the work queue, 220 * ignoring the worker threads that have become active.
|
| /xnu-10063.141.1/osfmk/lockd/ |
| H A D | lockd_mach.defs | 67 /* Ping lockd, have launchd start it if its not running */
|
| /xnu-10063.141.1/makedefs/ |
| H A D | MakeInc.dir | 17 # the subdirectories have been recursed into
|
| /xnu-10063.141.1/osfmk/mach/ |
| H A D | mach_port.defs | 121 * New port sets are empty. New ports don't have any 124 * New sets, ports, and dead names have one user reference. 193 * and send rights can have a positive delta. 261 * Puts the member port (the task must have receive rights)
|
| /xnu-10063.141.1/doc/allocators/ |
| H A D | api-basics.md | 130 we have typically found that there is a large array of data, 147 - variable sized allocations should have a single owner and not be refcounted; 305 However, if you have non default structors, or members of your class/struct 306 have non default structors, you will need to manually enroll it into `kalloc_type`.
|
| /xnu-10063.141.1/osfmk/conf/ |
| H A D | copyright.osf | 43 # The OSF/RI shall have the right to terminate this license immediately by
|