---
name: "d_alloc_pseudo"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/d_alloc_pseudo"
---

# d\_alloc\_pseudo(9)

allocate a dentry (for lookup-less filesystems)

## NAME

d\_alloc\_pseudo - allocate a dentry (for lookup-less filesystems)

## SYNOPSIS

**struct dentry \* d\_alloc\_pseudo(struct super\_block \*** *sb***, const struct qstr \*** *name***);**

## ARGUMENTS

*sb*

the superblock

*name*

qstr of the name

## DESCRIPTION

For a filesystem that just pins its dentries in memory and never performs lookups at all, return an unhashed IS\_ROOT dentry.

## COPYRIGHT
