Lines Matching defs:file
77 struct file *file; member
81 #define shm_file_data(file) (*((struct shm_file_data **)&(file)->private_data)) argument
273 struct file *file = vma->vm_file; in __shm_open() local
360 struct file *file = vma->vm_file; in shm_close() local
519 struct file *file = vmf->vma->vm_file; in shm_fault() local
527 struct file *file = vma->vm_file; in shm_split() local
539 struct file *file = vma->vm_file; in shm_pagesize() local
552 struct file *file = vma->vm_file; in shm_set_policy() local
564 struct file *file = vma->vm_file; in shm_get_policy() local
578 static int shm_mmap(struct file *file, struct vm_area_struct *vma) in shm_mmap()
606 static int shm_release(struct inode *ino, struct file *file) in shm_release()
617 static int shm_fsync(struct file *file, loff_t start, loff_t end, int datasync) in shm_fsync()
627 static long shm_fallocate(struct file *file, int mode, loff_t offset, loff_t len) in shm_fallocate()
637 static unsigned long shm_get_unmapped_area(struct file *file, unsigned long addr, unsigned long len, in shm_get_unmapped_area()
667 bool is_file_shm_hugepages(struct file *file) in is_file_shm_hugepages()
699 struct file *file; in newseg() local
1535 struct file *file, *base; in do_shmat() local
1755 struct file *file; in ksys_shmdt() local