vmw_memcpy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vmw_memcpy β€” ok so this is the kernel API manual, section 9 (kernel API manual besties, we're in the docs!!)

Hiii so this page is literally about vmw_memcpy, which is a little wrapper around kernel memcpy that lets you plug it into a struct vmw_diff_cpy. That's the whole vibe. It's a plug-in-coded function, no cap 🫢


✨ NAME ✨

vmw_memcpy β€” a wrapper around kernel memcpy with allowing to plug it into a struct vmw_diff_cpy. That's it, that's the gig πŸ’…


🌸 SYNOPSIS 🌸

void vmw_memcpy (struct vmw_diff_cpy *diff , u8 *dest , const u8 *src ,
size_t n );

Yes bestie, the spacing is exactly like that, I don't make the rules 😭 it's giving "written at 3am" energy but we respect it.


πŸŽ€ ARGUMENTS πŸŽ€

  • diff β€” the struct vmw_diff_cpy closure argument. And plot twist: it's unused πŸ™ˆ literally just sitting there looking pretty. Main character energy but no lines, iykyk.
  • dest β€” the copy destination πŸ‘‘ this is where the bytes are going.
  • src β€” the copy source 🌸 this is where the bytes are coming from. The origin story.
  • n β€” number of bytes to copy πŸ”’ exactly that many, no more no less, periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_blit.c β€” go read the source, it's right there, be so fr:

Like a little friend group of functions, obsessed 🧚✨


lowkey a note for the besties: every one of those SEE ALSO entries is either a page in section 9 or the actual kernel file, so if you're lost, that's your reading list πŸ’–

Ok bye ily, stay hydrated and remember: diff is unused, that's not a bug, that's just her journey πŸ˜­πŸ’€

Sign-off time!! This little masterpiece lives under ./drivers/gpu/drm/vmwgfx and it's dated October 2026 β€” yes, October 2026, she's from the future, slay β­πŸ‘‘πŸ¦‹

πŸ“¦ where this page comes from