skip_to_next_elem(9)
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:
qmi_calc_min_msg_len(9)qmi_encode_basic_elem(9)qmi_encode_struct_elem(9)qmi_encode_string_elem(9)qmi_encode(9)qmi_decode_basic_elem(9)qmi_decode_struct_elem(9)qmi_decode_string_elem(9)find_ei(9)qmi_decode(9)qmi_encode_message(9)qmi_decode_message(9)
π«Ά cute sign-off: this page is from./drivers/soc/qcom, datedOctober 2026, and it's all aboutskip_to_next_elem(9). byeee bestie π
π¦ 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