STRUCT LOGIC_IOMEM_REGION_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to the Kernel API Manual page for struct logic_iomem_region_ops(9) β€” and no cap, the star of this page is struct logic_iomem_region_ops, which is literally ops for an IO memory handler πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole struct definition, copied exactly, zero edits:

       struct logic_iomem_region_ops {
           long (*map)(unsigned long offset, size_t size, const struct
       logic_iomem_ops **ops, void **priv);
        };

πŸŽ€ Members πŸŽ€

  • map β€” maps a range in the registered IO memory region. It must fill *ops with the ops and may fill *priv to be passed to the ops. The offset is given as the offset into the registered resource region. The return value is negative for errors, or >= 0 for success. On success, the return value is added to the offset for later ops, to allow for partial mappings. so if it comes back negative that's an error bestie, and if it's >= 0 we're slaying 🫢

🌈 SEE ALSO 🌈

okay that's the whole vibe πŸ’– huge sign-off from ./include/linux, dated October 2026, with the footer serving struct logi...m_region_ops(9) β€” bye bestie, go map some IO memory responsibly 🫢✨

πŸ“¦ where this page comes from