Lines Matching refs:open
3 * linux/fs/open.c
765 int (*open)(struct inode *, struct file *))
812 /* normally all 3 are set; ->open() can clear them if needed */
814 if (!open)
815 open = f->f_op->open;
816 if (open) {
817 error = open(inode, f);
836 /* NB: we're sure to have correct a_ops only after f_op->open */
871 * @open: open callback
872 * @opened: state of open
876 * If the open callback is set to NULL, then the standard f_op->open()
883 * Returns zero on success or -errno if the open failed.
886 int (*open)(struct inode *, struct file *))
891 return do_dentry_open(file, d_backing_inode(dentry), open);
923 * vfs_open - open the file at the given path
924 * @path: path to open
1103 /* Don't bother even trying for create/truncate/tmpfile open */
1114 * file_open_name - open file and return file pointer
1116 * @name: struct filename containing path to open
1117 * @flags: open flags as per the open(2) second argument
1120 * This is the helper to open a file from kernelspace if you really
1135 * filp_open - open file and return file pointer
1137 * @filename: path to open
1138 * @flags: open flags as per the open(2) second argument
1141 * This is the helper to open a file from kernelspace if you really
1206 SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
1249 COMPAT_SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
1356 * Called when an inode is about to be open.
1392 * directly used as file_operations.open .