| /xnu-11215/libkern/zlib/ |
| H A D | trees.c | 194 # define send_code(s, c, tree) send_bits(s, tree[c].Code, tree[c].Len) argument 200 send_bits(s, tree[c].Code, tree[c].Len); } 477 (tree[n].Freq < tree[m].Freq || \ 478 (tree[n].Freq == tree[m].Freq && depth[n] <= depth[m])) 548 bits = tree[tree[n].Dad].Len + 1; in gen_bitlen() 561 f = tree[n].Freq; in gen_bitlen() 680 tree[n].Len = 0; in build_tree() 691 tree[node].Freq = 1; in build_tree() 715 tree[node].Freq = tree[n].Freq + tree[m].Freq; in build_tree() 718 tree[n].Dad = tree[m].Dad = (ush)node; in build_tree() [all …]
|
| /xnu-11215/bsd/tests/ |
| H A D | tree_tests_sysctl.c | 91 rb_tree_insert_nodes(struct _rb_test_tree *tree, size_t count) in rb_tree_insert_nodes() argument 102 RB_INSERT(_rb_test_tree, tree, node); in rb_tree_insert_nodes() 109 rb_tree_remove_nodes(struct _rb_test_tree *tree, size_t count) in rb_tree_remove_nodes() argument 120 RB_REMOVE(_rb_test_tree, tree, node); in rb_tree_remove_nodes()
|
| /xnu-11215/bsd/miscfs/devfs/ |
| H A D | README | 15 There is a tree of nodes that describe the layout of the DEVFS as seen by 16 the drivers.. they add nodes to this tree. This is called the 'back' layer 18 BLUEPRINT of the DEVFS tree. Each back node has associated with it 27 multiple places), a front layer is created that contains a tree of 'front' 64 except for the possibility of searching the entire backing tree 71 I see 'mount -u' as a possible solution to recovering a broken dev tree. 77 e.g. if you have a chroot tree like erf.tfs.com has, you 80 devices from the chroot tree. 92 a driver decides to remove a device from the backing tree, the FS
|
| /xnu-11215/tests/ |
| H A D | kernel_inspection.c | 112 ipc_info_tree_name_array_t tree; in attempt_kernel_inspection() local 115 &tblcnt, &tree, &treecnt), "mach_port_space_info"); in attempt_kernel_inspection() 123 (mach_vm_address_t)(uintptr_t)tree, in attempt_kernel_inspection() 124 treecnt * sizeof(*tree)); in attempt_kernel_inspection()
|
| H A D | extract_right_soft_fail.c | 29 ipc_info_tree_name_array_t tree; /* unused */ in test_extract_immovable_task_port() local 49 kr = mach_port_space_info(tport, &space_info, &table, &tableCount, &tree, &treeCount); in test_extract_immovable_task_port()
|
| H A D | exception_ports_info.c | 41 ipc_info_tree_name_array_t tree; variable 131 &tblcnt, &tree, &treecnt), "mach_port_space_info(): 0x%x", kr);
|
| /xnu-11215/libkern/libkern/ |
| H A D | Makefile | 64 tree.h \ 84 tree.h \
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | sysreg.py | 65 tree = ET.parse(xmlfilename) 66 root = tree.getroot()
|
| /xnu-11215/san/memory/ |
| H A D | kasan_dynamic_blacklist.c | 143 RB_ENTRY(range_tree_entry) tree; 185 RB_PROTOTYPE(range_tree, range_tree_entry, tree, range_tree_cmp); 186 RB_GENERATE(range_tree, range_tree_entry, tree, range_tree_cmp);
|
| /xnu-11215/osfmk/kern/ |
| H A D | machine.c | 693 RB_ENTRY(io_timeout_override_entry) tree; 716 RB_PROTOTYPE_PREV(io_timeout_override, io_timeout_override_entry, tree, io_timeout_override_cmp); 717 RB_GENERATE_PREV(io_timeout_override, io_timeout_override_entry, tree, io_timeout_override_cmp); 835 node = RB_LEFT(node, tree); in io_override_timeout() 837 node = RB_RIGHT(node, tree); in io_override_timeout()
|
| /xnu-11215/doc/building/ |
| H A D | xnu_build_consolidation.md | 38 All of these problems can be solved through a mix of relying more heavily on device tree informatio… 95 ### Deriving core/cluster counts from device tree 99 topology-related information into XNU, by parsing it from the device tree and exporting it to KEXTs…
|
| /xnu-11215/tests/ipc/ |
| H A D | ipc_read_inspect.c | 416 ipc_info_tree_name_array_t tree; /* unused */ in test_task_port_mig_intrans() local 418 kr = mach_port_space_info(tport, &space_info, &table, &tableCount, &tree, &treeCount); in test_task_port_mig_intrans()
|
| /xnu-11215/bsd/sys/ |
| H A D | Makefile | 127 tree.h \ 253 tree.h \
|
| /xnu-11215/doc/lifecycle/ |
| H A D | startup.md | 68 Initializes machine timeouts, which are device-tree/boot-args
|
| H A D | hibernation.md | 109 image for use by iBoot. Those pieces are described in the device tree so
|
| /xnu-11215/bsd/net/ |
| H A D | pf_norm.c | 457 pf_find_fragment_by_key(struct pf_fragment *key, struct pf_frag_tree *tree) in pf_find_fragment_by_key() argument 461 frag = RB_FIND(pf_frag_tree, tree, key); in pf_find_fragment_by_key() 478 pf_find_fragment_by_ipv4_header(struct ip *ip, struct pf_frag_tree *tree) in pf_find_fragment_by_ipv4_header() argument 482 return pf_find_fragment_by_key(&key, tree); in pf_find_fragment_by_ipv4_header() 2228 struct pf_frag_tree *tree) in pf_find_fragment_by_ipv6_header() argument 2232 return pf_find_fragment_by_key(&key, tree); in pf_find_fragment_by_ipv6_header()
|
| H A D | pf.c | 1421 pf_stateins_err(const char *tree, struct pf_state *s, struct pfi_kif *kif) in pf_stateins_err() argument 1426 printf("pf: state insert failed: %s %s ", tree, kif->pfik_name); in pf_stateins_err()
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | IOService.iig | 227 * @brief Add an IOService created by Create() to the power manangement tree. 228 … IOService objects created by matching on a provider are always added to the power management tree.
|
| /xnu-11215/makedefs/ |
| H A D | MakeInc.top | 682 # Install source tree 705 # Clean up source tree
|
| /xnu-11215/bsd/skywalk/namespace/ |
| H A D | netns.c | 443 ns_reservation_tree_find(struct ns_reservation_tree *tree, const in_port_t port) in ns_reservation_tree_find() argument 447 return RB_FIND(ns_reservation_tree, tree, &res); in ns_reservation_tree_find()
|
| /xnu-11215/doc/vm/ |
| H A D | memorystatus.md | 116 …uded_count - vm_page_secluded_target)`. This target comes from the device tree `kern.secluded_mem_…
|