Lines Matching defs:file
15 #include <linux/file.h>
166 cifs_dbg(FYI, "Invalid file name\n");
175 /* Inode operations in similar order to how they appear in Linux file fs.h */
227 * with that. If it's not a regular file, just
325 * If Open reported that we actually created a file then we now have to
419 struct file *file, unsigned oflags, umode_t mode)
436 * Posix open is only called (at lookup time) for file create now. For
437 * opens (rather than creates), because we do not know if it is a file
440 * to be a dir. For file opens, we wait to call posix open till
460 return finish_no_open(file, res);
495 file->f_mode |= FMODE_CREATED;
497 rc = finish_open(file, direntry, generic_file_open);
505 if (file->f_flags & O_DIRECT &&
508 file->f_op = &cifs_file_direct_nobrl_ops;
510 file->f_op = &cifs_file_direct_ops;
513 file_info = cifs_new_fileinfo(&fid, file, tlink, oplock, buf.symlink_target);
522 fscache_use_cookie(cifs_inode_cookie(file_inode(file)),
523 file->f_mode & FMODE_WRITE);
738 * (file was deleted or recreated)