• Home
  • Raw
  • Download

Lines Matching refs:dentry

329 static struct dentry *mqueue_mount(struct file_system_type *fs_type,  in mqueue_mount()
422 static int mqueue_create(struct inode *dir, struct dentry *dentry, in mqueue_create() argument
426 struct mq_attr *attr = dentry->d_fsdata; in mqueue_create()
457 d_instantiate(dentry, inode); in mqueue_create()
458 dget(dentry); in mqueue_create()
467 static int mqueue_unlink(struct inode *dir, struct dentry *dentry) in mqueue_unlink() argument
469 struct inode *inode = dentry->d_inode; in mqueue_unlink()
474 dput(dentry); in mqueue_unlink()
743 path->dentry->d_fsdata = attr; in do_create()
757 ret = vfs_create2(path->mnt, dir, path->dentry, mode, true); in do_create()
758 path->dentry->d_fsdata = NULL; in do_create()
773 if (inode_permission2(path->mnt, path->dentry->d_inode, acc)) in do_open()
788 struct dentry *root = mnt->mnt_root; in SYSCALL_DEFINE4()
806 path.dentry = lookup_one_len2(name->name, mnt, root, strlen(name->name)); in SYSCALL_DEFINE4()
807 if (IS_ERR(path.dentry)) { in SYSCALL_DEFINE4()
808 error = PTR_ERR(path.dentry); in SYSCALL_DEFINE4()
814 if (path.dentry->d_inode) { /* entry already exists */ in SYSCALL_DEFINE4()
815 audit_inode(name, path.dentry, 0); in SYSCALL_DEFINE4()
831 if (!path.dentry->d_inode) { in SYSCALL_DEFINE4()
835 audit_inode(name, path.dentry, 0); in SYSCALL_DEFINE4()
862 struct dentry *dentry; in SYSCALL_DEFINE1() local
875 dentry = lookup_one_len2(name->name, mnt, mnt->mnt_root, in SYSCALL_DEFINE1()
877 if (IS_ERR(dentry)) { in SYSCALL_DEFINE1()
878 err = PTR_ERR(dentry); in SYSCALL_DEFINE1()
882 inode = dentry->d_inode; in SYSCALL_DEFINE1()
887 err = vfs_unlink2(mnt, dentry->d_parent->d_inode, dentry); in SYSCALL_DEFINE1()
889 dput(dentry); in SYSCALL_DEFINE1()
991 audit_inode(NULL, f.file->f_path.dentry, 0); in SYSCALL_DEFINE5()
1107 audit_inode(NULL, f.file->f_path.dentry, 0); in SYSCALL_DEFINE5()