Searched refs:madvise (Results 1 - 4 of 4) sorted by relevance
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | memory_tests.c | 97 * Test madvise, mincore, minherit, mlock, mlock, mmap, mprotect, msync, munmap system calls. 186 /* test madvise on anonymous memory */ 187 my_err = madvise(my_bufp, (my_page_size * 10), MADV_WILLNEED); 189 printf("madvise WILLNEED on anon memory failed with error %d - \"%s\" \n", errno, strerror( errno ) ); 202 /* test madvise on anonymous memory */ 203 my_err = madvise(my_bufp, (my_page_size * 10), MADV_DONTNEED); 205 printf("madvise DONTNEED on anon memory failed with error %d - \"%s\" \n", errno, strerror( errno ) ); 232 /* test madvise */ 233 my_err = madvise( my_addr, (my_page_size * 2), MADV_WILLNEED ); 235 printf( "madvise WILLNEE [all...] |
/darwin-on-arm/xnu/bsd/sys/ |
H A D | mman.h | 167 * Advice to madvise 226 int madvise(void *, size_t, int);
|
/darwin-on-arm/xnu/bsd/man/man2/ |
H A D | Makefile | 110 madvise.2 \
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_mman.c | 859 madvise(__unused proc_t p, struct madvise_args *uap, __unused int32_t *retval) function
|
Completed in 24 milliseconds