Searched refs:numEntries (Results 1 - 6 of 6) sorted by relevance

/darwin-on-arm/xnu/iokit/IOKit/
H A DIODataQueue.h88 * @discussion This method will create a new IODataQueue instance with enough capacity for numEntries of entrySize. It does account for the IODataQueueEntry overhead for each entry. Note that the numEntries and entrySize are simply used to determine the data region size. They do not actually restrict the size of number of entries that can be added to the queue.<br> This method allocates a new IODataQueue instance and then calls initWithEntries() with the given numEntries and entrySize parameters. If the initWithEntries() fails, the new instance is released and zero is returned.
89 * @param numEntries Number of entries to allocate space for.
93 static IODataQueue *withEntries(UInt32 numEntries, UInt32 entrySize);
107 * @discussion This method will initialize an IODataQueue instance with enough capacity for numEntries of entrySize. It does account for the IODataQueueEntry overhead for each entry. Note that the numEntries and entrySize are simply used to determine the data region size. They do not actually restrict the size of number of entries that can be added to the queue.<br> This method allocates a new IODataQueue instance and then calls initWithEntries() with the given numEntries and entrySize parameters.
108 * @param numEntries Number of entries to allocate space for.
112 virtual Boolean initWithEntries(UInt32 numEntries, UInt3
[all...]
H A DIOSharedDataQueue.h77 * @discussion This method will create a new IOSharedDataQueue instance with enough capacity for numEntries of entrySize. It does account for the IODataQueueEntry overhead for each entry. Note that the numEntries and entrySize are simply used to determine the data region size. They do not actually restrict the size of number of entries that can be added to the queue.<br> This method allocates a new IODataQueue instance and then calls initWithEntries() with the given numEntries and entrySize parameters. If the initWithEntries() fails, the new instance is released and zero is returned.
78 * @param numEntries Number of entries to allocate space for.
82 static IOSharedDataQueue *withEntries(UInt32 numEntries, UInt32 entrySize);
/darwin-on-arm/xnu/iokit/Kernel/
H A DIODataQueue.cpp60 IODataQueue *IODataQueue::withEntries(UInt32 numEntries, UInt32 entrySize) argument
65 if (!dataQueue->initWithEntries(numEntries, entrySize)) {
100 Boolean IODataQueue::initWithEntries(UInt32 numEntries, UInt32 entrySize) argument
102 return (initWithCapacity((numEntries + 1) * (DATA_QUEUE_ENTRY_HEADER_SIZE + entrySize)));
H A DIOCommandQueue.cpp258 int numEntries; local
273 for (numEntries = 0; consumerIndex != producerIndex; ) {
294 return numEntries;
H A DIOSharedDataQueue.cpp56 IOSharedDataQueue *IOSharedDataQueue::withEntries(UInt32 numEntries, UInt32 entrySize) argument
61 if (!dataQueue->initWithEntries(numEntries, entrySize)) {
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_xattr.c1290 u_int16_t numEntries; /* number of entries which follow */ member in struct:apple_double_header
1455 header->numEntries = SWAP16(header->numEntries);
1460 header->numEntries < 1 ||
1461 header->numEntries > 15) {
1467 header->numEntries * sizeof(apple_double_entry_t);
1475 for (i=0; i<header->numEntries; i++) {
2748 for (i = 0; i < filehdr->numEntries; ++i) {
2804 if (i != (filehdr->numEntries - 1)) {
2823 if (filehdr->numEntries
[all...]

Completed in 23 milliseconds