Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dshmem.c2267 unsigned long inflated_addr; in shmem_get_unmapped_area() local
2331 inflated_addr = get_area(NULL, uaddr, inflated_len, 0, flags); in shmem_get_unmapped_area()
2332 if (IS_ERR_VALUE(inflated_addr)) in shmem_get_unmapped_area()
2334 if (inflated_addr & ~PAGE_MASK) in shmem_get_unmapped_area()
2337 inflated_offset = inflated_addr & (HPAGE_PMD_SIZE-1); in shmem_get_unmapped_area()
2338 inflated_addr += offset - inflated_offset; in shmem_get_unmapped_area()
2340 inflated_addr += HPAGE_PMD_SIZE; in shmem_get_unmapped_area()
2342 if (inflated_addr > TASK_SIZE - len) in shmem_get_unmapped_area()
2344 return inflated_addr; in shmem_get_unmapped_area()