| /xnu-11215/libkern/zlib/ |
| H A D | infback.c | 420 if (this.val < 16) { in inflateBack() 506 if (this.op && (this.op & 0xf0) == 0) { in inflateBack() 507 last = this; in inflateBack() 516 DROPBITS(this.bits); in inflateBack() 520 if (this.op == 0) { in inflateBack() 521 Tracevv((stderr, this.val >= 0x20 && this.val < 0x7f ? in inflateBack() 532 if (this.op & 32) { in inflateBack() 539 if (this.op & 64) { in inflateBack() 561 last = this; in inflateBack() 570 DROPBITS(this.bits); in inflateBack() [all …]
|
| H A D | inftrees.c | 143 this.bits = (unsigned char)1; in inflate_table() 144 this.val = (unsigned short)0; in inflate_table() 146 *(*table)++ = this; in inflate_table() 242 this.op = (unsigned char)0; in inflate_table() 243 this.val = work[sym]; in inflate_table() 247 this.val = base[work[sym] - match]; in inflate_table() 251 this.val = 0; in inflate_table() 321 this.bits = (unsigned char)(len - drop); in inflate_table() 322 this.val = (unsigned short)0; in inflate_table() 329 this.bits = (unsigned char)len; in inflate_table() [all …]
|
| H A D | inffast.c | 137 this = lcode[hold & lmask]; in inflate_fast() 139 op = (unsigned)(this.bits); in inflate_fast() 142 op = (unsigned)(this.op); in inflate_fast() 144 Tracevv((stderr, this.val >= 0x20 && this.val < 0x7f ? in inflate_fast() 150 len = (unsigned)(this.val); in inflate_fast() 168 this = dcode[hold & dmask]; in inflate_fast() 170 op = (unsigned)(this.bits); in inflate_fast() 173 op = (unsigned)(this.op); in inflate_fast() 175 dist = (unsigned)(this.val); in inflate_fast() 272 this = dcode[this.val + (hold & ((1U << op) - 1))]; in inflate_fast() [all …]
|
| H A D | inflate.c | 921 if (this.val < 16) { in inflate() 1001 if (this.op && (this.op & 0xf0) == 0) { in inflate() 1002 last = this; in inflate() 1011 DROPBITS(this.bits); in inflate() 1013 if ((int)(this.op) == 0) { in inflate() 1014 Tracevv((stderr, this.val >= 0x20 && this.val < 0x7f ? in inflate() 1020 if (this.op & 32) { in inflate() 1025 if (this.op & 64) { in inflate() 1049 last = this; in inflate() 1058 DROPBITS(this.bits); in inflate() [all …]
|
| /xnu-11215/bsd/crypto/doc/ |
| H A D | KernelCrypto.txt | 13 * apply to all code found in this distribution, be it the RC4, RSA, 15 * included with this distribution is covered by the same copyright terms 29 * notice, this list of conditions and the following disclaimer. 56 * derivative of this code cannot be changed. i.e. this code cannot simply be 72 1. distributions of this source code include the above copyright 73 notice, this list of conditions and the following disclaimer; 76 notice, this list of conditions and the following disclaimer 82 ALTERNATIVELY, provided that this notice is retained in full, this product 106 notice, this list of conditions and the following disclaimer 112 ALTERNATIVELY, provided that this notice is retained in full, this product [all …]
|
| /xnu-11215/ |
| H A D | APPLE_LICENSE | 4 Please read this License carefully before downloading this software. 5 By downloading or using this software, you are agreeing to be bound by 6 the terms of this License. If you do not or cannot agree to the terms 7 of this License, please do not download or use the software. 14 this License: 41 thereof with code not governed by the terms of this License. 53 work as originally made available by Apple under this License, 58 originally made available by Apple under this License. 90 Original Code that refer to this License; and 95 that alter or restrict this License or the recipients' rights [all …]
|
| /xnu-11215/osfmk/conf/ |
| H A D | copyright.osf | 13 # released) to third parties provided that the copyright notice and this 16 # source of this software. 24 # publicly and prominently acknowledged as the source of this software. 40 # By using or copying this Software, Licensee agrees to abide by the 42 # not limited to, export control laws, and the terms of this license. 43 # The OSF/RI shall have the right to terminate this license immediately by 47 # failure to abide by the terms of this license.
|
| H A D | copyright.cmu | 6 * Permission to use, copy, modify and distribute this software and its 8 * notice and this permission notice appear in all copies of the 16 * Carnegie Mellon requests users of this software to return to
|
| /xnu-11215/osfmk/mach/ |
| H A D | host_priv.defs | 8 * Version 2.0 (the 'License'). You may not use this file except in 38 * notice and this permission notice appear in all copies of the 46 * Carnegie Mellon requests users of this software to return to 99 * Reboot this host. 108 * Return privileged statistics from this host. 120 * to this port. 168 * Get list of processors on this host. 322 * Set the UserNotification daemon access port for this host. 323 * If this value is already set, the kernel will discard its 331 * Get the UserNotification daemon access port for this host. [all …]
|
| H A D | processor.defs | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 36 * Permission to use, copy, modify and distribute this software and its 38 * notice and this permission notice appear in all copies of the 46 * Carnegie Mellon requests users of this software to return to 103 * Return information about this processor.
|
| H A D | upl.defs | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 36 * Permission to use, copy, modify and distribute this software and its 38 * notice and this permission notice appear in all copies of the 46 * Carnegie Mellon requests users of this software to return to
|
| H A D | host_security.defs | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 36 * Permission to use, copy, modify and distribute this software and its 38 * notice and this permission notice appear in all copies of the 46 * Carnegie Mellon requests users of this software to return to
|
| /xnu-11215/libkern/libkern/c++/ |
| H A D | bounded_ptr.h | 236 return *this; 250 return *this; 292 return *(*this + n); 346 *this += 1; 347 return *this; 353 ++*this; 359 *this -= 1; 360 return *this; 366 --*this; 404 return *this; [all …]
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | bounded_ptr.h | 236 return *this; 250 return *this; 292 return *(*this + n); 346 *this += 1; 347 return *this; 353 ++*this; 359 *this -= 1; 360 return *this; 366 --*this; 404 return *this; [all …]
|
| /xnu-11215/tests/ |
| H A D | mach_exc.defs | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 36 * Permission to use, copy, modify and distribute this software and its 38 * notice and this permission notice appear in all copies of the 46 * Carnegie Mellon requests users of this software to return to
|
| /xnu-11215/doc/mach_ipc/ |
| H A D | kmsg.md | 11 this section. 122 For this kmsg type, there is no external allocation, and the `ikm_big_data` 123 inline buffer of the kmsg is used to fit all parts of the mach message this way: 165 In this layout, the "pure" data of the Mach message (its body, trailer, and 167 inline buffer to store the Mach message header and descriptors, this way: 224 In this layout, the entire Mach message is allocated out of line in a single 227 there is never auxiliary data in this form. 285 In this layout, the "pure" data of the Mach message (its body, trailer, and 288 also allocated out of line, this way: 358 In order to reduce how appetizing this is, IPC kmsg inside of the kernel [all …]
|
| /xnu-11215/doc/lifecycle/ |
| H A D | hibernation.md | 11 works in XNU; a detailed discussion of S2R is beyond the scope of this 55 may block, so we have to do this before preemption is disabled). 72 is in progress on this CPU. 73 * At this point, `gIOHibernateState` is set to the value 113 that can be used by the booter to validate this content. 127 driver supports this. 147 details" section of this document. 186 - On Intel, this is done in `hibernate_kernel_entrypoint()`. 199 * At this point, `gIOHibernateState` is set to 244 file. The details of this lifecycle are beyond the scope of this document, but [all …]
|
| /xnu-11215/bsd/miscfs/devfs/ |
| H A D | README | 3 this file is: /sys/miscfs/devfs/README 13 it works like this: 16 the drivers.. they add nodes to this tree. This is called the 'back' layer 30 Think of this as a Transparency, layed over the top of the blueprint. 37 Internal kernel routines can open devices in this plane 44 Think of this as the ability to revise a transparency... 87 for this information. 90 directories) however this does not break the linkage between the 109 1/ this is very preliminary 117 to look at this.
|
| /xnu-11215/makedefs/ |
| H A D | MakeInc.rule | 592 # Do-nothing rule, since not all levels of the recursive hierarchy might implement this 593 # in their local Makefiles. Those that do will use a "::" rule to augment this. 600 # in their local Makefiles. Those that do will use a "::" rule to augment this. 607 # in their local Makefiles. Those that do will use a "::" rule to augment this. 640 # in their local Makefiles. Those that do will use a "::" rule to augment this. 645 # in their local Makefiles. Those that do will use a "::" rule to augment this. 652 # in their local Makefiles. Those that do will use a "::" rule to augment this. 659 # in their local Makefiles. Those that do will use a "::" rule to augment this. 666 # in their local Makefiles. Those that do will use a "::" rule to augment this. 673 # in their local Makefiles. Those that do will use a "::" rule to augment this. [all …]
|
| /xnu-11215/doc/building/ |
| H A D | xnu_build_consolidation.md | 14 supported SoC, usually several times a day for various teams across Apple, the goal of this project… 18 Although this effort could be extended to KEXTs, and hence lead to shared KernelCaches across devic… 19 scope of this document only includes XNU. In cases where KEXTs also differ across targets, or perha… 26 The kernel itself is relatively SoC-agnostic, although strongly architecture-dependent; this is bec… 46 and number of set/ways. XNU needs most of this information to perform set/way clean/invalidate oper… 47 Prior to this work, these values were hardcoded for each supported target in `proc_reg.h`, and used… 66 The changes applied as part of this work focus mainly on: 78 of the provided macros can check this against `MPIDR_EL1`. 83 Some architectural features are optional, which means that, when disabled at compile-time, this may… 116 element per core or cluster. Whilst this information is not known precisely at compile time anymore… [all …]
|
| /xnu-11215/bsd/man/man2/ |
| H A D | getdirentriesattr.2 | 3 .\" The contents of this file constitute Original Code as defined in and 5 .\" "License"). You may not use this file except in compliance with the 7 .\" http://www.apple.com/publicsource and read it before using this file. 108 function for a detailed description of this structure. 132 by simply adding this length to your pointer. 133 The sample code (below) shows how to do this. 134 The initial contents of this buffer are ignored. 159 You can use this value to reset a directory iteration to a known position 166 to get the directory's current position instead of using this parameter. 245 a proper specification for the behaviour of this routine. [all …]
|
| /xnu-11215/doc/primitives/ |
| H A D | atomics.md | 15 as this document builds on it, and explains the liberties XNU takes with said 18 All the interfaces discussed in this document are available through 65 is almost always the case for XNU), is allowed to transform this code: 78 Into this, which obviously defeats the entire purpose of `progress`: 129 implementations may desire this for example). 134 be aware that a direct access to this variable will 138 (See *dependency* memory order later in this documentation). 141 atomic interfaces, but this header is considered obsolete 154 compiler to reorder code in any direction around this barrier). 270 `os_atomic_rmw_loop` allows this form: [all …]
|
| /xnu-11215/doc/allocators/ |
| H A D | api-basics.md | 16 `kmem_alloc` for allocations larger than a few pages (32KB when this 17 document was being written but this is subject to change/tuning in the future). 40 Unlike the typical zone allocators, this allows for arbitrary sizes, in a 68 `Z_NOFAIL` can be used to denote that the caller knows about this. 125 The first case is fixed size types, this is typically a `struct`, `union` 129 smaller than `KALLOC_SAFE_ALLOC_SIZE`. When this is not the case, 135 when this isn't possible, a zone should be considered. 213 Note that this is absolutely OK to use this variant 242 Note that this is absolutely OK to use this variant 360 context as this denormalized information is at the begining [all …]
|
| /xnu-11215/bsd/vfs/ |
| H A D | vnode_if.src | 10 # notice, this list of conditions and the following disclaimer. 12 # notice, this list of conditions and the following disclaimer in the 14 # 3. All advertising materials mentioning features or use of this software 19 # may be used to endorse or promote products derived from this software
|
| /xnu-11215/libsyscall/mach/ |
| H A D | err_us.sub | 10 * Permission to use, copy, modify and distribute this software and its 12 * notice and this permission notice appear in all copies of the 20 * Carnegie Mellon requests users of this software to return to
|