man > dmmp_mpath_array_get(3)

📛 NAME

dmmp_mpath_array_get - Query all existing multipath devices.

🚀 Quick Reference

Use CaseCommandDescription
Query all multipath devicesdmmp_mpath_array_get(ctx, &dmmp_mps, &dmmp_mp_count)Retrieve pointer array of all multipath device objects
Free the arraydmmp_mpath_array_free(dmmp_mps, dmmp_mp_count)Release memory allocated by the get function

📖 SYNOPSIS

int dmmp_mpath_array_get (struct dmmp_context *ctx, struct dmmp_mpath ***dmmp_mps, uint32_t *dmmp_mp_count);

📥 ARGUMENTS

ctx — Pointer of 'struct dmmp_context'. If this pointer is NULL, your program will be terminated by assert.

dmmp_mps — Output pointer array of 'struct dmmp_mpath'. If this pointer is NULL, your program will be terminated by assert.

dmmp_mp_count — Output pointer of uint32_t. Hold the size of 'dmmp_mps' pointer array. If this pointer is NULL, your program will be terminated by assert.

📝 DESCRIPTION

Query all existing multipath devices and store them into a pointer array. The memory of 'dmmp_mps' should be freed via dmmp_mpath_array_free.

📤 RETURN

int. Valid error codes are:

Error number could be converted to string by dmmp_strerror.

🚪 Exit Codes

dmmp_mpath_array_get(3)
📛 NAME 🚀 Quick Reference 📖 SYNOPSIS 📥 ARGUMENTS 📝 DESCRIPTION 📤 RETURN 🚪 Exit Codes

Generated by phpman v4.9.25-25-g40dbf62 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-16 13:31 @2600:1f28:365:80b0:8802:8bb4:3873:328e
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format