gmap_find_shadow(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so from the Kernel API Manual, this is gmap_find_shadow πŸ’… β€” it finds a specific ASCE in the list of shadow tables. that's the whole assignment, bestie. πŸŽ€

🌸 SYNOPSIS 🌸

struct gmap * gmap_find_shadow (struct gmap *parent , union asce asce ,
       int edat_level );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • parent β€” pointer to the parent gmap, periodt. πŸ‘‘
  • asce β€” the ASCE for which the shadow table is created. ✨
  • edat_level β€” the Edat level to be used for the shadow translation. πŸ’«

πŸ’… CONTEXT πŸ’…

Called with parent->children_lock held. like, this is the vibe check you cannot skip, okay? πŸ”’

πŸ”₯ RETURN πŸ”₯

  • returns the pointer to a gmap if a shadow table with the given asce is already available 🫢
  • returns ERR_PTR(-EAGAIN) if another one is just being created 😭
  • otherwise, returns NULL πŸ’€

🌈 SEE ALSO 🌈

Kernel file: ./arch/s390/kvm/gmap/gmap.c


mwah πŸ’‹ this page is gmap_find_shadow(9) from the Kernel API Manual, source/version ./arch/s390/kvm/gmap, dated October 2026. periodt. 🌟

πŸ“¦ where this page comes from