Searched +path:open +path:. +path:c +refs:open (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/fs/
H A Dopen.c2 * linux/fs/open.c
672 /* NB: we're sure to have correct a_ops only after f_op->open */ open_check_o_direct()
682 int (*open)(struct inode *, struct file *), do_dentry_open()
731 if (!open) do_dentry_open()
732 open = f->f_op->open; do_dentry_open()
733 if (open) { do_dentry_open()
734 error = open(inode, f); do_dentry_open()
771 * @open: open callback
772 * @opened: state of open
776 * If the open callback is set to NULL, then the standard f_op->open()
783 * On successful return @file is a fully instantiated open file. After this, if
786 * Returns zero on success or -errno if the open failed.
789 int (*open)(struct inode *, struct file *), finish_open()
796 error = do_dentry_open(file, d_backing_inode(dentry), open, finish_open()
827 * vfs_open - open the file at the given path
828 * @path: path to open
909 * If we have O_PATH in the open flag. Then we build_open_flags()
948 * file_open_name - open file and return file pointer
950 * @name: struct filename containing path to open
951 * @flags: open flags as per the open(2) second argument
954 * This is the helper to open a file from kernelspace if you really
966 * filp_open - open file and return file pointer
968 * @filename: path to open
969 * @flags: open flags as per the open(2) second argument
972 * This is the helper to open a file from kernelspace if you really
1028 SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode) SYSCALL_DEFINE3()
1118 * Called when an inode is about to be open.

Completed in 132 milliseconds