Home
last modified time | relevance | path

Searched refs:checked_mmap (Results 1 – 3 of 3) sorted by relevance

/third_party/ltp/testcases/kernel/mce-test/tsrc/
Dtinjpage.c65 void *checked_mmap(void *start, size_t length, int prot, int flags, in checked_mmap() function
358 page = checked_mmap(NULL, PS, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_POPULATE, 0, 0); in dirty_anonymous()
365 page = checked_mmap(NULL, PS, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_POPULATE, 0, 0); in dirty_anonymous_unmap()
373 page = checked_mmap(NULL, PS, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_LOCKED, 0, 0); in mlocked_anonymous()
386 page = checked_mmap(NULL, PS, PROT_READ|PROT_WRITE, MAP_SHARED|flags, in do_file_clean()
420 page = checked_mmap(NULL, PS, PROT_READ, in do_file_dirty()
429 page = checked_mmap(NULL, PS, PROT_READ, MAP_SHARED|MAP_POPULATE|flags, in do_file_dirty()
437 page = checked_mmap(NULL, PS, PROT_READ, MAP_SHARED|flags, fd, 0); in do_file_dirty()
472 page = checked_mmap(NULL, PS, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in file_hole()
496 page = checked_mmap(NULL, PS*NPAGES, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in nonlinear()
[all …]
Dtsoftinj.c41 void *checked_mmap(void *addr, size_t length, int prot, int flags, in checked_mmap() function
100 char *p = checked_mmap(NULL, PS, PROT_READ|PROT_WRITE, in disk_backed()
110 char *p = checked_mmap(NULL, PS, PROT_READ|PROT_WRITE, in anonymous()
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/
Dpage-poisoning.c186 static void *checked_mmap(void *start, size_t length, int prot, int flags, in checked_mmap() function
363 page = checked_mmap(NULL, PS, PROT_READ | PROT_WRITE, in dirty_anonymous()
379 page = checked_mmap(NULL, PS, PROT_READ | PROT_WRITE, in dirty_anonymous_unmap()
396 page = checked_mmap(NULL, PS, PROT_READ | PROT_WRITE, in mlocked_anonymous()
413 page = checked_mmap(NULL, PS, PROT_READ | PROT_WRITE, MAP_SHARED | flags, in do_file_clean()
463 page = checked_mmap(NULL, PS, PROT_READ, in do_file_dirty()
473 page = checked_mmap(NULL, PS, PROT_READ, MAP_SHARED | MAP_POPULATE | flags, in do_file_dirty()
482 page = checked_mmap(NULL, PS, PROT_READ, MAP_SHARED | flags, fd, 0); in do_file_dirty()
564 page = checked_mmap(NULL, PS, PROT_READ | PROT_WRITE, in clean_anonymous()