Lines Matching defs:mapping
463 * GEM memory mapping works by handing back to userspace a fake mmap offset
465 * up the object based on the offset and sets up the various memory mapping
489 * GEM memory mapping works by handing back to userspace a fake mmap offset
491 * up the object based on the offset and sets up the various memory mapping
528 * This uses the GFP-mask set on the shmem-mapping (see mapping_set_gfp_mask()).
543 struct address_space *mapping;
553 mapping = obj->filp->f_mapping;
567 mapping_set_unevictable(mapping);
570 p = shmem_read_mapping_page(mapping, i);
580 BUG_ON(mapping_gfp_constraint(mapping, __GFP_DMA32) &&
587 mapping_clear_unevictable(mapping);
612 struct address_space *mapping;
615 mapping = file_inode(obj->filp)->i_mapping;
616 mapping_clear_unevictable(mapping);
1037 * Set up the VMA to prepare mapping of the GEM object using the gem_vm_ops
1049 * drm_gem_mmap() prevents unprivileged users from mapping random objects. So
1065 /* Take a ref for this mapping of the object, so that the fault
1106 * If a driver supports GEM object mapping, mmap calls on the DRM file