Searched refs:my_addr (Results 1 - 3 of 3) sorted by relevance
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | memory_tests.c | 107 char * my_addr = NULL; local 218 my_addr = (char *) mmap( NULL, (my_page_size * 2), (PROT_READ | PROT_WRITE), (MAP_FILE | MAP_SHARED), my_fd, 0 ); 219 if ( my_addr == (char *) -1 ) { 226 if ( *my_addr != 'j' || *(my_addr + my_page_size) != 'j' ) { 233 my_err = madvise( my_addr, (my_page_size * 2), MADV_WILLNEED ); 240 my_err = madvise( my_addr, (my_page_size * 2), MADV_DONTNEED ); 248 my_err = mlock( my_addr, my_page_size ); 263 my_err = mincore( my_addr, 1, my_bufp ); 269 /* page my_addr i [all...] |
H A D | shared_memory_tests.c | 101 char * my_addr = NULL; local 133 my_addr = (char *) mmap( NULL, 4096, (PROT_READ | PROT_WRITE), (MAP_FILE | MAP_SHARED), my_fd, 0 ); 134 if ( my_addr == (char *) -1 ) {
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_subr.c | 707 struct user_iovec * my_addr; local 715 my_addr = (struct user_iovec *) a_uio->uio_iovs.uiovp; 721 my_addr = 0; 723 return(my_addr);
|
Completed in 24 milliseconds