Lines Matching refs:file
36 struct file * file = NULL; in sys_mmap2() local
49 file = fget(fd); in sys_mmap2()
50 if (!file) in sys_mmap2()
55 error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff); in sys_mmap2()
58 if (file) in sys_mmap2()
59 fput(file); in sys_mmap2()
77 struct file * file = NULL;
93 file = fget(a.fd);
94 if (!file)
100 error = do_mmap_pgoff(file, a.addr, a.len, a.prot, a.flags, pgoff);
102 if (file)
103 fput(file);