Searched refs:bufSize (Results 1 – 5 of 5) sorted by relevance
| /xnu-11215/iokit/IOKit/ |
| H A D | IOReportMacros.h | 82 #define SIMPLEREPORT_INIT(buf, bufSize, providerID, channelID, cats) \ argument 84 memset((buf), '&', (bufSize)); \ 87 if ((bufSize) >= SIMPLEREPORT_BUFSIZE) { \ 237 #define STATEREPORT_INIT(nstates, buf, bufSize, providerID, channelID, cats) \ argument 239 memset((buf), '&', (bufSize)); \ 243 if ((bufSize) >= STATEREPORT_BUFSIZE(nstates)) { \ 425 #define SIMPLEARRAY_INIT(nValues, buf, bufSize, providerID, channelID, cats) \ argument 427 memset((buf), '&', (bufSize)); \ 432 if ((bufSize) >= SIMPLEARRAY_BUFSIZE(nValues)) { \ 605 memset((buf), '&', (bufSize)); \ [all …]
|
| /xnu-11215/iokit/Tests/ |
| H A D | TestIOMemoryDescriptor.cpp | 271 vm_size_t bufSize = ptoa(4); in IODMACommandLocalMappedNonContig() local 278 kr = mach_vm_allocate_kernel(kernel_map, &buffer, bufSize, in IODMACommandLocalMappedNonContig() 326 kr = mach_vm_deallocate(kernel_map, buffer, bufSize); in IODMACommandLocalMappedNonContig() 893 size_t bufSize = 8192 * 8192 * sizeof(uint32_t); in IOMemoryDescriptorTest() 903 bufSize, page_size); in IOMemoryDescriptorTest() 915 ret = md1->dmaMap(mapper, NULL, &mapSpec, 0, bufSize, &mapped, &mappedLength); in IOMemoryDescriptorTest()
|
| /xnu-11215/iokit/IOKit/pwr_mgt/ |
| H A D | RootDomain.h | 416 void copyWakeReasonString( char * outBuf, size_t bufSize ); 589 void copyShutdownReasonString( char * outBuf, size_t bufSize );
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOPMrootDomain.cpp | 10837 IOPMrootDomain::copyWakeReasonString( char * outBuf, size_t bufSize ) argument 10840 strlcpy(outBuf, gWakeReasonString, bufSize); 10845 IOPMrootDomain::copyShutdownReasonString( char * outBuf, size_t bufSize ) argument 10848 strlcpy(outBuf, gShutdownReasonString, bufSize); 12536 uint32_t bufSize; local 12576 bufSize = hdr->alloc_size; 12595 bytesRemaining = bufSize - hdr->spindump_offset; 12619 hdr->spindump_size = (bufSize - bytesRemaining - hdr->spindump_offset);
|
| /xnu-11215/libkern/c++/ |
| H A D | OSKext.cpp | 16089 size_t bufSize); 16095 size_t bufSize) argument 16107 result = strlcat(identPlusVers, kmod_info->version, bufSize); 16108 if (result >= bufSize) { 16109 identPlusVers[bufSize - 1] = '\0'; 16110 result = bufSize - 1;
|