Lines Matching refs:inflated_addr
931 unsigned long inflated_addr; in drm_addr_inflate() local
946 inflated_addr = current->mm->get_unmapped_area(NULL, 0, inflated_len, in drm_addr_inflate()
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
1032 inflated_addr = drm_addr_inflate(addr, len, pgoff, flags, in drm_get_unmapped_area()
1037 inflated_addr = drm_addr_inflate(inflated_addr, len, pgoff, in drm_get_unmapped_area()
1039 return inflated_addr; in drm_get_unmapped_area()