mei_ext_next(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mei_ext_next β€” a Kernel API Manual moment

ok so this is mei_ext_next from the kernel API manual, bestie, and it's genuinely one of the cutest little helper functions ever β€” it's literally just "hey, what's the next extended header on the TLV list?" πŸŽ€

✨ NAME ✨

mei_ext_next β€” following extended header on the TLV list πŸ¦‹

✨ SYNOPSIS ✨

struct mei_ext_hdr * mei_ext_next (struct mei_ext_hdr *ext );

✨ ARGUMENTS ✨

  • ext β€” the current extend header, like, the one you're standing on right now πŸ‘‘ (yes it's spelled "extend" in the original, we don't fix it, we respect it)

✨ CONTEXT ✨

ok this is the part where you gotta pay attention bestie, no scrolling past πŸ™ˆ

fr fr β€” this function does not check for overflows. one should call mei_ext_last before. that's the whole vibe check. do that first.

✨ RETURN ✨

the following extend header after ext ✨ that's it, that's the whole gift 🎁

✨ SEE ALSO ✨

Kernel file ./drivers/misc/mei/hw.h πŸ’– plus the whole extended family, and we are not leaving anybody out of the group chat:

  • enum mei_hbm_status(9)
  • enum mei_ext_hdr_type(9)
  • struct mei_ext_hdr(9)
  • struct mei_ext_meta_hdr(9)
  • struct mei_ext_hdr_vtag(9)
  • mei_ext_begin(9)
  • mei_ext_last(9)
  • struct mei_ext_hdr_gsc_h2f(9)
  • struct mei_ext_hdr_gsc_f2h(9)
  • mei_ext_hdr_len(9)
  • struct mei_msg_hdr(9)
  • struct mei_hbm_cl_cmd(9)
  • enum hbm_host_enum_flags(9)
  • struct hbm_host_enum_request(9)
  • struct mei_client_properties(9)
  • struct hbm_add_client_request(9)
  • struct hbm_add_client_response(9)
  • struct hbm_power_gate(9)
  • struct hbm_client_connect_request(9)
  • struct hbm_client_connect_response(9)
  • struct hbm_notification_request(9)
  • struct hbm_notification_response(9)
  • struct hbm_notification(9)
  • struct hbm_dma_mem_dscr(9)
  • struct hbm_dma_setup_request(9)
  • struct hbm_dma_setup_response(9)
  • struct hbm_dma_ring_ctrl(9)
  • struct hbm_capability_request(9)
  • struct hbm_capability_response(9)
  • struct hbm_client_dma_map_request(9)
  • struct hbm_client_dma_unmap_request(9)
  • struct hbm_client_dma_response(9)

and that's the whole page, bestie, you ate that 🫢 this iconic little drop comes straight outta ./drivers/misc/mei, dated October 2026 β€” see you in the next header, mwah πŸ’œπŸŒΈ

πŸ“¦ where this page comes from