Lines Matching refs:filp
76 mapping = obj->base.filp->f_mapping; in shmem_get_pages()
231 shmem_truncate_range(file_inode(obj->base.filp), 0, (loff_t)-1); in shmem_truncate()
255 mapping = obj->base.filp->f_mapping; in shmem_writeback()
313 mapping_clear_unevictable(file_inode(obj->base.filp)->i_mapping); in shmem_put_pages()
338 struct address_space *mapping = obj->base.filp->f_mapping; in shmem_pwrite()
393 err = pagecache_write_begin(obj->base.filp, mapping, in shmem_pwrite()
405 err = pagecache_write_end(obj->base.filp, mapping, in shmem_pwrite()
428 fput(obj->base.filp); in shmem_release()
451 struct file *filp; in __create_shmem() local
456 filp = shmem_file_setup_with_mnt(i915->mm.gemfs, "i915", size, in __create_shmem()
459 filp = shmem_file_setup("i915", size, flags); in __create_shmem()
460 if (IS_ERR(filp)) in __create_shmem()
461 return PTR_ERR(filp); in __create_shmem()
463 obj->filp = filp; in __create_shmem()
495 mapping = obj->base.filp->f_mapping; in create_shmem()
556 file = obj->base.filp; in i915_gem_object_create_shmem_from_data()