kvmppc_gsb_put(9)
πΈ NAME πΈ
Okay bestie, welcome to the kvmppc_gsb_put(9) page from the Kernel API Manual β this one is all about how to allocate space in a guest state buffer. Slay. β¨
π¦ SYNOPSIS π¦
void * kvmppc_gsb_put (struct kvmppc_gs_buff *gsb , size_t size );
π ARGUMENTS π
gsbβ the buffer you're allocating inside, periodt.sizeβ the amount of space to allocate, literally.
β¨ DESCRIPTION β¨
It returns a pointer to the amount of space requested within the buffer, and it increments the count of elements in the buffer. Cute, useful, iconic. π«Ά
But babes, listen: it does not check if there is enough space in the buffer. No capacity vibe check, no safety net. Handle that part yourself. π
π SEE ALSO π
The kernel file is ./arch/powerpc/kvm/guest-state-buffer.c, and the whole friend group is: kvmppc_gsb_new(9), kvmppc_gsb_free(9), kvmppc_gsid_flags(9), kvmppc_gsid_size(9), kvmppc_gsid_mask(9), __kvmppc_gse_put(9), kvmppc_gse_parse(9), kvmppc_gsp_insert(9), kvmppc_gsp_lookup(9), kvmppc_gsbm_set(9), kvmppc_gsbm_clear(9), kvmppc_gsbm_test(9), kvmppc_gsbm_next(9), kvmppc_gsm_init(9), kvmppc_gsm_new(9), kvmppc_gsm_size(9), kvmppc_gsm_free(9), kvmppc_gsm_fill_info(9), kvmppc_gsm_refresh_info(9), kvmppc_gsb_send(9), kvmppc_gsb_recv(9). Go read those too, iykyk π
xoxo, signed and delivered by ./arch/powerpc/kvm, dated October 2026 π«Άπ
π¦ 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