iosys_map_is_equal(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ iosys_map_is_equal πŸ’…

okay so bestie, this is a page from the Kernel API Manual β€” yes the kernel, yes we're doing this, and no it's not scary, i promise 🫢


🌸 NAME 🌸

iosys_map_is_equal β€” compares two iosys mapping structures for equality. that's it. that's the whole gig. you give it two maps, it tells you if they're the same. iconic behaviour honestly ✨


πŸŽ€ SYNOPSIS πŸŽ€

bool iosys_map_is_equal (const struct iosys_map *lhs , const struct iosys_map *rhs );

like the way it just takes two pointers and returns a bool… lowkey elegant 😌


πŸ¦‹ ARGUMENTS πŸ¦‹

  • lhs β€” The iosys_map structure πŸ‘ˆ the left-hand side, the main character
  • rhs β€” A iosys_map structure to compare with πŸ‘‰ the one getting compared against

πŸ’– DESCRIPTION πŸ’–

so listen. Two iosys mapping structures are equal if they both refer to the same type of memory and to the same address within that memory. both conditions, no cap, no shortcuts β€” same memory type, same address inside it. fr fr, if either one of those is off, they're not equal, periodt πŸ’…


πŸ”₯ RETURN πŸ”₯

True is both structures are equal, or false otherwise. 🫢

ngl that "is" is straight from the original, i'm not touching it β€” it's part of the vibe now 😭

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/iosys-map.h overview(9)
  • struct iosys_map(9)
  • IOSYS_MAP_INIT_VADDR(9)
  • IOSYS_MAP_INIT_VADDR_IOMEM(9)
  • IOSYS_MAP_INIT_OFFSET(9)
  • iosys_map_set_vaddr(9)
  • iosys_map_set_vaddr_iomem(9)
  • iosys_map_is_null(9)
  • iosys_map_is_set(9)
  • iosys_map_clear(9)
  • iosys_map_memcpy_to(9)
  • iosys_map_memcpy_from(9)
  • iosys_map_incr(9)
  • iosys_map_memset(9)
  • iosys_map_rd(9)
  • iosys_map_wr(9)
  • iosys_map_rd_field(9)
  • iosys_map_wr_field(9)

bestie that's a whole friend group of functions, go read all of them πŸ’œ


sign-off time πŸŽ€ this little page lives in ./include/linux, stamped October 2026, and it's iosys_map_is_equal(9) saying bye bestie β€” go compare some maps, you're gonna slay 🧚✨

πŸ“¦ where this page comes from