/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/ |
H A D | pci_device.h | 121 * on entry, the mapping function assigns an address. 127 unsigned long entry,
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/ |
H A D | ipc_splay.h | 90 /* Pick a random entry in a splay tree */ 96 /* Find an entry in a splay tree */ 101 /* Insert a new entry into a splay tree */ 105 ipc_tree_entry_t entry); 107 /* Delete an entry from a splay tree */ 111 ipc_tree_entry_t entry); 117 ipc_splay_tree_t entry); 135 /* Return the next entry in a symmetric order traversal of a splay tree */
|
H A D | ipc_space.c | 165 ipc_entry_t entry = &table[index]; local 167 entry->ie_bits = IE_BITS_GEN_MASK; 168 entry->ie_next = index+1; 264 ipc_entry_t entry = &table[index]; local 267 type = IE_BITS_TYPE(entry->ie_bits); 270 IE_BITS_GEN(entry->ie_bits)); 271 ipc_right_destroy(space, name, entry); 355 ipc_entry_t entry = &table[index]; local 358 type = IE_BITS_TYPE(entry->ie_bits); 363 IE_BITS_GEN(entry [all...] |
H A D | mach_port.c | 109 ipc_entry_t entry, 136 ipc_entry_t entry, 147 bits = entry->ie_bits; 148 request = entry->ie_request; 153 port = (ipc_port_t) entry->ie_object; 169 /* pretend this is a dead-name entry */ 311 ipc_entry_t entry = &table[index]; local 312 ipc_entry_bits_t bits = entry->ie_bits; 318 mach_port_names_helper(timestamp, entry, name, names, 326 ipc_entry_t entry local 134 mach_port_names_helper( ipc_port_timestamp_t timestamp, ipc_entry_t entry, mach_port_name_t name, mach_port_name_t *names, mach_port_type_t *types, ipc_entry_num_t *actualp) argument 417 ipc_entry_t entry; local 722 ipc_entry_t entry; local 764 ipc_entry_t entry; local 808 ipc_entry_t entry; local 889 ipc_entry_t entry; local 1072 ipc_entry_t entry, table; local 1211 ipc_entry_t entry; local 1335 ipc_entry_t entry; local 1805 ipc_entry_t entry; local 1865 ipc_entry_t entry; local 1917 ipc_entry_t entry; local [all...] |
H A D | mach_msg.c | 771 register ipc_entry_t entry; local 775 entry = &table[index]; 776 bits = entry->ie_bits; 779 entry = IE_NULL; 782 entry = IE_NULL; 785 if (entry == IE_NULL) { 786 entry = ipc_entry_lookup(space, reply_name); 787 if (entry == IE_NULL) { 791 bits = entry->ie_bits; 801 reply_port = (ipc_port_t) entry 821 register ipc_entry_t entry; local 961 register ipc_entry_t entry; local 1034 register ipc_entry_t entry; local 1332 register ipc_entry_t entry; local [all...] |
H A D | mach_debug.c | 322 ipc_entry_t entry = &table[index]; local 325 bits = entry->ie_bits; 329 if (entry->ie_request) 332 iin->iin_object = (vm_offset_t) entry->ie_object; 333 iin->iin_next = entry->ie_next; 334 iin->iin_hash = entry->ie_index; 344 ipc_entry_t entry = &tentry->ite_entry; local 345 ipc_entry_bits_t bits = entry->ie_bits; 352 if (entry->ie_request) 355 iin->iin_object = (vm_offset_t) entry 518 ipc_entry_t entry; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IODataQueue.cpp | 113 IODataQueueEntry * entry; local 117 // Is there enough room at the end for the entry? 120 entry = (IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail); 122 entry->size = dataSize; 123 memcpy(&entry->data, data, dataSize); 125 // The tail can be out of bound when the size of the new entry 162 entry = (IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail); 164 entry->size = dataSize; 165 memcpy(&entry->data, data, dataSize);
|
H A D | IOCPU.cpp | 76 iocpu_add_platform_action(queue_head_t * queue, iocpu_platform_action_entry_t * entry); 79 iocpu_remove_platform_action(iocpu_platform_action_entry_t * entry); 131 void iocpu_add_platform_action(queue_head_t * queue, iocpu_platform_action_entry_t * entry) argument 137 if (next->priority > entry->priority) 139 queue_insert_before(queue, entry, next, iocpu_platform_action_entry_t *, link); 143 queue_enter(queue, entry, iocpu_platform_action_entry_t *, link); // at tail 146 void iocpu_remove_platform_action(iocpu_platform_action_entry_t * entry) argument 148 remque(&entry->link); 211 iocpu_platform_action_entry_t * entry; local 218 entry 356 iocpu_platform_action_entry_t * entry; local [all...] |
H A D | IORegistryEntry.cpp | 408 IORegistryEntry * entry = (IORegistryEntry *) this; \ 410 iter = IORegistryIterator::iterateOver( entry, plane, options ); \ 413 while ( (0 == obj) && (entry = iter->getNextObject()) ) { \ 414 obj = entry->getProperty( aKey ); \ 432 IORegistryEntry * entry = (IORegistryEntry *) this; \ 434 iter = IORegistryIterator::iterateOver( entry, plane, options ); \ 437 while ( (0 == obj) && (entry = iter->getNextObject()) ) { \ 438 obj = entry->copyProperty( aKey ); \ 515 // If we are inserting a collection class and the current entry 847 const IORegistryEntry * entry; local 1025 IORegistryEntry * entry = 0; local 1072 IORegistryEntry * entry; local 1113 IORegistryEntry * entry; local 1361 IORegistryEntry * entry = 0; local 1378 IORegistryEntry * entry; local 1424 IORegistryEntry * entry = 0; local 1442 IORegistryEntry * entry; local [all...] |
H A D | IOPlatformExpert.cpp | 497 OSDictionary * entry; local 518 entry = (OSDictionary *) inSubTree->getObject (i); 520 matchingDictionary = (OSDictionary *) entry->getObject ("device"); 521 providerDictionary = (OSDictionary *) entry->getObject ("provider"); 544 OSNumber * aNumber = (OSNumber *) entry->getObject ("multiple-parent"); 552 // NULL then we cannot match with this entry. 560 if (RegisterServiceInTree (theDevice, entry, theParent, theNub) ) { 568 multipleParentKeyValue = (OSNumber *) entry->getObject ("multiple-parent"); 576 if ( continueSearch && (NULL != (children = (OSArray *) entry->getObject ("children"))) ) { 577 nodeFound = CheckSubTree ( children, theNub, theDevice, entry ); 862 IORegistryEntry * entry; local 1155 readNVRAMProperty( IORegistryEntry * entry, const OSSymbol ** name, OSData ** value ) argument 1163 writeNVRAMProperty( IORegistryEntry * entry, const OSSymbol * name, OSData * value ) argument 1313 IORegistryEntry * entry; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | if_media.c | 123 struct ifmedia_entry *entry; local 125 for (entry = LIST_FIRST(&ifm->ifm_list); entry; 126 entry = LIST_FIRST(&ifm->ifm_list)) { 127 LIST_REMOVE(entry, ifm_list); 128 FREE(entry, M_IFADDR); 143 register struct ifmedia_entry *entry; local 151 printf("Adding entry for "); 156 entry = _MALLOC(sizeof(*entry), M_IFADD [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | bsd_kern.c | 357 vm_map_entry_t entry; local 361 entry = vm_map_first_entry(map); 362 while((entry != vm_map_to_entry(map)) && (entry->vme_start < start)) { 363 entry = entry->vme_next; 366 while((entry != vm_map_to_entry(map)) && (entry->vme_start < end)) { 367 if(entry->is_sub_map) { 369 get_vmsubmap_entries(entry 388 vm_map_entry_t entry; local [all...] |
H A D | queue.h | 145 queue_entry_t entry, 219 queue_entry_t entry, 222 entry->next = pred->next; 223 entry->prev = pred; 224 (pred->next)->prev = entry; 225 pred->next = entry; 257 * Returns the first entry in the queue, 267 * Returns the entry after an item in the queue. 277 * Returns the last entry in the queue. 287 * Returns the entry befor [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/ |
H A D | vm_kern.c | 122 vm_map_entry_t entry; local 139 * will be donating to the map entry. We must do this before 149 kr = vm_map_find_space(map, &map_addr, map_size, map_mask, 0, &entry); 155 entry->object.vm_object = object; 156 entry->offset = offset = (object == kernel_object) ? 159 /* Take an extra object ref in case the map entry gets deleted */ 206 * Master entry point for allocating kernel memory. 232 vm_map_entry_t entry; local 310 vm_alloc_flags, &entry); 316 entry 976 vm_map_entry_t entry; local [all...] |
H A D | bsd_vm.c | 1013 * The vm_map call takes both named entry ports and raw memory 1015 * vm_map does not see this object as a named entry port. So, 1047 static int fill_vnodeinfoforaddr( vm_map_entry_t entry, uint32_t * vnodeaddr, uint32_t * vid); 1057 vm_map_entry_t entry; local 1076 if ((entry = tmp_entry->vme_next) == vm_map_to_entry(map)) { 1082 entry = tmp_entry; 1085 start = entry->vme_start; 1087 pinfo->pri_offset = entry->offset; 1088 pinfo->pri_protection = entry->protection; 1089 pinfo->pri_max_protection = entry 1154 fill_vnodeinfoforaddr( vm_map_entry_t entry, uint32_t * vnodeaddr, uint32_t * vid) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_cache.c | 98 * If it is a "negative" entry, (i.e. for a name that is known NOT to 1149 * We failed to find an entry 1198 * Lookup an entry in the cache 1205 * cnp pointing to the name of the entry being sought. If the lookup 1234 /* We failed to find an entry */ 1241 /* We don't want to have an entry, so dump it */ 1303 * Add an entry to the cache... 1305 * that this entry is to be associated with has 1327 * Add an entry to the cache. 1350 * if the entry i 1547 struct namecache *entry, *next; local 1746 string_t *entry, *next; local 1813 string_t *entry; local 1895 string_t *entry; local 1931 string_t *entry; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | routing_tables.h | 43 /* RTMP table entry state bitmap (EntryState) values */ 45 #define RTE_STATE_UNUSED 0 /* this entry is not in used */ 49 #define RTE_STATE_ZKNOWN 16 /* we know the zones for this entry */ 72 #define ZT_MAXEDOUT ZT_MAX+1 /* reached the entry limit.. */ 112 /* RTMP table entry */ 125 u_char ZoneBitMap[ZT_BYTES]; /* One bit per Zone defined for this entry */ 128 u_char EntryState; /* State of the entry bitmap field */ 135 /* ZIP Table entry */ 139 u_short ZoneCount; /* Count of reference to zone entry */ 146 unsigned short entryno; /* zone table entry numbe [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/ |
H A D | IONVRAM.h | 111 virtual IOReturn readNVRAMPropertyType0(IORegistryEntry *entry, 114 virtual IOReturn writeNVRAMPropertyType0(IORegistryEntry *entry, 121 virtual IOReturn readNVRAMPropertyType1(IORegistryEntry *entry, 124 virtual IOReturn writeNVRAMPropertyType1(IORegistryEntry *entry, 147 virtual IOReturn readNVRAMProperty(IORegistryEntry *entry, 150 virtual IOReturn writeNVRAMProperty(IORegistryEntry *entry,
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/default_pager/ |
H A D | dp_memory_object.c | 904 vstruct_t entry; local 946 queue_iterate(&vstruct_list.vsl_queue, entry, vstruct_t, vs_links) { 965 if (!VS_MAP_TRY_LOCK(entry)) 967 size = ps_vstruct_allocated_size(entry); 968 VS_MAP_UNLOCK(entry); 970 VS_LOCK(entry); 978 VS_LOCK(entry); 979 if (entry->vs_references == 0) { 980 VS_UNLOCK(entry); 983 pager = vs_to_mem_obj(entry); 1053 vstruct_t entry; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | rangelist.c | 47 struct rl_entry *entry; local 51 entry = CIRCLEQ_FIRST(rangelist); 53 if (CIRCLEQ_NEXT(entry, rl_link) == entry) panic("rl_verify: circular rangelist?!"); 54 if ((limit > 0) && (entry->rl_start <= limit)) panic("rl_verify: bad entry start?!"); 55 if (entry->rl_end < entry->rl_start) panic("rl_verify: bad entry end?!"); 56 limit = entry [all...] |
/macosx-10.5.8/xnu-1228.15.4/pexpert/pexpert/ |
H A D | device_tree.h | 132 Find the device tree entry that contains propName=propValue. 135 Returns: kSuccess = entry was found. Entry is in entryH. 136 kError = entry was not found 142 Locates an entry given a specified subroot (searchPoint) and path name. If the 156 This is defined by the starting entry and includes that entry plus all of it's 157 embedded entries. Second is a "currentScope" which is the entry the iterator is 158 currently in. And third is a "currentPosition" which is the last entry returned 164 currentScope are set to the root entry. The currentPosition for the iterator is 174 Move an Entry Iterator into the scope of a specified child entry [all...] |
/macosx-10.5.8/xnu-1228.15.4/libsa/ |
H A D | dgraph.c | 50 static void __dgraph_entry_free(dgraph_entry_t * entry); 178 static void __dgraph_entry_free(dgraph_entry_t * entry) argument 180 if (entry->name) { 181 dgfree(entry->name); 182 entry->name = NULL; 184 if (entry->expected_kmod_name) { 185 dgfree(entry->expected_kmod_name); 186 entry->expected_kmod_name = NULL; 188 if (entry->expected_kmod_vers) { 189 dgfree(entry [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | bsd_i386.c | 255 // duplicate any use LDT entry that was set I think this is appropriate. 332 machdep_call_t *entry; local 349 entry = &machdep_call_table[trapno]; 350 nargs = entry->nargs; 363 regs->eax = (*entry->routine.args_0)(); 366 regs->eax = (*entry->routine.args_1)(args[0]); 369 regs->eax = (*entry->routine.args_2)(args[0],args[1]); 372 if (!entry->bsd_style) 373 regs->eax = (*entry->routine.args_3)(args[0],args[1],args[2]); 378 error = (*entry 409 machdep_call_t *entry; local 847 thread_setentrypoint(thread_t thread, mach_vm_address_t entry) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/pexpert/ppc/ |
H A D | pe_init.c | 120 DTEntry entry; local 127 if( kSuccess == DTLookupEntry(NULL, "/chosen/memory-map", &entry)) { 131 if( kSuccess == DTGetProperty(entry, "BootCLUT", (void **) &map, &size)) 134 if( kSuccess == DTGetProperty(entry, "Pict-FailedBoot", (void **) &map, &size)) { 221 DTEntry entry; local 223 if( (kSuccess != DTLookupEntry(NULL, "/", &entry)) 224 || (kSuccess != DTGetProperty( entry, "AAPL,adb-keymap",
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/ |
H A D | db_print.c | 114 ipc_entry_t entry, 745 db_print_one_entry(ipc_entry_t entry, int index, mach_port_name_t name, argument 748 ipc_port_t aport = (ipc_port_t)entry->ie_object; 751 bits = entry->ie_bits; 790 ipc_entry_t entry; local 799 entry = space->is_table; 802 for (index = 0; index < size; ++index, ++entry) { 803 if (entry->ie_bits & MACH_PORT_TYPE_PORT_RIGHTS) { 805 db_print_one_entry(entry, 813 entry 830 register ipc_entry_t entry; local [all...] |