Home
last modified time | relevance | path

Searched refs:sys_prot (Results 1 – 2 of 2) sorted by relevance

/f-stack/dpdk/lib/librte_eal/unix/
H A Deal_unix_memory.c95 int sys_prot = PROT_NONE; in mem_rte_to_sys_prot() local
98 sys_prot |= PROT_READ; in mem_rte_to_sys_prot()
100 sys_prot |= PROT_WRITE; in mem_rte_to_sys_prot()
102 sys_prot |= PROT_EXEC; in mem_rte_to_sys_prot()
104 return sys_prot; in mem_rte_to_sys_prot()
112 int sys_prot; in rte_mem_map() local
114 sys_prot = mem_rte_to_sys_prot(prot); in rte_mem_map()
125 return mem_map(requested_addr, size, sys_prot, sys_flags, fd, offset); in rte_mem_map()
/f-stack/dpdk/lib/librte_eal/windows/
H A Deal_memory.c513 DWORD sys_prot = 0; in rte_mem_map() local
523 sys_prot = PAGE_EXECUTE_READ; in rte_mem_map()
527 sys_prot = PAGE_EXECUTE_READWRITE; in rte_mem_map()
532 sys_prot = PAGE_READONLY; in rte_mem_map()
536 sys_prot = PAGE_READWRITE; in rte_mem_map()
548 file_handle, NULL, sys_prot, size_high, size_low, NULL); in rte_mem_map()