process_recv(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ process_recv πŸ¦‹

okay bestie, welcome to the process_recv page from the Kernel API Manual, section 9 β€” and yes, it’s giving β€œsmall function, very important packet business” energy. πŸ’… The header deets and source are at the bottom, but first: the lore.

🌸 NAME 🌸

process_recv β€” receives and parses an incoming packet, fr fr. πŸ“¨

✨ SYNOPSIS ✨

void process_recv (struct ishtp_cl *cros_ish_cl , struct ishtp_cl_rb
       *rb_in_proc , ktime_t timestamp );

πŸŽ€ ARGUMENTS πŸŽ€

  • cros_ish_cl β€” the client instance you’re using to get stats. πŸ’–
  • rb_in_proc β€” the host interface message buffer. That’s the packet’s lil home. 🫢
  • timestamp β€” timestamp of when the parent callback started. ⏰

πŸ”₯ DESCRIPTION πŸ”₯

okay so here’s the vibe: process_recv parses the incoming packet. If it’s a response packet, it updates per instance flags and wakes up the caller that’s waiting for the response. 😭 If it’s an event packet, it schedules event work. That’s the whole glow-up. No cap.

🌈 SEE ALSO 🌈

Kernel file ./drivers/platform/chrome/cros_ec_ishtp.c β€” and bestie, the whole friend group is here:

mwah πŸ’‹ signed off from ./drivers/platform/chrome, dated October 2026, page process_recv(9) β€” bye bestie! 🫢

πŸ“¦ where this page comes from