pipe_buf_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ pipe_buf_get(9) ✨ β€” Kernel API Manual energy

okay so welcome to the Kernel API Manual, bestie πŸ’– today’s main character is pipe_buf_get(9), and she is here to get you a reference to a pipe_buffer. That’s the whole vibe. Let’s get into it πŸŽ€


🌸 NAME 🌸

pipe_buf_get β€” get a reference to a pipe_buffer

Like, the function name is literally doing what it says on the label. Obsessed. πŸ’…


✨ SYNOPSIS ✨

bool pipe_buf_get (struct pipe_inode_info *pipe , struct pipe_buffer *buf );

That signature is giving β€œsmall function, big responsibility,” fr fr 🌈


πŸŽ€ ARGUMENTS πŸŽ€

  • pipe β€” the pipe that the buffer belongs to. The pipe is the home base, iykyk 🫢
  • buf β€” the buffer to get a reference to. This is the little guy in question πŸ’–

πŸ’– RETURN πŸ’–

true if the reference was successfully obtained.

No cap, that’s the return value. If it worked, you get true. Periodt. ✨


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./include/linux/pipe_fs_i.h β€” and then the whole friend group is:

That’s the whole SEE ALSO squad, bestie β€” every single one is in the group chat πŸ’œ


mwah πŸ’‹ β€” this little page comes from ./include/linux, dated October 2026, and yes, the manual page is pipe_buf_get(9). Slay. πŸ‘‘

πŸ“¦ where this page comes from