mbox_flush(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’Œ NAME

okay so this is mbox_flush(9) from the Kernel API Manual β€” it’s literally all about how to flush a mailbox channel πŸ¦‹βœ¨


πŸŽ€ SYNOPSIS

int mbox_flush (struct mbox_chan *chan , unsigned long timeout );

✨ ARGUMENTS

  • chan β€” the mailbox channel to flush πŸ’…
  • timeout β€” the time, in milliseconds, to allow the flush operation to succeed ⏱️🌸

🫢 DESCRIPTION

Mailbox controllers that need to work in atomic context can implement the ->flush callback to busy loop until a transmission has been completed. The implementation must call mbox_chan_txdone upon success. πŸ”₯

Clients can call the mbox_flush function at any time after mbox_send_message to flush the transmission. After the function returns success, the mailbox transmission is guaranteed to have completed. periodt πŸ’–


🌈 RETURN

0 on success, or a negative error code on failure. no cap πŸ˜­πŸ‘‘


πŸ¦‹ SEE ALSO

Kernel file: ./drivers/mailbox/mailbox.c πŸ“


xoxo bestie πŸ’‹ β€” this page lives in ./drivers/mailbox, dated October 2026 πŸŽ€πŸ’œ

πŸ“¦ where this page comes from