smu_memcpy_trailing(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

hiii bestie πŸ’– this is the smu_memcpy_trailing(9) page from the Kernel API Manual, and it is literally about copying the end of one structure into the middle of another. no cap, that's the whole vibe. 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

       smu_memcpy_trailing (dst , first_dst_member , last_dst_member , src ,
       first_src_member );

πŸŽ€ ARGUMENTS πŸŽ€

okay so here's the cast, and every one of them matters:

  • dst β€” pointer to the destination struct. this is the struct getting the overwrite, bestie.
  • first_dst_member β€” the member name in dst where the overwrite begins ✨
  • last_dst_member β€” the member name in dst where the overwrite ends after 🫢 (yes, β€œafter” is right there in the sentence, iykyk)
  • src β€” pointer to the source struct. this is where the copy is coming from.
  • first_src_member β€” the member name in src where the copy begins πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h β€” yes, that whole path, periodt 🧚
  • struct smu_msg_config(9)
  • struct smu_msg_args(9)
  • struct smu_msg_ops(9)
  • struct smu_msg_ctl(9)
  • struct smu_temp_funcs(9)
  • struct pptable_funcs(9)

byeee πŸ’– source/version: ./drivers/gpu/drm/amd/pm/swsmu...; date: October 2026. go copy those struct middles and slay, bestie βœ¨πŸ‘‘

πŸ“¦ where this page comes from