LLAPI\_PCCDEV\_GET(3) Lustre Library Functions LLAPI\_PCCDEV\_GET(3)

# [NAME](#NAME)

llapi\_pccdev\_get - List all PCC backends on a client

# [SYNOPSIS](#SYNOPSIS)

```
#include <lustre/lustreapi.h>
```

```
int llapi_pccdev_get(const char *path);
```

# [DESCRIPTION](#DESCRIPTION)

The function **llapi\_pccdev\_get()** lists all PCC backends on the client with the mount point referenced by *path*, and output the results to stdout in YAML format.

# [RETURN VALUES](#RETURN_VALUES)

**llapi\_pccdev\_get()** return 0 on success or a negative errno value on failure.

# [ERRORS](#ERRORS)

[**-ENOMEM**](#ENOMEM)

Insufficient memory to complete operation.

[**-EFAULT**](#EFAULT)

Memory region is not properly mapped.

[**-EINVAL**](#EINVAL)

One or more invalid arguments are given.

[**-EOPNOTSUPP**](#EOPNOTSUPP)

PCC backend operation is not supported.

# [AVAILABILITY](#AVAILABILITY)

**llapi\_pccdev\_get()** is part of the [**lustre**(7)](/man/enterprise-packages/lustre/lustre.7) user application interface library since release 2.13.0

# [SEE ALSO](#SEE_ALSO)

[**llapi\_pccdev\_set**(3)](/man/enterprise-packages/lustre/llapi_pccdev_set.3), [**lustreapi**(7)](/man/enterprise-packages/lustre/lustreapi.7)

2024-08-28 Lustre User API

---

Document: llapi_pccdev_get(3) from lustre 2.17.60-r0 (Chainguard OS)
Source: https://github.com/lustre/lustre-release
