netlbl_catmap_setlong(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ netlbl_catmap_setlong(9) πŸ¦‹

okay bestie, you're looking at the Kernel API Manual page for netlbl_catmap_setlong(9) β€” yes, the whole page, and we're gonna get through it together πŸ’…βœ¨

🌸 NAME 🌸

netlbl_catmap_setlong β€” import an unsigned long bitmap 🫢

✨ SYNOPSIS ✨

here's the signature, bestie β€” do not let the types scare you:

int netlbl_catmap_setlong (struct netlbl_lsm_catmap **catmap , u32
       offset , unsigned long bitmap , gfp_t flags );

πŸŽ€ ARGUMENTS πŸŽ€

  • catmap β€” pointer to the category bitmap, like the map you're importing into πŸ—ΊοΈ
  • offset β€” offset to the start of the imported bitmap, so it knows where the import starts πŸ“
  • bitmap β€” the bitmap to import, literally the thing being brought in 🧺
  • flags β€” memory allocation flags, the little settings for allocation 🚩

πŸ’– DESCRIPTION πŸ’–

okay so netlbl_catmap_setlong() imports the bitmap specified in bitmap into catmap, using the offset in offset. The offset must be aligned to an unsigned long β€” that's a hard requirement, not a vibe suggestion 😭. It returns zero on success and negative values on failure. Periodt. βœ…

🌈 SEE ALSO 🌈

if you're going down the netlabel rabbit hole, here's the whole friend group πŸ‘‘:


cute little sign-off from the bottom of the page: source/version ./net/netlabel, date October 2026, page netlbl_catmap_setlong(9) β€” bye bestie, slay your kernel reading πŸ«ΆπŸ’–

πŸ“¦ where this page comes from