Searched refs:shared_page (Results 1 – 1 of 1) sorted by relevance
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
D | tinjpage.c | 644 char *shared_page = NULL; in do_shared() local 648 shared_page = checked_mmap(NULL, PS, PROT_READ|PROT_WRITE, in do_shared() 683 shared_page = shmat(shm_id, NULL, 0); in do_shared() 684 if (shared_page == (char *)-1) { in do_shared() 690 memset(shared_page, 'a', 3); in do_shared() 698 expected_addr = shared_page; in do_shared() 739 shared_page, MWRITE); in do_shared() 741 if (shared_mode == IPV_SHARED && shmdt(shared_page) == -1) { in do_shared() 753 testmem("ipv shared page", shared_page, MWRITE); in do_shared() 755 if (shared_mode == IPV_SHARED && shmdt(shared_page) == -1) in do_shared() [all …]
|