pipe_buf(9)
πΈ NAME πΈ
okay so bestie, we're flipping through the Kernel API Manual and the page is pipe_buf(9). It's giving very specific energy:
pipe_buf β Return the pipe buffer for the specified slot in the pipe ring. β¨
No cap, that's the function's whole deal. π
β¨ SYNOPSIS β¨
struct pipe_buffer * pipe_buf (const struct pipe_inode_info *pipe ,
unsigned int slot );
Lowkey iconic signature, right? It hands back a struct pipe_buffer *, takes a const struct pipe_inode_info *pipe, and asks for an unsigned int slot. π
π ARGUMENTS π
pipeβ The pipe to access. That's the one you're poking at, bestie. πslotβ The slot of interest. Like, which slot in the pipe ring has your attention? π
π₯ SEE ALSO π₯
Kernel file ./include/linux/pipe_fs_i.h is the friend group for this one, and the whole SEE ALSO squad is right here β no skipping, fr fr:
struct pipe_buffer(9)union pipe_index(9)struct anon_pipe_prealloc(9)struct pipe_inode_info(9)pipe_has_watch_queue(9)pipe_occupancy(9)pipe_empty(9)pipe_full(9)pipe_is_full(9)pipe_is_empty(9)pipe_buf_usage(9)pipe_head_buf(9)pipe_buf_get(9)pipe_buf_release(9)pipe_buf_confirm(9)pipe_buf_try_steal(9)
byeee bestie π«Ά the footer says source/version ./include/linux, dated October 2026, and title pipe_buf(9) β periodt. π
π¦ 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