Searched refs:prot_flag (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/tools/testing/selftests/arm64/mte/ |
D | mte_common_util.c | 124 int prot_flag, map_flag; in __mte_allocate_memory_range() local 135 prot_flag = PROT_READ | PROT_WRITE; in __mte_allocate_memory_range() 137 prot_flag |= PROT_MTE; in __mte_allocate_memory_range() 144 ptr = mmap(NULL, entire_size, prot_flag, map_flag, fd, 0); in __mte_allocate_memory_range() 150 if (mprotect(ptr, entire_size, prot_flag | PROT_MTE)) { in __mte_allocate_memory_range()
|
D | check_mmap_options.c | 134 int run, prot_flag, result, fd, map_size; in check_clear_prot_mte_flag() local 137 prot_flag = PROT_READ | PROT_WRITE; in check_clear_prot_mte_flag() 148 if (mprotect(map_ptr, map_size, prot_flag)) { in check_clear_prot_mte_flag() 171 if (mprotect(map_ptr, map_size, prot_flag)) { in check_clear_prot_mte_flag()
|
/Linux-v5.10/drivers/video/fbdev/aty/ |
D | atyfb_base.c | 211 unsigned long prot_flag; member 1972 pgprot_val(vma->vm_page_prot) |= par->mmap_map[i].prot_flag; in atyfb_mmap() 3001 par->mmap_map[j].prot_flag = _PAGE_E; in atyfb_setup_sparc() 3014 par->mmap_map[j].prot_flag = _PAGE_E | _PAGE_IE; in atyfb_setup_sparc() 3023 par->mmap_map[j].prot_flag = _PAGE_E; in atyfb_setup_sparc() 3591 par->mmap_map[0].prot_flag = _PAGE_E; in atyfb_pci_probe() 3596 par->mmap_map[1].prot_flag = _PAGE_E; in atyfb_pci_probe()
|