xe_bo_pinned_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_bo_pinned_init(9) β€” like, the Kernel API Manual, bestie ✨

okay so real talk, this page is called xe_bo_pinned_init(9) and it lives in the Kernel API Manual, and it's genuinely just about setting up pinned bo tracking. That's it. That's the vibe. πŸŽ€


🌸 NAME 🌸

xe_bo_pinned_init β€” Initialize pinned bo tracking 🫢

✨ SYNOPSIS ✨

int xe_bo_pinned_init (struct xe_device *xe );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • xe β€” The xe device. That's the one. The main character. πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

So basically this function initializes the lists and locks required for pinned bo tracking β€” the whole scaffolding, the organizational era, the structure of it all. πŸ—‚οΈ

And then, because it's an overachiever, it also registers a callback to dma-unmap any remaining pinned bos on pci device removal. Like, cleaning up after the party even if the party ends abruptly. no cap. πŸ’€

πŸ”₯ RETURN πŸ”₯

  • 0 on success πŸŽ‰
  • negative error code on error 😭 (yes, that's the whole mood β€” if it's not 0, it's negative, and it's bad news)

🌈 SEE ALSO 🌈

^ literally the whole friend group, go say hi to all of them πŸ’œ


ok bestie quick recap 🧚: it sets up the lists + locks for pinned bo tracking, registers that dma-unmap callback for pci device removal, returns 0 when it slays and a negative error code when it does not. periodt. πŸ’…

and that's the whole page!! mwah πŸ“

soooo for the sign-off β€” this one came from ./drivers/gpu/drm/xe, dated October 2026, and it's page xe_bo_pinned_init(9) of the Kernel API Manual. obsessively sourced, as always. πŸŽ€βœ¨

πŸ“¦ where this page comes from