Lines Matching refs:open

3  *  linux/fs/open.c
875 int (*open)(struct inode *, struct file *))
924 /* normally all 3 are set; ->open() can clear them if needed */
926 if (!open)
927 open = f->f_op->open;
928 if (open) {
929 error = open(inode, f);
1005 * @open: open callback
1009 * If the open callback is set to NULL, then the standard f_op->open()
1016 * Returns zero on success or -errno if the open failed.
1019 int (*open)(struct inode *, struct file *))
1024 return do_dentry_open(file, d_backing_inode(dentry), open);
1056 * vfs_open - open the file at the given path
1057 * @path: path to open
1088 * dentry_create - Create and open a file
1129 * kernel_file_open - open a file for kernel internal use
1130 * @path: path of the file to open
1131 * @flags: open flags
1133 * @cred: credentials for open
1162 * backing_file_open - open a backing file for kernel internal use
1163 * @path: path of the file to open
1164 * @flags: open flags
1166 * @cred: credentials for open
1336 /* Don't bother even trying for create/truncate/tmpfile open */
1347 * file_open_name - open file and return file pointer
1349 * @name: struct filename containing path to open
1350 * @flags: open flags as per the open(2) second argument
1353 * This is the helper to open a file from kernelspace if you really
1368 * filp_open - open file and return file pointer
1370 * @filename: path to open
1371 * @flags: open flags as per the open(2) second argument
1374 * This is the helper to open a file from kernelspace if you really
1438 SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
1483 COMPAT_SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
1612 * Called when an inode is about to be open.
1648 * directly used as file_operations.open .