gsm_data_queue(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… gsm_data_queue(9) β€” the gen-z bestie guide

okay so real talk, this one is from the Kernel API Manual and it's a tiny lil function with a big job. buckle up bestie, it's giving "small but booked and busy" πŸŽ€


✨ NAME ✨

gsm_data_queue β€” queue a UI or UIH frame. that's it. that's the whole job. iconic honestly πŸ’…


🌸 SYNOPSIS 🌸

void gsm_data_queue (struct gsm_dlci *dlci , struct gsm_msg *msg );

no return value, it just does the thing and dips. main character energy, periodt πŸ’œ


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dlci β€” the DLCI that's sending the data. it's the one pushing the frame out the door 🫢
  • msg β€” the message getting queued up. this is the actual payload bestie πŸ’Œ

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the vibe: this function adds data to the transmit queue, and then it tries to get stuff moving out of the mux tty β€” but only if that isn't already happening. no duplicate effort, we're efficient here ✨

and the way that it does all this? it takes the gsm tx lock and the dlci lock. locking queen πŸ‘‘

ngl the "tries to get stuff moving" wording means it's a nudge, not a guaranteed instant flush. don't @ me, that's literally what the man page says πŸ’€

πŸ’€ SEE ALSO πŸ’€

okay this list is LONG, like genuinely a whole friend group πŸ’– but every single one of them is part of the Kernel file ./drivers/tty/n_gsm.c saga, so here we go, in order:

like… that's the whole extended universe. iykyk 🌈


🧚 sign-off 🧚

so yeah, that's the page β€” it lives in ./drivers/tty (that's the source/version bit bestie), and it's dated October 2026 ⭐ go forth and queue those UI/UIH frames, you absolute legend πŸ‘‘πŸ’–

slay ✨

πŸ“¦ where this page comes from