enqueue(9)
π enqueue(9) π
okay so bestie, welcome to the enqueue page β straight out of the Kernel API Manual, section 9, and honestly? she's short, she's sweet, and she's got a vibe. let's get into it β¨
πΈ SYNOPSIS πΈ
int enqueue (struct most_interface *most_iface , int ch_idx , struct mbo *mbo );
like, that's the whole signature. three args, one int coming back at you. no cap. π
π ARGUMENTS π
most_ifaceβ the intended interface π«Ά like, which one you're actually talking to, bestie.ch_idxβ the ID of the channel the buffer is intended for π yes, ID, as in the channel's number.mboβ pointer to the buffer object π§Ί the actual lil buffer being handed over.
π¦ DESCRIPTION π¦
okay so here's what she does: push the buffer into pending_list π₯ and then try to transfer one buffer from pending_list β just one, don't get greedy.
Return 0 on success π, negative on failure π.
ngl the "negative on failure" thing is the whole error story here. that's it. that's the tea. π΅
π SEE ALSO π
the whole friend group, in the kernel file ./drivers/staging/most/dim2/dim2.c:
struct hdm_channel(9)dimcb_on_error(9)try_start_dim_transfer(9)deliver_netinfo_thread(9)retrieve_netinfo(9)service_done_flag(9)dim2_ahb_isr(9)complete_all_mbos(9)configure_channel(9)request_netinfo(9)poison_channel(9)get_dim2_clk_speed(9)dim2_remove(9)
so yeah π«Ά that's enqueue(9). this lil icon came to you from ./drivers/staging/most/dim2 and she's dated October 2026 β main character energy, periodt. go enqueue something, bestie ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms