Searched refs:buffers (Results 1 - 4 of 4) sorted by relevance
/darwin-on-arm/xnu/tools/tests/affinity/ |
H A D | sets.c | 36 * 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 D | pool.c | 34 * 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...] |
/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IOMemoryDescriptor.h | 191 virtual bool initWithOptions(void * buffers, 205 @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. 379 @param buffers A pointer to an array of IOAddressRange when options:type is kIOMemoryTypeVirtual64 or kIOMemoryTypePhysical64 or a 64bit kernel. For type UPL it is a upl_t returned by the mach/memory_object_types.h apis, primarily used internally by the UBC. IOVirtualRanges or IOPhysicalRanges are 32 bit only types for use when options:type is kIOMemoryTypeVirtual or kIOMemoryTypePhysical on 32bit kernels. 381 @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. 383 @param offset Only used when options:type = UPL, in which case this field contains an offset for the memory within the buffers upl. 389 kIOMemoryTypeMask (options:type) kIOMemoryTypeVirtual64, kIOMemoryTypeVirtual, kIOMemoryTypePhysical64, 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. 397 static IOMemoryDescriptor *withOptions(void * buffers, 905 virtual bool initWithOptions(void * buffers,
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOMemoryDescriptor.cpp | 351 IOMemoryDescriptor::withOptions(void * buffers, argument 361 && !self->initWithOptions(buffers, count, offset, task, opts, mapper)) 370 bool IOMemoryDescriptor::initWithOptions(void * buffers, argument 587 IOGeneralMemoryDescriptor::initWithOptions(void * buffers, argument 600 && ((IOVirtualRange *) buffers)->address) 611 typePersMDData *initData = (typePersMDData *) buffers; 623 buffers = orig->_ranges.v; 655 assert(buffers); 755 iopl.fIOPL = (upl_t) buffers; 788 // I'd prefer to do _ranges = (Ranges) buffers, bu [all...] |
Completed in 77 milliseconds