libnvme_scan_topology(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… NAME β€” libnvme_scan_topology πŸ’…

okay so bestie, this page is from the libnvme API manual, and it's literally about libnvme_scan_topology β€” scan NVMe topology and apply filter. no cap, that's the whole vibe πŸ¦‹


✨ SYNOPSIS ✨

int libnvme_scan_topology (struct libnvme_global_ctx *ctx ,
libnvme_scan_filter_t f , void *f_args );

🧾 ARGUMENTS 🧾

  • ctx β€” a struct libnvme_global_ctx object. like, the whole global context situation πŸ’–
  • f β€” the filter to apply. yep, this is the one doing the vibe check ✨
  • f_args β€” user-specified argument to f. your lil extra thing passed straight to the filter πŸŽ€

πŸ” DESCRIPTION πŸ”

Scans the NVMe topology and filters out the resulting elements by applying f. so it's giving topology scan + filter application, and applying f is literally the whole move πŸ’…

🫢 RETURN 🫢

0 on success, negative error code otherwise. that's the return vibe: 0 = slay, negative error code = not slay 😭


πŸ’– xoxo, your libnvme bestie β€” from the libnvme API manual, dated October 2026, page libnvme_scan_topology(9) ✨

πŸ“¦ where this page comes from