blk_rq_map_kern(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ blk_rq_map_kern(9) πŸ¦‹

okay bestie, welcome to the Kernel API Manual πŸ’– β€” this is the blk_rq_map_kern(9) page, and it's giving "map kernel data to a request, for passthrough requests." no cap, we're gonna make it make sense.


✨ NAME ✨

blk_rq_map_kern β€” maps kernel data onto a request, specifically for passthrough requests. iconic.

🌸 SYNOPSIS 🌸

int blk_rq_map_kern (struct request *rq , void *kbuf , unsigned int len
       , gfp_t gfp_mask );

πŸ’… ARGUMENTS πŸ’…

  • rq β€” request to fill. yes, this is the request getting filled, bestie.
  • kbuf β€” the kernel buffer. the buffer. that's it. 🫢
  • len β€” length of user data. literally the length of user data.
  • gfp_mask β€” memory allocation flags. the flags for allocating memory, periodt.

🧚 DESCRIPTION 🧚

the tea: data will be mapped directly if possible. otherwise a bounce buffer is used. and you can call it multiple times to append multiple buffers. so if you need to append buffers, go off. πŸ”₯

🌈 SEE ALSO 🌈


and that's the tea πŸ“ β€” source ./block, dated October 2026, page blk_rq_map_kern(9). periodt, bestie πŸ’œ

πŸ“¦ where this page comes from