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

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

**void dmmp\_path\_group\_array\_get** **(struct dmmp\_mpath \*dmmp\_mp,** **struct dmmp\_path\_group \*\*\*dmmp\_pgs,** **uint32\_t \*dmmp\_pg\_count);**

# [ARGUMENTS](#ARGUMENTS)

[dmmp\_mp](#dmmp_mp)

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

[dmmp\_pgs](#dmmp_pgs)

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

[dmmp\_pg\_count](#dmmp_pg_count)

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

# [DESCRIPTION](#DESCRIPTION)

Retrieve the path groups of certain mpath.

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\_group\_array\_get June 2025

---

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