Lines Matching defs:filep
49 static ssize_t file_fallocate(struct file *filep, int mode, off_t offset, off_t len)
60 if (((unsigned int)(filep->f_oflags) & O_ACCMODE) == O_RDONLY) {
65 if (!filep->ops || !filep->ops->fallocate) {
72 ret = filep->ops->fallocate(filep, mode, offset, len);
108 struct file *filep = NULL;
125 int ret = fs_getfilep(fd, &filep);
131 if (filep->f_oflags & O_DIRECTORY) {
137 return file_fallocate(filep, mode, offset, len);