Lines Matching defs:file
5 #include <linux/file.h>
24 unsigned long alloced; /* data pages alloced to file */
33 struct timespec64 i_crtime; /* file creation time */
89 extern struct file *shmem_file_setup(const char *name,
91 extern struct file *shmem_kernel_file_setup(const char *name, loff_t size,
93 extern struct file *shmem_file_setup_with_mnt(struct vfsmount *mnt,
96 extern unsigned long shmem_get_unmapped_area(struct file *, unsigned long addr,
98 extern int shmem_lock(struct file *file, int lock, struct ucounts *ucounts);
162 static inline bool shmem_file(struct file *file)
166 if (!file || !file->f_mapping)
168 return shmem_mapping(file->f_mapping);