uverbs_attr_get_uobjs_arr(9)
π uverbs_attr_get_uobjs_arr(9) β¨
okay bestie, welcome to the Kernel API Manual, we're doing kernel internals today and honestly? it's giving main character energy π this one lives in the (9) section, iykyk.
πΈ NAME πΈ
uverbs_attr_get_uobjs_arr β literally hands you the array's properties for an attribute when the type is UVERBS_ATTR_TYPE_IDRS_ARRAY π¦
β¨ SYNOPSIS β¨
int uverbs_attr_get_uobjs_arr (const struct uverbs_attr_bundle
*attrs_bundle , u16 attr_idx , struct ib_uobject ***arr );
π ARGUMENTS π
attrs_bundleβ bestie... the manpage says -- undescribed -- π so that's all we got, no cap. it's theconst struct uverbs_attr_bundle *up there, and that's the tea.attr_idxβ also -- undescribed -- π it's theu16index, iconic but mysterious.arrβ this one's the good one π«Ά it's the returned pointer to an array of pointers for uobjects, orNULLif the attribute isn't provided. periodt.
π₯ RETURN π₯
the array length π« ... or 0 if no attribute was provided. that's it, that's the whole vibe check β
π¦ SEE ALSO π¦
kernel file ./include/rdma/uverbs_ioctl.h β go read it, it's right there π
ib_copy_validate_udata_in(9)ib_copy_validate_udata_in_cm(9)ib_is_udata_in_empty(9)ib_respond_udata(9)ib_respond_empty_udata(9)ib_no_udata_io(9)
and that's the page, bestie π shoutout to ./include/rdma for hosting this whole situation, stamped October 2026 β so put it in your calendar, uverbs_attr_get_uobjs_arr(9) is a whole era π§ββοΈπΈ slay, go read your attrs. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms