iosys_map_set_vaddr(9)
β¨ iosys_map_set_vaddr β¨
okay so bestie, welcome to the Kernel API Manual π
you're about to meet iosys_map_set_vaddr, and honestly she's a whole vibe: she points a iosys_map structure at an address that lives in system memory. short, sweet, iconic π
πΈ SYNOPSIS πΈ
void iosys_map_set_vaddr (struct iosys_map *map , void *vaddr );
like, that's the whole signature. no cap, that's it π«Ά
π ARGUMENTS π
mapβ theiosys_mapstructure in question πΊοΈ she's the one getting updated.vaddrβ a system-memory address. yep, the actual address goes here β¨
π¦ DESCRIPTION π¦
okay so here's the tea π: this function sets the address and clears the I/O-memory flag. that's the whole job. she does both, she does them together, and she does them well. main character energy fr fr π
lowkey the important bit: the I/O-memory flag gets cleared, not set. so if you were hoping for an I/O-memory mapping, this is not the function for you β go say hi to iosys_map_set_vaddr_iomem instead π
π SEE ALSO π
the whole friend group, in the order the original serves them π§:
- 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_iomem(9)iosys_map_is_equal(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)
that's the whole page bestie, go set some vaddrs π
this cutie lives in ./include/linux, dated October 2026, and yes β it's the iosys_map_set_vaddr(9) era. mwah ππ
π¦ 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