smu_memcpy_trailing(9)
β¨ 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 indstwhere the overwrite begins β¨last_dst_memberβ the member name indstwhere 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 insrcwhere 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
- 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