INIT_KFIFO(9)
π INIT_KFIFO(9) β the Kernel API Manual, bestie edition
okay so real talk, this is INIT_KFIFO from the kernel API manual, and honestly? she's a short one. a little icon, a little moment. let's get into it β¨
πΈ NAME πΈ
INIT_KFIFO β she initializes a fifo that was declared by DECLARE_KFIFO. that's the whole gig. no cap. π
π¦ SYNOPSIS π¦
INIT_KFIFO (fifo );
look at her. one argument. minimal. main character energy fr fr π
β ARGUMENTS β
fifoβ the name of the declared fifo datatype. that's it, that's the whole argument. you hand her the name of the thing you already declared and she does her little initialization slay π«Ά
π SEE ALSO π
bestie the cross-references here are giving extensive. like she knows everyone at the party. π
Kernel file ./include/linux/kfifo.h, plus:
DECLARE_KFIFO_PTR(9)DECLARE_KFIFO(9)DEFINE_KFIFO(9)kfifo_initialized(9)kfifo_esize(9)kfifo_recsize(9)kfifo_size(9)kfifo_reset(9)kfifo_reset_out(9)kfifo_len(9)kfifo_is_empty(9)kfifo_is_empty_spinlocked(9)kfifo_is_empty_spinlocked_noirqsave(9)kfifo_is_full(9)kfifo_avail(9)kfifo_skip_count(9)kfifo_skip(9)kfifo_peek_len(9)kfifo_alloc(9)kfifo_alloc_node(9)kfifo_free(9)kfifo_init(9)kfifo_put(9)kfifo_get(9)kfifo_peek(9)kfifo_in(9)kfifo_in_spinlocked(9)kfifo_in_spinlocked_noirqsave(9)kfifo_out(9)kfifo_out_spinlocked(9)kfifo_out_spinlocked_noirqsave(9)kfifo_from_user(9)kfifo_to_user(9)kfifo_dma_in_prepare_mapped(9)kfifo_dma_in_finish(9)kfifo_dma_out_prepare_mapped(9)kfifo_dma_out_finish(9)kfifo_out_peek(9)kfifo_out_linear(9)kfifo_out_linear_ptr(9)
like i said. she knows everyone. iykyk π
ngl this page is short but she ate. if you're messing with kfifos in the kernel, the whole squad above has your back π
and that's the tea, bestie π this gem came out of ./include/linux, dated October 2026 β catch you on the next page, mwah πππ§
π¦ 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