---
name: "dmmp_mpath_kdev_name_get"
section: "3"
platform: "linux"
package: "multipath-tools"
version: "0.15.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/dmmp_mpath_kdev_name_get"
---

# dmmp\_mpath\_kdev\_name\_get(3)

Retrieve kernel DEVNAME of certain mpath.

## NAME

dmmp\_mpath\_kdev\_name\_get - Retrieve kernel DEVNAME of certain mpath.

## SYNOPSIS

**const char \* dmmp\_mpath\_kdev\_name\_get** **(struct dmmp\_mpath \****dmmp\_mp***);**

## ARGUMENTS

- dmmp\_mp

  Pointer of 'struct dmmp\_mpath'. If this pointer is NULL, your program will be terminated by assert.

## DESCRIPTION

Retrieve DEVNAME name used by kernel uevent of specified mpath. For example: 'dm-1'.

## RETURN

const char \*. No need to free this memory, the resources will get freed when **dmmp\_mpath\_array\_free**.
