skip_to_next_elem(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to skip_to_next_elem(9) from the Kernel API Manual πŸ’…βœ¨

πŸŽ€ NAME πŸŽ€

skip_to_next_elem β€” skip to the next element in the structure to be encoded πŸ¦‹

🌸 SYNOPSIS 🌸

const struct qmi_elem_info * skip_to_next_elem (const struct
qmi_elem_info *ei_array , int level );

πŸ’… ARGUMENTS πŸ’…

  • ei_array β€” the struct info describing the element to be skipped 🫢
  • level β€” the depth level of encoding/decoding to identify nested structures ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so picture this: this function is used while encoding optional elements. If the flag corresponding to an optional element is not set, then encoding the optional element can be skipped. This function can be used to perform that operation, periodt πŸ’–

πŸ”₯ RETURN πŸ”₯

You get back the struct info of the next element that can be encoded πŸ‘‘βœ¨

🌈 SEE ALSO 🌈

Kernel file: ./drivers/soc/qcom/qmi_encdec.c β€” plus the whole squad:


🫢 cute sign-off: this page is from ./drivers/soc/qcom, dated October 2026, and it's all about skip_to_next_elem(9). byeee bestie πŸ’–
πŸ“¦ where this page comes from