| /xnu-11215/tools/tests/affinity/ |
| H A D | sets.c | 341 int buffers = 2; in main() local 359 buffers = atoi(optarg); in main() 397 auto_config(pages, &buffers, &sets); in main() 417 buffers, s_if_plural(buffers)); in main() 418 if (buffers * pages < 256) { in main() 419 mutter("(total %dkB)\n", buffers * pages * 4); in main() 421 mutter("(total %dMB)\n", buffers * pages / 256); in main() 434 lp->data = (int *) malloc(buffers * pages * 4096); in main() 466 work_array = (work_t *) malloc(buffers * sizeof(work_t)); in main() 467 for (j = 0; j < buffers; j++) { in main()
|
| H A D | pool.c | 316 int buffers = 2; in main() local 335 buffers = atoi(optarg); in main() 393 buffers, s_if_plural(buffers)); in main() 394 if (buffers * pages < 256) { in main() 395 mutter("(total %dkB)\n", buffers * pages * 4); in main() 397 mutter("(total %dMB)\n", buffers * pages / 256); in main() 432 data = (int *) malloc(buffers * pages * 4096); in main() 435 work_array = (work_t *) malloc(buffers * sizeof(work_t)); in main() 436 for (j = 0; j < buffers; j++) { in main()
|
| /xnu-11215/iokit/bsddev/skywalk/ |
| H A D | IOSkywalkSupport.cpp | 1813 IOSKMemoryBufferRef buffers[kNumBuffers]; in IOSkywalkSupportTest() local 1857 assert(buffers[0]); in IOSkywalkSupportTest() 1858 assert(IOSKBufferIsWired(buffers[0]) == false); in IOSkywalkSupportTest() 1861 assert(buffers[1]); in IOSkywalkSupportTest() 1863 assert(buffers[2]); in IOSkywalkSupportTest() 1865 assert(buffers[3]); in IOSkywalkSupportTest() 1867 assert(buffers[4]); in IOSkywalkSupportTest() 1869 assert(buffers[5]); in IOSkywalkSupportTest() 1878 ret = IOSKRegionSetBuffer(regions[0], 0, buffers[0]); in IOSkywalkSupportTest() 1880 ret = IOSKRegionSetBuffer(regions[0], 1, buffers[1]); in IOSkywalkSupportTest() [all …]
|
| /xnu-11215/tests/ |
| H A D | recvmsg_x_test.c | 93 char *buffers; in recvPackets_x() local 99 T_QUIET; T_ASSERT_NOTNULL(buffers = calloc(numMsg, buflen), "buffers calloc()"); in recvPackets_x() 112 vec[i].iov_base = buffers + (i * buflen); in recvPackets_x() 159 free(buffers); in recvPackets_x()
|
| /xnu-11215/doc/primitives/ |
| H A D | string-handling.md | 61 a length for the output buffer. **All** new string buffers should include space 89 When enabling -fbounds-safety, character buffers and NUL-terminated strings are 99 The most common use of character buffers is to build a string, and then this 104 * `strbuf` functions, explicitly accepting character buffers and a distinct 206 buffers that have lengths and some of them happen to also be NUL-terminated 207 strings, it could be simply more convenient to keep string buffers in some
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOMemoryDescriptor.h | 340 virtual bool initWithOptions(void * buffers, 591 static OSPtr<IOMemoryDescriptor> withOptions(void * buffers, 1186 virtual bool initWithOptions(void * buffers,
|
| /xnu-11215/doc/observability/ |
| H A D | mt_stackshot.md | 78 Each CPU will report information about its buffers in its 85 one should be ahead of time. Because of this, allocate kcdata buffers in 121 execution. There are circular per-cpu buffers containing a list of tracepoints,
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOMemoryDescriptor.cpp | 1784 IOMemoryDescriptor::withOptions(void * buffers, in withOptions() argument 1802 IOMemoryDescriptor::initWithOptions(void * buffers, in initWithOptions() argument 1989 && ((IOVirtualRange *) buffers)->address) { in initWithOptions() 1998 IOMDPersistentInitData *initData = (typeof(initData))buffers; in initWithOptions() 2011 buffers = orig->_ranges.v; in initWithOptions() 2044 assert(buffers); in initWithOptions() 2157 iopl.fIOPL = (upl_t) buffers; in initWithOptions() 2194 _ranges.v = (IOVirtualRange *) buffers; in initWithOptions() 2209 …&& (((IOAddressRange *) buffers)->address + ((IOAddressRange *) buffers)->length) <= 0x100000000ULL in initWithOptions() 2228 bcopy(buffers, _ranges.v, count * sizeof(IOAddressRange)); in initWithOptions() [all …]
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | IOBufferMemoryDescriptor.iig | 63 …* @param alignment For small less-than-page-size buffers, control the alignment of the memor…
|
| /xnu-11215/doc/mach_ipc/ |
| H A D | kmsg.md | 426 provided buffers and the `ipc_kmsg_t` structures. 428 These kext buffers tend to be short lived, which means that the vast majority
|
| /xnu-11215/config/ |
| H A D | MASTER | 223 # configurable options for minumum number of buffers for kernel memory 235 # set maximum space used for packet buffers
|
| /xnu-11215/doc/allocators/ |
| H A D | api-basics.md | 380 being allocated (i.e. `IOMallocData` for data only buffers, and `IOMallocType`/`IONew`
|
| /xnu-11215/doc/lifecycle/ |
| H A D | hibernation.md | 118 temporary buffers used for hibernation.
|