• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/

Lines Matching refs:capacity

102                                vm_size_t    capacity,
107 return (initWithPhysicalMask(inTask, options, capacity, alignment, physicalMask));
113 mach_vm_size_t capacity,
124 if (!capacity)
128 _capacity = capacity;
210 address = IOMallocPhysical(capacity, physicalMask);
228 _buffer = (void *) IOKernelAllocateContiguous(capacity, alignment);
230 _buffer = IOMallocAligned(capacity, alignment);
232 _buffer = IOMalloc(capacity);
241 vm_size_t size = round_page_32(capacity);
248 if( (KERN_SUCCESS == kr) && (size != round_page_32(capacity))) {
269 volatile UInt8 * endAddr = (UInt8 *)_buffer + capacity;
280 range.length = capacity;
342 setLength(capacity);
350 vm_size_t capacity,
355 if (me && !me->initWithOptions(options, capacity, alignment, inTask)) {
362 if (me && !me->initWithOptions(options, capacity, alignment, inTask))
375 mach_vm_size_t capacity,
380 if (me && !me->initWithPhysicalMask(inTask, options, capacity, 1, physicalMask))
388 if (me && !me->initWithPhysicalMask(inTask, options, capacity, 1, physicalMask))
400 vm_size_t capacity,
403 return( initWithOptions(options, capacity, alignment, kernel_task) );
408 vm_size_t capacity,
411 return(IOBufferMemoryDescriptor::inTaskWithOptions(kernel_task, options, capacity, alignment));
419 * hold capacity bytes. The descriptor's length is initially set to the capacity.
436 * The descriptor's length and capacity are set to the input buffer's size.
462 * The descriptor's length and capacity are set to the input buffer's size.
541 * Get the buffer capacity
553 * the capacity. The length can be adjusted via setLength for a shorter
556 * that the specified length must not exceed the capacity of the buffer.
583 * will not copy past the end of the memory descriptor's current capacity.