Searched refs:NE_MIN_MEM_REGION_SIZE (Results 1 – 2 of 2) sorted by relevance
57 #define NE_MIN_MEM_REGION_SIZE (2 * 1024UL * 1024UL) macro755 if (mem_region.memory_size & (NE_MIN_MEM_REGION_SIZE - 1)) { in ne_sanity_check_user_mem_region()762 if (!IS_ALIGNED(mem_region.userspace_addr, NE_MIN_MEM_REGION_SIZE)) { in ne_sanity_check_user_mem_region()769 if ((mem_region.userspace_addr & (NE_MIN_MEM_REGION_SIZE - 1)) || in ne_sanity_check_user_mem_region()819 if (page_size(mem_region_page) & (NE_MIN_MEM_REGION_SIZE - 1)) { in ne_sanity_check_user_mem_region_page()851 if (phys_mem_region_size & (NE_MIN_MEM_REGION_SIZE - 1)) { in ne_sanity_check_phys_mem_region()858 if (!IS_ALIGNED(phys_mem_region_paddr, NE_MIN_MEM_REGION_SIZE)) { in ne_sanity_check_phys_mem_region()934 max_nr_pages = mem_region.memory_size / NE_MIN_MEM_REGION_SIZE; in ne_set_user_memory_region_ioctl()
122 #define NE_MIN_MEM_REGION_SIZE (2 * 1024 * 1024) macro817 ne_user_mem_regions[i].memory_size = NE_MIN_MEM_REGION_SIZE; in main()