Lines Matching refs:atomic_open
4335 * atomic_open() - atomically look up, create and open a file
4337 * @dentry: child to ->atomic_open()
4351 * FMODE_CREATED is set when the call to ->atomic_open() actually created
4357 static struct dentry *atomic_open(const struct path *path, struct dentry *dentry,
4367 error = dir_inode->i_op->atomic_open(dir_inode, dentry, file,
4393 WARN(1, "%s: ->atomic_open() left file->f_path.dentry unset!\n",
4521 if (dir_inode->i_op->atomic_open) {
4524 dentry = atomic_open(&nd->path, dentry, file, open_flag, mode,
4614 * It uses ->atomic_open or ->lookup / ->create / ->open as appropriate.
4623 * or ->atomic_open responded to __O_REGULAR.
5191 if (dir_inode->i_op->atomic_open) {
5199 /* atomic_open will dput(dentry) on error */
5201 dentry = atomic_open(path, dentry, file, flags, mode, create_error);