__vmw_cmdbuf_header_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __vmw_cmdbuf_header_free (kernel API manual, section 9)

okay so bestie, welcome to the glow-up of __vmw_cmdbuf_header_free ✨ this one lives in the kernel API manual (that's section 9, iykyk) and it's genuinely just a little cleanup queen doing her thing πŸ§ΉπŸ’–


🌸 NAME

__vmw_cmdbuf_header_free β€” frees a struct vmw_cmdbuf_header and all the associated structures that come with it πŸŽ€

like, it doesn't just free the header and ghost the rest, no ma'am, it takes the whole little family with it 🫢


✨ SYNOPSIS

void __vmw_cmdbuf_header_free (struct vmw_cmdbuf_header *header );

that's it, that's the whole signature, she's simple and she slays πŸ’…


πŸ¦‹ ARGUMENTS

  • header β€” pointer to the header you want to free. literally just hand her the pointer and she handles it πŸ“

πŸ”₯ DESCRIPTION

for internal use only, ngl πŸ™ˆ this is not a main-character public API moment, it's backstage crew energy.

⚠️ must be called with man::lock held. not "probably should", not "if you feel like it" β€” must. periodt. πŸ”’

πŸ‘‘ SEE ALSO

bestie the cross-reference list here is lowkey a whole friend group 😭 β€” every single one of these is invited to the party:

Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c, struct vmw_cmdbuf_context(9), struct vmw_cmdbuf_man(9), struct vmw_cmdbuf_header(9), struct vmw_cmdbuf_dheader(9), struct vmw_cmdbuf_alloc_info(9), vmw_cmdbuf_cur_lock(9), vmw_cmdbuf_cur_unlock(9), vmw_cmdbuf_header_inline_free(9), vmw_cmdbuf_header_free(9), vmw_cmdbuf_header_submit(9), vmw_cmdbuf_ctx_init(9), vmw_cmdbuf_ctx_submit(9), vmw_cmdbuf_ctx_process(9), vmw_cmdbuf_man_process(9), vmw_cmdbuf_ctx_add(9), vmw_cmdbuf_irqthread(9), vmw_cmdbuf_work_func(9), vmw_cmdbuf_man_idle(9), __vmw_cmdbuf_cur_flush(9), vmw_cmdbuf_cur_flush(9), vmw_cmdbuf_idle(9), vmw_cmdbuf_try_alloc(9), vmw_cmdbuf_alloc_space(9), vmw_cmdbuf_space_pool(9), vmw_cmdbuf_space_inline(9), vmw_cmdbuf_alloc(9), vmw_cmdbuf_reserve_cur(9), vmw_cmdbuf_commit_cur(9), vmw_cmdbuf_reserve(9), vmw_cmdbuf_commit(9), vmw_cmdbuf_send_device_command(9), vmw_cmdbuf_preempt(9), vmw_cmdbuf_startstop(9), vmw_cmdbuf_set_pool_size(9), vmw_cmdbuf_man_create(9), vmw_cmdbuf_remove_pool(9), vmw_cmdbuf_man_destroy(9)


and that's the page, bestie πŸŽ€ huge shoutout to ./drivers/gpu/drm/vmwgfx for hosting her, and a very October 2026 era moment to this doc β€” she's dated, she's iconic, she's __vmw_cmdbuf_header_free(9), and she's free (literally, that's her job) πŸ’œβœ¨

πŸ“¦ where this page comes from