| /xnu-8020.101.4/bsd/net/ |
| H A D | radix.c | 103 rn_new_radix_mask(struct radix_node *tt, 417 struct radix_node *tt = nodes, *t = tt + 1; in rn_newpair() local 420 t->rn_left = tt; in rn_newpair() 422 tt->rn_bit = -1; in rn_newpair() 423 tt->rn_key = (caddr_t)v; in rn_newpair() 424 tt->rn_parent = t; in rn_newpair() 425 tt->rn_flags = t->rn_flags = RNF_ACTIVE; in rn_newpair() 426 tt->rn_mklist = t->rn_mklist = NULL; in rn_newpair() 428 tt->rn_info = rn_nodenum++; t->rn_info = rn_nodenum++; in rn_newpair() 429 tt->rn_twin = t; in rn_newpair() [all …]
|
| /xnu-8020.101.4/doc/allocators/ |
| H A D | api-basics.md | 171 <tt>kalloc_data(size, flags)</tt><br/> 172 <tt>krealloc_data(ptr, old_size, new_size, flags)</tt><br/> 173 <tt>kfree_data(ptr, size)</tt><br/> 174 <tt>kfree_data_addr(ptr)</tt> 177 <b>IOKit untyped variant (returns <tt>void *</tt>)</b>:<br/> 178 <tt>IOMallocData(size)</tt><br/> 179 <tt>IOMallocZeroData(size)</tt><br/> 180 <tt>IOFreeData(ptr, size)</tt> 183 <b>IOKit typed variant (returns <tt>type_t *</tt>)</b>:<br/> 184 <tt>IONewData(type_t, count)</tt><br/> [all …]
|
| /xnu-8020.101.4/tools/lldbmacros/ |
| H A D | pmap.py | 1345 def FindMappingAtLevelARM(pmap, tt, nttes, level, va, action): argument 1355 tte = tt[i] 1386 if action(pmap, level, type, addressof(tt[i]), paddr, mapped_va, granule): 1391 print("Unable to access tte {:#x}".format(unsigned(addressof(tt[i])))) 1393 def FindMappingAtLevelARM64(pmap, tt, nttes, level, va, action): argument 1410 tte = tt[i] 1428 if action(pmap, level, type, addressof(tt[i]), paddr, mapped_va, granule): 1433 print("Unable to access tte {:#x}".format(unsigned(addressof(tt[i]))))
|
| /xnu-8020.101.4/osfmk/arm64/ |
| H A D | arm_vm_init.c | 461 void dump_kva_l2(vm_offset_t tt_base, tt_entry_t *tt, int indent, uint64_t *rosz_out, uint64_t *rws… 464 dump_kva_l2(vm_offset_t tt_base, tt_entry_t *tt, int indent, uint64_t *rosz_out, uint64_t *rwsz_out) in dump_kva_l2() argument 472 boolean_t tt_static = kvtophys((vm_offset_t)tt) >= robegin && in dump_kva_l2() 473 kvtophys((vm_offset_t)tt) < roend; in dump_kva_l2() 476 int tte_type = tt[i] & ARM_TTE_TYPE_MASK; in dump_kva_l2() 477 cur = tt[i] & ARM_TTE_TABLE_MASK; in dump_kva_l2() 1759 init_ptpages(tt_entry_t *tt, vm_map_address_t start, vm_map_address_t end, bool static_map, uint64_… in init_ptpages() argument 1764 l1_tte = tt + ((start & ARM_TT_L1_INDEX_MASK) >> ARM_TT_L1_SHIFT); in init_ptpages()
|
| /xnu-8020.101.4/bsd/netinet/ |
| H A D | tcp_timer.c | 129 long s, tt; variable 131 tt = *(int *)arg1; 132 s = tt * 1000 / TCP_RETRANSHZ; 133 if (tt < 0 || s > INT_MAX) { 143 tt = (long)temp * TCP_RETRANSHZ / 1000; 144 if (tt < 1 || tt > INT_MAX) { 148 *(int *)arg1 = (int)tt;
|
| /xnu-8020.101.4/osfmk/arm/ |
| H A D | pmap.c | 3501 tt_entry_t *tt, in pmap_tt1_deallocate() argument 3511 tt_entry = (tt_free_entry_t *)tt; in pmap_tt1_deallocate() 3550 tt = (tt_entry_t *)free_page_size_tt_list; in pmap_tt1_deallocate() 3551 free_page_size_tt_list = ((tt_free_entry_t *)tt)->next; in pmap_tt1_deallocate() 3555 pmap_pages_free(ml_static_vtop((vm_offset_t)tt), PAGE_SIZE); in pmap_tt1_deallocate() 3564 tt = (tt_entry_t *)free_two_page_size_tt_list; in pmap_tt1_deallocate() 3565 free_two_page_size_tt_list = ((tt_free_entry_t *)tt)->next; in pmap_tt1_deallocate() 3569 pmap_pages_free(ml_static_vtop((vm_offset_t)tt), 2 * PAGE_SIZE); in pmap_tt1_deallocate()
|
| /xnu-8020.101.4/iokit/Kernel/ |
| H A D | IOPMrootDomain.cpp | 1362 char tt[32]; 1364 tt[0] = '\0'; 1368 strlcpy(tt, (const char *) data->getBytesNoCopy(), sizeof(tt)); 1371 return sysctl_io_string(req, tt, 0, 0, NULL);
|