drmm_kstrdup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this page is drmm_kstrdup(9) from the Kernel API Manual πŸ’– and it’s literally the &drm_device managed kstrdup() β€” slay πŸŽ€


🌸 SYNOPSIS 🌸

char * drmm_kstrdup (struct drm_device *dev , const char *s , gfp_t gfp );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the DRM device πŸ’»
  • s β€” the 0-terminated string to be duplicated πŸŽ€
  • gfp β€” GFP allocation flags ⭐

πŸ’… DESCRIPTION πŸ’…

no cap, this is a drm_device managed version of kstrdup πŸ”₯ the allocated memory is automatically freed on the final drm_dev_put, and it works exactly like a memory allocation obtained by drmm_kmalloc ✨


🌈 SEE ALSO 🌈


xoxo from source/version ./drivers/gpu/drm πŸ’… October 2026 🌸 drmm_kstrdup(9) out! πŸ‘‘

πŸ“¦ where this page comes from