---
name: "lookup_one_len_unlocked"
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/lookup_one_len_unlocked"
---

# lookup\_one\_len\_unlocked(9)

filesystem helper to lookup single pathname component

## NAME

lookup\_one\_len\_unlocked - filesystem helper to lookup single pathname component

## SYNOPSIS

**struct dentry \* lookup\_one\_len\_unlocked(const char \*** *name***, struct dentry \*** *base***, int** *len***);**

## ARGUMENTS

*name*

pathname component to lookup

*base*

base directory to lookup from

*len*

maximum length *len* should be interpreted to

## DESCRIPTION

Note that this routine is purely a helper for filesystem usage and should not be called by generic code.

Unlike lookup\_one\_len, it should be called without the parent i\_mutex held, and will take the i\_mutex itself if necessary.

## COPYRIGHT
