mbox_client_peek_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, welcome to mbox_client_peek_data(9) from the Kernel API Manual πŸ’… this is literally the way for a client driver to pull data that the controller received from the remote. no cap, it's a whole lil helper. 🫢

✨ SYNOPSIS ✨

bool mbox_client_peek_data (struct mbox_chan *chan );

πŸŽ€ ARGUMENTS πŸŽ€

  • chan β€” Mailbox channel assigned to this client. πŸ’Œ

πŸ¦‹ DESCRIPTION πŸ¦‹

It's a lil poke to the controller driver for any received data β€” like, hey, got anything? πŸ‘€ The actual data gets passed onto the client via mbox_chan_received_data.

The call can be made from atomic context, so the controller's implementation of peek_data must not sleep. fr fr, that part is serious β€” no napping in atomic context, bestie. 😭

🌈 RETURN 🌈

  • True β€” if controller has, and is going to push after this, some data. ✨
  • False β€” if controller doesn't have any data to be read. πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/mailbox/mailbox.c is right there, and these are the related besties:


πŸ“¬ source/version: ./drivers/mailbox Β· date: October 2026 Β· page: mbox_client_peek_data(9) β€” bye bestie, go peek that data! πŸ’–πŸ’…

πŸ“¦ where this page comes from