Searched refs:buffers (Results 1 - 4 of 4) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/tools/tests/affinity/
H A Dsets.c36 * byte. By default the buffers are 1MB (256 pages) in size but this can be
37 * overidden. By default there are 2 buffers per set (again overridable).
38 * Worker threads process (iterate over) 10000 buffers by default.
125 " [-b B] Number of buffers per set/line (2)\n"
127 "usage: sets [-b B] Number of buffers per set/line (2)\n"
131 " [-i I] Number of items/buffers to process (1000)\n"
318 * Calculate number of buffers of size pages*4096 bytes
323 "using %d buffers of size %d bytes\n",
343 int buffers = 2; local
365 buffers
[all...]
H A Dpool.c34 * and M consumer threads. The are B buffers per producer threads circulating
125 " [-b B] Number of buffers per producer (2)\n"
127 "usage: pool [-b B] Number of buffers per producer (2)\n"
129 " [-i I] Number of buffers to produce (10000)\n"
324 int buffers = 2; local
347 buffers = atoi(optarg);
401 buffers, s_if_plural(buffers));
402 if (buffers * pages < 256)
403 mutter("(total %dkB)\n", buffers * page
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIOMemoryDescriptor.h156 virtual bool initWithOptions(void * buffers,
171 @discussion Buffers may be allocated with the ability to have their purgeable status changed - IOBufferMemoryDescriptor with the kIOMemoryPurgeable option, VM_FLAGS_PURGEABLE may be passed to vm_allocate() in user space to allocate such buffers. The purgeable status of such a buffer may be controlled with setPurgeable(). The process of making a purgeable memory descriptor non-volatile and determining its previous state is atomic - if a purgeable memory descriptor is made nonvolatile and the old state is returned as kIOMemoryPurgeableVolatile, then the memory's previous contents are completely intact and will remain so until the memory is made volatile again. If the old state is returned as kIOMemoryPurgeableEmpty then the memory was reclaimed while it was in a volatile state and its previous contents have been lost.
316 @param buffers A pointer to an array of IOVirtualRanges or IOPhysicalRanges if the options:type is Virtual or Physical. For type UPL it is a upl_t returned by the mach/memory_object_types.h apis, primarily used internally by the UBC.
318 @param count options:type = Virtual or Physical count contains a count of the number of entires in the buffers array. For options:type = UPL this field contains a total length.
320 @param offset Only used when options:type = UPL, in which case this field contains an offset for the memory within the buffers upl.
326 kIOMemoryTypeMask (options:type) kIOMemoryTypeVirtual, kIOMemoryTypePhysical, kIOMemoryTypeUPL Indicates that what type of memory basic memory descriptor to use. This sub-field also controls the interpretation of the buffers, count, offset & task parameters.
335 static IOMemoryDescriptor *withOptions(void * buffers,
812 virtual bool initWithOptions(void * buffers,
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOMemoryDescriptor.cpp449 IOMemoryDescriptor::withOptions(void * buffers, argument
459 && !self->initWithOptions(buffers, count, offset, task, opts, mapper))
469 bool IOMemoryDescriptor::initWithOptions(void * buffers, argument
704 IOGeneralMemoryDescriptor::initWithOptions(void * buffers, argument
717 typePersMDData *initData = (typePersMDData *) buffers;
729 buffers = &_singleRange;
749 && ((IOVirtualRange *) buffers)->address)
767 assert(buffers);
869 upl_page_info_t *pageList = UPL_GET_INTERNAL_PAGE_LIST((upl_t) buffers);
871 iopl.fIOPL = (upl_t) buffers;
[all...]

Completed in 35 milliseconds