Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/
A Ddrm_file.c931 unsigned long inflated_addr; in drm_addr_inflate() local
948 if (IS_ERR_VALUE(inflated_addr)) in drm_addr_inflate()
950 if (inflated_addr & ~PAGE_MASK) in drm_addr_inflate()
953 inflated_offset = inflated_addr & (huge_size - 1); in drm_addr_inflate()
954 inflated_addr += offset - inflated_offset; in drm_addr_inflate()
956 inflated_addr += huge_size; in drm_addr_inflate()
958 if (inflated_addr > TASK_SIZE - len) in drm_addr_inflate()
961 return inflated_addr; in drm_addr_inflate()
992 unsigned long inflated_addr; in drm_get_unmapped_area() local
1037 inflated_addr = drm_addr_inflate(inflated_addr, len, pgoff, in drm_get_unmapped_area()
[all …]
/linux/mm/
A Dshmem.c2130 unsigned long inflated_addr; in shmem_get_unmapped_area() local
2194 inflated_addr = get_area(NULL, uaddr, inflated_len, 0, flags); in shmem_get_unmapped_area()
2195 if (IS_ERR_VALUE(inflated_addr)) in shmem_get_unmapped_area()
2197 if (inflated_addr & ~PAGE_MASK) in shmem_get_unmapped_area()
2200 inflated_offset = inflated_addr & (HPAGE_PMD_SIZE-1); in shmem_get_unmapped_area()
2201 inflated_addr += offset - inflated_offset; in shmem_get_unmapped_area()
2203 inflated_addr += HPAGE_PMD_SIZE; in shmem_get_unmapped_area()
2205 if (inflated_addr > TASK_SIZE - len) in shmem_get_unmapped_area()
2207 return inflated_addr; in shmem_get_unmapped_area()

Completed in 12 milliseconds