/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/ |
H A D | ipc_labelh.c | 74 ipc_entry_t entry; local 97 entry = ipc_entry_lookup(space, *namep); 98 if (entry != IE_NULL) 99 entry->ie_bits |= MACH_PORT_TYPE_SEND;
|
H A D | ipc_splay.c | 75 * 1) Space efficient; only two pointers per entry. 94 * of the largest entry in ltree, and ist_rtreep points to the 95 * lchild field of the smallest entry in rtree. The pointed-to 106 * to point back to the parent entry. When ascending, 300 * Picks and returns a random entry in a splay tree. 328 * Finds an entry in a splay tree. 366 * Inserts a new entry into a splay tree. 367 * The caller supplies a new entry. 375 ipc_tree_entry_t entry) 379 assert(entry ! 372 ipc_splay_tree_insert( ipc_splay_tree_t splay, mach_port_name_t name, ipc_tree_entry_t entry) argument 436 ipc_splay_tree_delete( ipc_splay_tree_t splay, mach_port_name_t name, __assert_only ipc_tree_entry_t entry) argument 714 ipc_tree_entry_t entry; local 728 ipc_tree_entry_t entry; local [all...] |
H A D | ipc_kmsg.c | 1090 ipc_entry_t entry; local 1114 entry = ipc_entry_lookup(space, dest_name); 1115 if (entry != IE_NULL) { 1117 ipc_port_t port = (ipc_port_t) entry->ie_object; 1135 if ((entry = ipc_entry_lookup(space, notify)) == IE_NULL) { 1139 if((entry->ie_bits & MACH_PORT_TYPE_RECEIVE) == 0) { 1144 notify_port = (ipc_port_t) entry->ie_object; 1163 entry = ipc_entry_lookup(space, name); 1164 if (entry == IE_NULL) 1169 if (!ipc_right_copyin_check(space, name, entry, reply_typ 2142 ipc_entry_t entry; local 2328 ipc_entry_t entry; local [all...] |
H A D | ipc_entry.h | 96 * The first entry in the table (index 0) is always free. 163 /* Search for entry in a space by name */ 168 /* Allocate an entry in a space */ 174 /* Allocate an entry in a space, growing the space if necessary */ 180 /* Allocate/find an entry in a space with a specific name */ 186 /* Deallocate an entry from a space */ 190 ipc_entry_t entry);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/ |
H A D | vm_fault.h | 136 vm_map_entry_t entry, 142 vm_map_entry_t entry,
|
H A D | vm_fault.c | 131 vm_map_entry_t entry, 3257 vm_map_entry_t entry; local 3302 while (vm_map_lookup_entry(map, laddr, &entry)) { 3303 if (ldelta > (laddr - entry->vme_start)) 3304 ldelta = laddr - entry->vme_start; 3305 if (hdelta > (entry->vme_end - laddr)) 3306 hdelta = entry->vme_end - laddr; 3307 if (entry->is_sub_map) { 3309 laddr = (laddr - entry->vme_start) 3310 + entry 3392 vm_fault_wire( vm_map_t map, vm_map_entry_t entry, pmap_t pmap, vm_map_offset_t pmap_addr) argument 3457 vm_fault_unwire( vm_map_t map, vm_map_entry_t entry, boolean_t deallocate, pmap_t pmap, vm_map_offset_t pmap_addr) argument 3598 vm_fault_wire_fast( __unused vm_map_t map, vm_map_offset_t va, vm_map_entry_t entry, pmap_t pmap, vm_map_offset_t pmap_addr) argument [all...] |
H A D | vm_pageout.c | 2605 unsigned int entry; local 2734 entry = 0; 2786 user_page_list[entry].phys_addr = 0; 2847 user_page_list[entry].phys_addr = 0; 2855 user_page_list[entry].phys_addr = 0; 2875 user_page_list[entry].phys_addr = 0; 3078 user_page_list[entry].phys_addr = 0; 3126 user_page_list[entry].phys_addr = 0; 3143 user_page_list[entry].phys_addr = 0; 3322 user_page_list[entry] 3522 vm_map_entry_t entry; local 3945 int entry; local 4429 int entry; local 4726 unsigned int entry; local [all...] |
H A D | vm_object.c | 291 vm_object_hash_entry_t entry); 302 * and returns the corresponding entry, with optional removal. 311 register vm_object_hash_entry_t entry; local 315 entry = (vm_object_hash_entry_t)queue_first(bucket); 316 while (!queue_end(bucket, (queue_entry_t)entry)) { 317 if (entry->pager == pager && !remove_entry) 318 return(entry); 319 else if (entry->pager == pager) { 320 queue_remove(bucket, entry, 322 return(entry); 337 vm_object_hash_insert( vm_object_hash_entry_t entry) argument 351 vm_object_hash_entry_t entry; local 362 vm_object_hash_entry_free( vm_object_hash_entry_t entry) argument 1584 vm_object_hash_entry_t entry; local 3060 vm_object_hash_entry_t entry, new_entry; local 3266 vm_object_hash_entry_t entry; local 3386 vm_object_hash_entry_t entry; local 3524 vm_object_hash_entry_t entry; local 4647 vm_map_entry_t entry; local 4877 vm_object_hash_entry_t entry; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | dtrace_ptss.c | 53 struct dtrace_ptss_page_entry* entry = NULL; local 86 entry = temp; 91 return entry; 95 * This function does not require any locks to be held on entry. 99 // Verify no locks held on entry 103 struct dtrace_ptss_page_entry* entry = NULL; local 120 entry = temp; 125 return entry; 129 * This function does not require any locks to be held on entry. 145 * the process's page/entry list [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_xattr.c | 1074 Info AppleDouble entry includes the length of the extended 1144 u_int32_t type; /* entry type: see list, 0 invalid */ 1145 u_int32_t offset; /* entry data offset from the beginning of the file. */ 1146 u_int32_t length; /* entry data length in bytes. */ 1296 * - that each entry fits within the file size 1301 * may be embedded in the Finder Info entry. 1340 /* Swap and sanity check each AppleDouble entry */ 1342 /* Swap the per-entry fields to native order */ 1350 * Does the entry's content start within the header itself, 1351 * did the addition overflow, or does the entry' 1393 attr_entry_t *entry; local 1514 attr_entry_t *entry; local 1880 attr_entry_t *entry; local 2099 attr_entry_t *entry; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | netboot.c | 78 IOBSDRegistryEntryRelease(void * entry); 81 IOBSDRegistryEntryGetData(void * entry, const char * property_name, 307 void * entry; local 312 entry = IOBSDRegistryEntryForDeviceTree("/chosen"); 313 if (entry == NULL) { 316 pkt = IOBSDRegistryEntryGetData(entry, BSDP_RESPONSE, &pkt_len); 321 pkt = IOBSDRegistryEntryGetData(entry, BOOTP_RESPONSE, 344 IOBSDRegistryEntryRelease(entry); 495 void * entry; local 500 entry [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOLib.cpp | 429 entry = IONew(_IOMallocContiguousEntry, 1); local 430 if (!entry) 435 entry->virtualAddr = (mach_vm_address_t) bmd->getBytesNoCopy(); 436 entry->md = bmd; 438 queue_enter( &gIOMallocContiguousEntries, entry, 442 address = (mach_vm_address_t) entry->virtualAddr; 452 _IOMallocContiguousEntry * entry; local 463 queue_iterate( &gIOMallocContiguousEntries, entry, 466 if( entry->virtualAddr == address ) { 467 md = entry [all...] |
H A D | IOCopyMapper.cpp | 53 // that this entry is valid to the hardware and that would be bad if it wasn't 241 // If we didn't find a entry in our size then break up the free block 249 freeDART[ret].fInUse = true; // Mark entry as In Use 320 // The paired alloc entry is free if we are here 340 // Add the allocation entry into it's free list and re-init it 390 ActiveDARTEntry entry = ACTIVEDARTENTRY(page); local 391 *activeDART = entry; 405 ActiveDARTEntry entry = ACTIVEDARTENTRY(pageList[i]); local 406 activeDART[i] = entry; 421 ActiveDARTEntry entry local [all...] |
H A D | IONVRAM.cpp | 465 IOReturn IODTNVRAM::readNVRAMProperty(IORegistryEntry *entry, argument 472 err = readNVRAMPropertyType1(entry, name, value); 474 err = readNVRAMPropertyType0(entry, name, value); 479 IOReturn IODTNVRAM::writeNVRAMProperty(IORegistryEntry *entry, argument 486 err = writeNVRAMPropertyType1(entry, name, value); 488 err = writeNVRAMPropertyType0(entry, name, value); 1291 IOReturn IODTNVRAM::readNVRAMPropertyType0(IORegistryEntry *entry, argument 1303 if ((entry == 0) || (name == 0) || (value == 0)) return kIOReturnBadArgument; 1305 err = IODTMakeNVDescriptor(entry, &hdr); 1328 IOReturn IODTNVRAM::writeNVRAMPropertyType0(IORegistryEntry *entry, argument 1471 readNVRAMPropertyType1(IORegistryEntry *entry, const OSSymbol **name, OSData **value) argument 1534 writeNVRAMPropertyType1(IORegistryEntry *entry, const OSSymbol *propName, OSData *value) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | bsdtask_info.h | 100 void vm_map_region_top_walk(vm_map_entry_t entry, vm_region_top_info_t top); 101 void vm_map_region_walk(vm_map_t map, vm_map_offset_t a, vm_map_entry_t entry, vm_object_offset_t offset, vm_object_size_t range, vm_region_extended_info_t extended);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/orig/ |
H A D | db_print.c | 415 ipc_entry_t entry, 1155 ipc_entry_t entry, 1160 ipc_port_t aport = (ipc_port_t)entry->ie_object; 1161 unsigned bits = entry->ie_bits; 1201 ipc_entry_t entry; local 1210 entry = space->is_table; 1213 for (index = 0; index < size; ++index, ++entry) { 1214 if (entry->ie_bits & MACH_PORT_TYPE_PORT_RIGHTS) { 1216 db_print_one_entry(entry, 1224 entry 1154 db_print_one_entry( ipc_entry_t entry, int index, mach_port_t name, boolean_t is_pset) argument 1241 register ipc_entry_t entry; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/pexpert/i386/ |
H A D | pe_init.c | 102 DTEntry entry; local 116 if( kSuccess == DTLookupEntry(NULL, "/chosen/memory-map", &entry)) { 117 if( kSuccess == DTGetProperty(entry, "BootCLUT", (void **) &map, &size)) { 122 if( kSuccess == DTGetProperty(entry, "Pict-FailedBoot", (void **) &map, &size)) {
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | security.c | 214 ipc_entry_t entry; local 233 kr = ipc_right_lookup_write(space, obj, &entry); 239 dead = ipc_right_check(space, (ipc_port_t) entry->ie_object, obj, entry); 246 objp = entry->ie_object;
|
/macosx-10.5.8/xnu-1228.15.4/libsa/ |
H A D | c++rem3.c | 620 static Boolean compareTypes(ParseContext *c, int sub, int entry, int numEntries) argument 630 bIP = &c->fInEntries[entry]; 665 static int searchDict(ParseContext *c, int entry, int numE) argument 670 if (numE == 1 && kNTBuiltIn == c->fInEntries[entry].fType) 674 if (compareTypes(c, sub, entry, numE)) 698 appendQualifiedClass(ParseContext *c, int entry) argument 709 iP = &c->fInEntries[entry]; 774 if (!newSub(c, entry, 1)) 786 int entry, numE, lastEntry; local 793 entry [all...] |
H A D | load.h | 109 kload_error kload_map_entry(dgraph_entry_t * entry);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/ |
H A D | db_examine.c | 159 int entry; local 164 for (entry = 1; (entry << 1) < sz; entry <<= 1) 167 sz = sizeof (void *) * 2 + 4 + entry * width; 168 while (sz + entry < db_max_width) { 170 sz += entry; 173 *items = entry;
|
H A D | makedis.c | 272 - More error detection, e.g., bitstring or arg not used in entry. 320 struct entry; 335 int parseentrybits(struct entry *ep, char *bitstring, int nbits, int issplice); 351 void showentry(FILE *f, struct function *fp, struct entry *ep, bits highlight); 352 void showbits(FILE *f, struct entry *ep, int nbits, bits highlight); 573 struct entry *first, *last; 632 indicates the values of those bits. So this entry matches 634 struct entry { struct 635 struct entry *next; 639 char done; /* This entry ha 1135 struct entry entry; member in struct:bitsplice [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/ |
H A D | IODeviceTreeSupport.h | 76 (IORegistryEntry * entry,
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/commpage/ |
H A D | commpage.c | 94 * 3. make a memory entry out of it 95 * 4. map that entry into the shared comm region map (R-only) 106 vm_map_entry_t entry; local 126 if (!vm_map_lookup_entry( kernel_map, vm_map_trunc_page(kernel_addr), &entry) || entry->is_sub_map) 127 panic("cannot find commpage entry"); 128 entry->object.vm_object->copy_strategy = MEMORY_OBJECT_COPY_NONE; 136 panic("cannot make entry for commpage"); 143 handle, // port is the memory entry we just made 144 0, // offset (map 1st page in memory entry) [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | tsc.c | 104 DTEntry entry; local 108 if (DTLookupEntry(0, "/efi/platform", &entry) != kSuccess) { 112 if (DTGetProperty(entry,FSB_Frequency_prop,&value,&size) != kSuccess) {
|