Lines Matching refs:dentry
307 static char *sockfs_dname(struct dentry *dentry, char *buffer, int buflen) in sockfs_dname() argument
309 return dynamic_dname(dentry, buffer, buflen, "socket:[%lu]", in sockfs_dname()
310 dentry->d_inode->i_ino); in sockfs_dname()
317 static struct dentry *sockfs_mount(struct file_system_type *fs_type, in sockfs_mount()
362 path.dentry = d_alloc_pseudo(sock_mnt->mnt_sb, &name); in sock_alloc_file()
363 if (unlikely(!path.dentry)) in sock_alloc_file()
367 d_instantiate(path.dentry, SOCK_INODE(sock)); in sock_alloc_file()
374 ihold(path.dentry->d_inode); in sock_alloc_file()
463 static ssize_t sockfs_getxattr(struct dentry *dentry, in sockfs_getxattr() argument
472 proto_name = dentry->d_name.name; in sockfs_getxattr()
489 static ssize_t sockfs_listxattr(struct dentry *dentry, char *buffer, in sockfs_listxattr() argument
495 len = security_inode_listsecurity(dentry->d_inode, buffer, size); in sockfs_listxattr()
517 static int sockfs_setattr(struct dentry *dentry, struct iattr *iattr) in sockfs_setattr() argument
519 int err = simple_setattr(dentry, iattr); in sockfs_setattr()
522 struct socket *sock = SOCKET_I(dentry->d_inode); in sockfs_setattr()