drmm_kstrdup(9)
β¨ 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 π
- Kernel file
./drivers/gpu/drm/drm_managed.cπ managed resources(9)π«Άdrmm_release_action(9)πdrmm_kmalloc(9)πdrmm_kfree(9)π¦
xoxo from source/version ./drivers/gpu/drm π
October 2026 πΈ drmm_kstrdup(9) out! π
π¦ 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