Searched refs:NE_MIN_MEM_REGION_SIZE (Results 1 – 2 of 2) sorted by relevance
56 #define NE_MIN_MEM_REGION_SIZE (2 * 1024UL * 1024UL) macro745 if (mem_region.memory_size & (NE_MIN_MEM_REGION_SIZE - 1)) { in ne_sanity_check_user_mem_region()752 if (!IS_ALIGNED(mem_region.userspace_addr, NE_MIN_MEM_REGION_SIZE)) { in ne_sanity_check_user_mem_region()759 if ((mem_region.userspace_addr & (NE_MIN_MEM_REGION_SIZE - 1)) || in ne_sanity_check_user_mem_region()809 if (page_size(mem_region_page) & (NE_MIN_MEM_REGION_SIZE - 1)) { in ne_sanity_check_user_mem_region_page()859 max_nr_pages = mem_region.memory_size / NE_MIN_MEM_REGION_SIZE; in ne_set_user_memory_region_ioctl()938 if (phys_region_size & (NE_MIN_MEM_REGION_SIZE - 1)) { in ne_set_user_memory_region_ioctl()947 if (!IS_ALIGNED(phys_region_addr, NE_MIN_MEM_REGION_SIZE)) { in ne_set_user_memory_region_ioctl()
122 #define NE_MIN_MEM_REGION_SIZE (2 * 1024 * 1024) macro818 ne_user_mem_regions[i].memory_size = NE_MIN_MEM_REGION_SIZE; in main()