/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | rangelist.c | 38 static enum rl_overlaptype rl_scan_from(struct rl_head *rangelist, off_t start, off_t end, struct rl_entry **overlap, struct rl_entry *range); 39 static void rl_collapse_forwards(struct rl_head *rangelist, struct rl_entry *range); 40 static void rl_collapse_backwards(struct rl_head *rangelist, struct rl_entry *range); 41 static void rl_collapse_neighbors(struct rl_head *rangelist, struct rl_entry *range); 66 * Initialize a range list head 77 * Add a range to the list 82 struct rl_entry *range; local 95 * 1) overlap == range 96 * 2) overlap contains range 97 * 3) range contain 176 struct rl_entry *range, *next_range, *overlap, *splitrange; local 292 rl_scan_from(struct rl_head *rangelist, off_t start, off_t end, struct rl_entry **overlap, struct rl_entry *range) argument 382 rl_collapse_forwards(struct rl_head *rangelist, struct rl_entry *range) argument 410 rl_collapse_backwards(struct rl_head *rangelist, struct rl_entry *range) argument 439 rl_collapse_neighbors(struct rl_head *rangelist, struct rl_entry *range) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IODeviceMemory.cpp | 57 IODeviceMemory * range; local 65 range = IODeviceMemory::withRange( list[i].start, list[i].length ); 66 if( range) { 67 range->setTag( list[i].tag ); 68 array->setObject( range); 69 range->release();
|
H A D | IODeviceTreeSupport.cpp | 80 static void FreePhysicalMemory( vm_offset_t * range ); 292 vm_offset_t range[2]; local 295 range[0] = (vm_offset_t)infoAddr; 296 range[1] = (vm_offset_t)infoSize; 297 FreePhysicalMemory( range ); 307 static void FreePhysicalMemory( vm_offset_t * range ) 312 virt = ml_boot_ptovirt( range[0] ); 314 virt = ml_static_ptovirt( range[0] ); 317 ml_static_mfree( virt, range[1] ); 945 // look in our parent to resolve the base of the range fo 963 UInt32 *range; local 1080 IODeviceMemory *range; local [all...] |
H A D | IOBufferMemoryDescriptor.cpp | 121 IOAddressRange range; local 132 range.address = 0; 133 range.length = 0; 134 _ranges.v64 = ⦥ 279 range.address = (mach_vm_address_t) _buffer; 280 range.length = capacity; 282 if (!super::initWithOptions(&range, 1, 0,
|
H A D | IOMemoryDescriptor.cpp | 412 IOAddressRange range = { address, length }; local 413 return (IOMemoryDescriptor::withAddressRanges(&range, 1, options, task)); 728 _singleRange = orig->_singleRange; // Initialise our range 1104 // Assert that this entire I/O is withing the available range 1143 // Assert that this entire I/O is withing the available range 1258 // Find the range after the one that contains the offset 1265 // Calculate length within range and starting address 1286 // Find the range after the one that contains the offset 1293 // Calculate length within range and starting address 1326 // Go back to actual range a [all...] |
H A D | IOService.cpp | 4415 IODeviceMemory * range; local 4419 range = (IODeviceMemory *) array->getObject( index ); 4421 range = 0; 4423 return( range); 4429 IODeviceMemory * range; local 4432 range = getDeviceMemoryWithIndex( index ); 4433 if( range) 4434 map = range->map( options );
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | mtrr.c | 45 uint64_t types; /* fixed-range type octet */ 72 static void mtrr_get_var_ranges(mtrr_var_range_t * range, int count); 73 static void mtrr_set_var_ranges(const mtrr_var_range_t * range, int count); 74 static void mtrr_get_fix_ranges(mtrr_fix_range_t * range); 75 static void mtrr_set_fix_ranges(const mtrr_fix_range_t * range); 79 static void var_range_encode(mtrr_var_range_t * range, addr64_t address, 81 static int var_range_overlap(mtrr_var_range_t * range, addr64_t address, 113 * Variable-range mask to/from length conversions. 124 * Fetch variable-range MTRR register pairs. 127 mtrr_get_var_ranges(mtrr_var_range_t * range, in argument 147 mtrr_set_var_ranges(const mtrr_var_range_t * range, int count) argument 161 mtrr_get_fix_ranges(mtrr_fix_range_t * range) argument 177 mtrr_set_fix_ranges(const struct mtrr_fix_range * range) argument 553 var_range_encode(mtrr_var_range_t * range, addr64_t address, uint64_t length, uint32_t type, int valid) argument 564 var_range_overlap(mtrr_var_range_t * range, addr64_t address, uint64_t length, uint32_t type) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/ |
H A D | tr.c | 176 unsigned long range, 185 unsigned long range); 197 unsigned long range, 210 range = TRACE_WINDOW; 213 range = TRACE_WINDOW; 216 if (index + range > TRACE_MAX) 217 range = TRACE_MAX - index; 227 for (i = index; i < index + range; ++i) { 330 unsigned long range) 338 range 195 show_tr( unsigned long index, unsigned long range, unsigned long show_extra) argument 328 parse_tr( unsigned long index, unsigned long range) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | ipc_kobject.c | 213 mach_msg_id_t j, pos, nentry, range; local 216 range = mig_e[i]->end - mig_e[i]->start; 217 if (!mig_e[i]->start || range < 0) 221 for (j = 0; j < range; j++) { 606 register mach_msg_id_t j, pos, nentry, range; local 613 range = mig_e[i]->end - mig_e[i]->start; 614 if (!mig_e[i]->start || range < 0) continue; 616 for (j = 0; j < range; j++) {
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | lowmem_vectors.s | 628 .short uftNormalSyscall-baseR ; 0000 0 these syscalls are not in a reserved range 629 .short uftNormalSyscall-baseR ; 0000 1 these syscalls are not in a reserved range 630 .short uftNormalSyscall-baseR ; 0000 2 these syscalls are not in a reserved range 631 .short uftNormalSyscall-baseR ; 0000 3 these syscalls are not in a reserved range 632 .short uftNormalSyscall-baseR ; 0000 4 these syscalls are not in a reserved range 633 .short uftNormalSyscall-baseR ; 0000 5 these syscalls are not in a reserved range 634 .short uftNormalSyscall-baseR ; 0000 6 these syscalls are not in a reserved range 635 .short uftNormalSyscall-baseR ; 0000 7 these syscalls are not in a reserved range 673 .short uftNormalSyscall-baseR ; 0101 0 these syscalls are not in a reserved range 674 .short uftNormalSyscall-baseR ; 0101 1 these syscalls are not in a reserved range [all...] |
H A D | hw_exception.s | 196 addi r5,r3,-T_DATA_ACCESS ; Adjust to start of range 198 cmplwi cr2,r5,T_TRACE-T_DATA_ACCESS ; Are we still in range? (cr_gt if not) 315 * PPC-only system calls are in the range 0x6xxx 316 * PPC-only "fast" traps are in the range 0x7xxx 1623 cror cr0_eq,cr0_eq,cr1_gt ; Also leave it trap not in range 1624 btlr- cr0_eq ; No assist if AST or not trap or not user state or trap not in range
|
H A D | savearea_asm.s | 1507 addi r5,r2,-SaveLowHysteresis ; Find low end of acceptible range 1510 addi r5,r5,-(SaveLowHysteresis + SaveHighHysteresis + 1) ; Subtract full hysteresis range 1511 srawi r5,r5,31 ; Get 0xFFFFFFFF if outside range or 0 if inside 1512 and r8,r2,r5 ; r8 <- 0 if in range or distance to target if not
|
H A D | skiplists.s | 45 * efficient to purge a sparsely populated pmap of all the mappings in a large range, 46 * for example when tearing down an address space. Large-range deletes are the 423 bgt mapSrchFull64b ; no, try next mapping (r4 is advanced to end of range) 572 cmpwi r9,kSkipListMaxLists ; in range? 613 cmpwi r9,kSkipListMaxLists ; in range? 1006 cmpwi r26,kSkipListMaxLists ; in range?
|
H A D | vmachmon_asm.s | 2065 cmplwi cr5,r4,7 ; First argument in range? (ie, 0-7) 2066 bgt cr5,ufpVMret ; Return if not in the range 2250 cmplwi cr5,r4,7 ; Is first arg in range 0-7? 2251 bgt cr5,ufpXVMret ; Return if not in the range
|
H A D | start.s | 871 li r11,0 ; Set start if ICBI range
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | bsdtask_info.h | 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/vm/ |
H A D | vm_protos.h | 384 int *range);
|
H A D | vm_object.c | 1871 * pages in the specified object range. 2033 * Copy the specified range of the source 2265 * Copy the specified range of the source virtual 2612 * pages in the extended range are wired (because 2704 * pages in the range are wired (because we can't safely take 2883 * specified existing object range. The source 4148 * object range from the object's list of pages. 4777 /* to disable the range */ 6396 int *range) 6402 if (range) { 6391 vm_object_range_op( vm_object_t object, vm_object_offset_t offset_beg, vm_object_offset_t offset_end, int ops, int *range) argument [all...] |
H A D | vm_object.h | 632 int *range);
|
H A D | memory_object.c | 332 * memory object. For each page in the given range, 460 * range within an object to its memory manager. Much the 902 * when we have a really large range to check relative 919 * range) can take minutes to complete for ranges in the terrabyte 982 * we find in the range we're interested in... 996 * offset for the specified range 1851 int *range) 1863 range); 1846 memory_object_range_op( memory_object_control_t control, memory_object_offset_t offset_beg, memory_object_offset_t offset_end, int ops, int *range) argument
|
H A D | vm_map.c | 206 vm_object_size_t range, 396 * into the range by a call to vm_map_find, and removed when 903 * On PPC64, the commpage is mapped beyond the addressable range 1221 * Allocate a range in the specified virtual address map, 1222 * returning the entry allocated for that range. 1330 * available new range, and 1332 * range, and 1494 * Allocate a range in the specified virtual address map. 1495 * The resulting range will refer to memory defined by 1760 * address range, savin 9050 vm_map_region_walk( vm_map_t map, vm_map_offset_t va, vm_map_entry_t entry, vm_object_offset_t offset, vm_object_size_t range, vm_region_extended_info_t extended, boolean_t look_for_pages) argument 9508 vm_map_size_t range; local [all...] |
H A D | vm_user.c | 238 * deallocates the specified range of addresses in the 259 * deallocates the specified range of addresses in the 281 * Sets the inheritance of the specified range in the 306 * Sets the inheritance of the specified range in the 307 * specified map (range limited to addresses 331 * Sets the protection of the specified range in the 359 * Sets the protection of the specified range in the 360 * specified map. Addressability of the range limited 416 * (same range limits as for the native kernel map). 441 * Read/copy a range fro 2717 mach_memory_entry_range_op( ipc_port_t entry_port, vm_object_offset_t offset_beg, vm_object_offset_t offset_end, int ops, int *range) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | ubc_subr.c | 174 uint32_t codeLimit; /* limit to main image signature range */ 969 * the valid range for offsets, due to their relative sizes. If 1031 * Clean and/or invalidate a range in the memory object that backs this vnode 1035 * range invalidated within it 1036 * beg_off The start of the range, as an offset 1037 * end_off The end of the range, as an offset 1059 * Clean and/or invalidate a range in the memory object that backs this vnode 1063 * range invalidated within it 1064 * beg_off The start of the range, as an offset 1065 * end_off The end of the range, a 1675 ubc_range_op( struct vnode *vp, off_t f_offset_beg, off_t f_offset_end, int ops, int *range) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_cluster.c | 967 * we can't know if the range in the page that covers 1792 * this call is being made to zero-fill some range in the file 3111 int range; local 3114 if ((range = last_pg - start_pg)) { 3118 ubc_upl_abort_range(upl, start_pg * PAGE_SIZE, range * PAGE_SIZE, abort_flags); 3374 * we found a range of 'invalid' pages that must be filled 3375 * if the last page in this range is the last page of the file 3497 * compute the range of pages that we actually issued an I/O for 3773 * since the first page in this range is no 4392 * find one, then it will terminate the range o [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netkey/ |
H A D | key.c | 1705 * If range violation of reqid, kernel will 1711 "key_msg2sp: reqid=%d range " 3676 "key_mature: illegal range of SPI %u.\n", 5150 * <base, (SA2), src address, dst address, (SPI range)> 5381 /* set spi range to allocate */ 5412 u_long range = keymax - keymin + 1; /* overflow value of zero means full range */ local 5422 newspi = (range == 0 ? rand_val : keymin + (rand_val % range)); 6497 * <base, src address, dst address, (SPI range)> wit [all...] |