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

/macosx-10.5.8/xnu-1228.15.4/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);
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIODataQueue.cpp60 IODataQueue *IODataQueue::withEntries(UInt32 numEntries, UInt32 entrySize) argument
65 if (!dataQueue->initWithEntries(numEntries, entrySize)) {
92 Boolean IODataQueue::initWithEntries(UInt32 numEntries, UInt32 entrySize) argument
94 return (initWithCapacity((numEntries + 1) * (DATA_QUEUE_ENTRY_HEADER_SIZE + entrySize)));
H A DIOCommandQueue.cpp237 int numEntries; local
252 for (numEntries = 0; consumerIndex != producerIndex; ) {
273 return numEntries;
H A DIOSharedDataQueue.cpp56 IOSharedDataQueue *IOSharedDataQueue::withEntries(UInt32 numEntries, UInt32 entrySize) argument
61 if (!dataQueue->initWithEntries(numEntries, entrySize)) {
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_xattr.c1154 u_int16_t numEntries; /* number of entries which follow */ member in struct:apple_double_header
1321 header->numEntries = SWAP16(header->numEntries);
1326 header->numEntries < 1 ||
1327 header->numEntries > 15) {
1333 header->numEntries * sizeof(apple_double_entry_t);
1341 for (i=0; i<header->numEntries; i++) {
2534 for (i = 0; i < filehdr->numEntries; ++i) {
2590 if (i != (filehdr->numEntries - 1)) {
2609 if (filehdr->numEntries
[all...]
/macosx-10.5.8/xnu-1228.15.4/libsa/
H A Dc++rem3.c620 static Boolean compareTypes(ParseContext *c, int sub, int entry, int numEntries) argument
626 if (subP->fNumEntries != numEntries)
632 for (i = 0; i < numEntries; i++, bSP++, bIP++) {

Completed in 158 milliseconds