/darwin-on-arm/xnu/iokit/Drivers/KernelBuiltIn/ARM/AppleARMPlatform/ |
H A D | AppleARMCHRPNVRAM.cpp | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 50 // read 55 IOReturn AppleARMCHRPNVRAM::read(IOByteCount offset, UInt8 *buffer, function in class:AppleARMCHRPNVRAM
|
H A D | AppleARMCHRPNVRAM.h | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 51 virtual IOReturn read(IOByteCount offset, UInt8 *buffer,
|
/darwin-on-arm/xnu/iokit/IOKit/nvram/ |
H A D | IONVRAMController.h | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 43 virtual IOReturn read(IOByteCount offset, UInt8 *buffer,
|
/darwin-on-arm/xnu/iokit/Drivers/platform/drvAppleNVRAM/ |
H A D | AppleNVRAM.h | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 51 virtual IOReturn read(IOByteCount offset, UInt8 *buffer,
|
H A D | AppleNVRAM.cpp | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 77 // read 82 IOReturn AppleNVRAM::read(IOByteCount offset, UInt8 *buffer, function in class:AppleNVRAM
|
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | lmbench_read.c | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 66 " [-f file-to-read (default %s)]\n" 68 " [-w (store a byte to each page after read)]\n" 136 if (read(ts->ts_fd, ts->ts_buf, opts) != opts) {
|
H A D | lmbench_bw_unix.c | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 88 size_t xfer; /* bytes to read/write per "packet" */ 89 size_t bytes; /* bytes to read/write in one iteration */ 256 if ((n = read(state->pipes[0], state->buf, state->xfer)) <= 0) { 328 read(controlfd, &todo, sizeof(todo));
|
H A D | lmbench_lat_ctx.c | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 142 if (read(rd, &msg, sizeof(msg)) != sizeof(msg)) { 143 debug("read/write on pipe"); 148 debug("read/write on pipe"); 316 read(p[procs-1][0], &msg, sizeof(msg)) != sizeof(msg)) { 317 debug("write/read/write on pipe"); 413 debug("read/write on pipe"); 416 if (read(ts->p[i][0], &msg, sizeof(msg)) != sizeof(msg)) { 417 debug("read/write on pipe"); 622 debug("read/writ [all...] |
H A D | lmbench_bw_file_rd.c | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 101 static bool opti = false; // io_only or read and i/o (default read and i/o) 169 if (read(fd, buf, MIN(size, chunk)) <= 0) { 200 "notes: read and sum file via read(2) interface");
|
H A D | lmbench_bw_mmap_rd.c | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 106 static bool opti = false; // io_only or read and i/o (default read and i/o) 185 while ((size = read(sfd, buf, 8192)) > 0) { 218 "notes: read and sum file via memory mapping mmap(2) interface");
|
H A D | lmbench_select_tcp.c | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 183 read(newsock, &ts->fid, 1);
|
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | read.c | 63 " [-f file-to-read (default %s)]\n" 65 " [-w (store a byte to each page after read)]\n" 66 "notes: measures read()\n", 123 if (read(ts->ts_fd, ts->ts_buf, opts) != opts) {
|
H A D | pipe.c | 108 "notes: measures write()/read() across various transports\n", 301 n = read(s, (void *)((long)buf + total), len - total);
|
/darwin-on-arm/xnu/osfmk/arm/armv/ |
H A D | cpufunc-v7.s | 44 mrc p15, 0, r0, c2, c0, 0 @ arbitrary read of CP15 146 mrc p15, 1, r2, c0, c0, 0 @ read CCSIDR 188 mrc p15, 1, r2, c0, c0, 0 @ read CCSIDR 208 mrc p15, 1, r2, c0, c0, 0 @ read CCSIDR 228 mrc p15, 1, r2, c0, c0, 0 @ read CCSIDR 249 mrc p15, 1, r2, c0, c0, 0 @ read CCSIDR 290 mrc p15, 1, r0, c0, c0, 0 @ read CCSIDR 326 mrc p15, 1, r0, c0, c0, 1 @ read CLIDR 341 mrc p15, 1, r0, c0, c0, 0 @ read CCSIDR 372 mrc p15, 1, r0, c0, c0, 1 @ read CLID [all...] |
H A D | cpufunc-v6.s | 46 mrc p15, 0, r0, c2, c0, 0 @ arbitrary read of CP15
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | socket_tests.c | 337 my_result = read( my_accepted_socket, &my_parent_buffer[11-neededBytes], neededBytes ); 339 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 348 printf( "read call returned %ld bytes instead of 11\n", 11 - neededBytes ); 353 printf( "read wrong sendfile message from child \n" ); 361 my_result = read( my_accepted_socket, &my_parent_buffer[0], sizeof(my_parent_buffer) ); 363 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 367 printf( "read wrong message from child \n" ); 542 /* should be ready for read */ 544 printf( "poll should have returned ready for read \n" ); 548 my_count = read( my_socket [all...] |
H A D | kqueue_tests.c | 206 my_count = read( my_sockets[1], &my_buffer[0], 1 ); 208 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 212 printf( "read call on socket failed to get \"all done\" message \n" ); 230 my_count = read( my_sockets[1], &my_buffer[0], 1 ); 232 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 236 printf( "read call on socket failed to get \"all done\" message \n" ); 243 my_count = read( my_sockets[0], &my_buffer[0], sizeof(my_buffer) ); 245 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 249 printf( "read call on socket failed to get \"ready to go message\" \n" );
|
H A D | memory_tests.c | 311 my_result = read( my_fd, my_bufp, my_page_size ); 313 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
|
H A D | tests.c | 181 * Test fsync, ftruncate, lseek, pread, pwrite, read, readv, truncate, write, writev system calls. 226 my_result = read( my_fd, my_bufp, 10); 228 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 233 printf( "read call failed - should have read 0 bytes on empty file - read %ld \n", (long int) my_result ); 236 printf( "read call failed - should have read 0 bytes on empty file - read %d \n", (int) my_result ); 241 /* this write should fail since we opened for read onl [all...] |
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | lapic.h | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 178 uint32_t (*read) (lapic_register_t); member in struct:__anon934 187 #define LAPIC_READ(reg) lapic_ops->read(reg)
|
/darwin-on-arm/xnu/osfmk/mach/ |
H A D | vm32_map.defs | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 114 routine read(
|
/darwin-on-arm/xnu/tools/tests/superpages/ |
H A D | testsp.c | 165 * If we allocate a 2 MB superpage read-write without specifying an address, 208 * If we allocate a superpage of any size read-write without specifying an address 234 * If we allocate a 2 MB superpage read-write at a 2 MB aligned address, 260 * If we allocate a 2 MB superpage read-write at an unaligned address, 524 /* read kernel into superpage */ 525 if ((bytes = read(fd, (void*)(uintptr_t)addr1, SUPERPAGE_SIZE)) < SUPERPAGE_SIZE) { 526 sprintf(error, "short read (1)"); 530 /* read kernel into base pages */ 531 if ((bytes = read(fd, (void*)(uintptr_t)addr2, SUPERPAGE_SIZE)) < SUPERPAGE_SIZE) { 532 sprintf(error, "short read ( [all...] |
/darwin-on-arm/xnu/bsd/kern/ |
H A D | tty.c | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 418 * bumping generation number so that pending read/write calls 1018 * EPERM TIOCSTI, not root, not open for read 1133 case FIONREAD: /* get # bytes to read */ 1318 * Make the EXTPROC bit read only. 1671 * Flush tty read and/or write queues, notifying anyone waiting. 1931 * Process a read call on a tty device. 2017 goto read; 2032 * (m > 0 && t == 0) is the normal read case. 2042 goto read; [all...] |
/darwin-on-arm/xnu/SETUP/md/ |
H A D | md.c | 91 char file_array[IObuffer]; /* read file and store crunched names */ 325 if ((size = read(fd, file_array, sizeof (file_array))) < 0) { 327 perror("read");
|
/darwin-on-arm/xnu/osfmk/chud/i386/ |
H A D | chud_thread_i386.c | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 86 // the above are conditions where we possibly can read the kernel 117 #pragma mark **** task memory read/write **** 206 // don't try to read in the hole 265 /* read our caller */ 344 /* read our caller */ 447 /* read our caller */ 539 // nofault read of the thread->kernel_stack pointer 599 * nofault read of the registers from the kernel stack (as they can 644 // and do a nofault read o [all...] |