ionic_queue_at(9)
πΈ NAME πΈ
ionic_queue_at β Get the element at the given index.
okay so bestie, this is ionic_queue_at from the Kernel API Manual, and itβs lowkey iconic: it hands you the element at the index you ask for. β¨
β¨ SYNOPSIS β¨
void * ionic_queue_at (struct ionic_queue *q , u16 idx );
π ARGUMENTS π
qβ Queue structure. The queue youβre working with.idxβ Index in the queue. The spot youβre grabbing from.
π¦ DESCRIPTION π¦
β οΈ Real talk: the index must be within the bounds of the queue. It is not checked here.
Like, the function is not doing a bounds check for you β no vibe check on idx, no cap. The index has to be in bounds, periodt. π
π RETURN π
A pointer to the element at index. π«Ά
π SEE ALSO π
Kernel file ./drivers/infiniband/hw/ionic/ionic_queue.h struct ionic_queue(9), ionic_queue_init(9), ionic_queue_destroy(9), ionic_queue_empty(9), ionic_queue_length(9), ionic_queue_length_remaining(9), ionic_queue_full(9), ionic_color_wrap(9), ionic_queue_at_prod(9), ionic_queue_at_cons(9), ionic_queue_next(9), ionic_queue_produce(9), ionic_queue_consume(9), ionic_queue_consume_entries(9), ionic_queue_dbell_init(9), ionic_queue_dbell_val(9).
xoxo, this page is sourced from ./drivers/infiniband/hw/ionic, dated October 2026, and itβs the ionic_queue_at(9) page. slay π
π¦ 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