dmmp\_path\_array\_get(3) Device Mapper Multipath API - libdmmp Manual dmmp\_path\_array\_get(3)

# [NAME](#NAME)

dmmp\_path\_array\_get - Retrieve path pointer array.

# [SYNOPSIS](#SYNOPSIS)

**void dmmp\_path\_array\_get** **(struct dmmp\_path\_group \*dmmp\_pg,** **struct dmmp\_path \*\*\*dmmp\_ps,** **uint32\_t \*dmmp\_p\_count);**

# [ARGUMENTS](#ARGUMENTS)

[dmmp\_pg](#dmmp_pg)

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

[dmmp\_ps](#dmmp_ps)

Output pointer of 'struct dmmp\_path' pointer array. If this pointer is NULL, your program will be terminated by assert.

[dmmp\_p\_count](#dmmp_p_count)

Output pointer of uint32\_t. Hold the size of 'dmmp\_ps' pointer array. If this pointer is NULL, your program will be terminated by assert.

# [DESCRIPTION](#DESCRIPTION)

The memory of output pointer array is hold by 'struct dmmp\_mpath', no need to free this memory, the resources will got freed when **dmmp\_mpath\_array\_free**.

# [RETURN](#RETURN)

void

dmmp\_path\_array\_get June 2025

---

Document: dmmp_path_array_get(3) from multipath-tools 0.15.1-r0 (Chainguard OS)
Source: https://github.com/opensvc/multipath-tools
