relay_create_buf(9)
relay_create_buf(9) π Kernel API Manual
okay so weβre in the Kernel API Manual and this page is about relay_create_buf, which is lowkey giving βtiny but important buffer allocatorβ energy. bestie, letβs get into it π
β¨ NAME β¨
relay_create_buf β allocate and initialize a channel buffer πΈ
π¦ SYNOPSIS π¦
struct rchan_buf * relay_create_buf (struct rchan *chan );
π ARGUMENTS π
chanβ the relay channel, aka the main character this buffer is serving π
π DESCRIPTION π
It returns the channel buffer if everything goes off without a hitch, and NULL otherwise. Thatβs it, thatβs the whole vibe β no cap, no extra drama πβ¨
π«Ά SEE ALSO π«Ά
Kernel file ./kernel/relay.c is part of the friend group too, and the whole SEE ALSO squad is literally:
relay_mmap_prepare_buf(9)relay_alloc_buf(9)relay_destroy_channel(9)relay_destroy_buf(9)relay_remove_buf(9)relay_buf_empty(9)relay_buf_full(9)wakeup_readers(9)__relay_reset(9)relay_reset(9)relay_close_buf(9)relay_open(9)relay_switch_subbuf(9)relay_subbufs_consumed(9)relay_close(9)relay_flush(9)relay_stats(9)relay_file_open(9)relay_file_mmap_prepare(9)relay_file_poll(9)relay_file_release(9)relay_file_read_subbuf_avail(9)relay_file_read_start_pos(9)relay_file_read_end_pos(9)
mwah π this page is from source/version ./kernel, dated October 2026, and itβs literally titled relay_create_buf(9). bye bestie, slay responsibly π«Άπ»
π¦ 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