Lines Matching refs:dentry
305 struct dentry *dentry = unix_sk(s)->path.dentry; in unix_find_socket_byinode() local
307 if (dentry && dentry->d_inode == i) { in unix_find_socket_byinode()
513 u->path.dentry = NULL; in unix_release_sock()
549 if (path.dentry) in unix_release_sock()
758 u->path.dentry = NULL; in unix_create1()
894 inode = path.dentry->d_inode; in unix_find_other()
920 struct dentry *dentry; in unix_find_other() local
921 dentry = unix_sk(u)->path.dentry; in unix_find_other()
922 if (dentry) in unix_find_other()
938 struct dentry *dentry; in unix_mknod() local
945 dentry = kern_path_create(AT_FDCWD, sun_path, &path, 0); in unix_mknod()
946 err = PTR_ERR(dentry); in unix_mknod()
947 if (IS_ERR(dentry)) in unix_mknod()
953 err = security_path_mknod(&path, dentry, mode, 0); in unix_mknod()
955 err = vfs_mknod(path.dentry->d_inode, dentry, mode, 0); in unix_mknod()
958 res->dentry = dget(dentry); in unix_mknod()
961 done_path_create(&path, dentry); in unix_mknod()
1019 hash = path.dentry->d_inode->i_ino & (UNIX_HASH_SIZE-1); in unix_bind()
1306 if (otheru->path.dentry) { in unix_stream_connect()