pipe_occupancy(9)
π NAME π
okay so bestie, this page is pipe_occupancy(9) from the Kernel API Manual β and itβs literally right there in the name: weβre checking the number of slots used in the pipe. no cap, thatβs the whole assignment. π
pipe_occupancy β Return number of slots used in the pipe β¨
πΈ SYNOPSIS πΈ
unsigned int pipe_occupancy (unsigned int head , unsigned int tail );
π¦ ARGUMENTS π¦
headβ The pipe ring head pointer. πtailβ The pipe ring tail pointer. π
π₯ SEE ALSO π₯
Kernel file ./include/linux/pipe_fs_i.h β this is the source-file bestie, and the whole squad is linked below:
struct pipe_buffer(9)union pipe_index(9)struct anon_pipe_prealloc(9)struct pipe_inode_info(9)pipe_has_watch_queue(9)pipe_empty(9)pipe_full(9)pipe_is_full(9)pipe_is_empty(9)pipe_buf_usage(9)pipe_buf(9)pipe_head_buf(9)pipe_buf_get(9)pipe_buf_release(9)pipe_buf_confirm(9)pipe_buf_try_steal(9)
mwah π β this one is filed under ./include/linux, dated October 2026, and signed pipe_occupancy(9). thatβs the whole page, bestie; go be iconic with your pipe slots π«Άβ¨
π¦ 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