kvmppc_gsb_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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