iosys_map_is_equal(9)
β¨ 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 characterrhsβ 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.hoverview(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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms