set_64bit_val(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ set_64bit_val(9) β€” the kernel API manual bestie edition ✨

okay so real talk, this is a page from the Kernel API Manual (yes, the actual kernel docs, we're fancy now πŸ’…) and it's all about one tiny little function that does exactly one job and does it slayfully. it's set_64bit_val, and no cap, it's giving "small but iconic" πŸŽ€


πŸ’– NAME πŸ’–

set_64bit_val β€” literally just sets a 64 bit value into a hw wqe. that's it. that's the whole vibe. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

void set_64bit_val (__le64 *wqe_words , u32 byte_index , u64 val );

look at her. three args, returns nothing, zero drama. 🌸


🌈 ARGUMENTS 🌈

  • wqe_words β€” the wqe addr you're writing to, bestie. this is the spot. the destination. the main character location 🫢
  • byte_index β€” the index in the wqe, aka where inside the wqe you're dropping your value. pick your spot carefully πŸ’…
  • val β€” the actual value to write. the payload. the moment. the u64 of it all πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

fr fr, go read these too, they're the friend group and they all hang out together:

  • Kernel file ./drivers/infiniband/hw/irdma/defs.h β€” yes, the literal file, it's right there in the irdma driver πŸ’œ
  • set_32bit_val(9) β€” the 32 bit sibling, half the bits, same energy πŸ“
  • get_64bit_val(9) β€” the getter counterpart, 64 bit, obviously ⭐
  • get_32bit_val(9) β€” and the 32 bit getter to complete the set 🧚

ngl the whole squad is just set/get Γ— 32/64 and honestly? we love a consistent family. πŸ˜­πŸ’–

so yeah, that's the whole page. hope you feel educated and also a little bit glamorous. mwah πŸ’‹

β€” cute little sign-off from the kernel file ./drivers/infiniband/hw/irdma, dated October 2026, brought to you by set_64bit_val(9) and the entire irdma hive πŸŒΈπŸ’…βœ¨

πŸ“¦ where this page comes from