kvmppc_gse_put_buff_info(9)
β¨ kvmppc_gse_put_buff_info(9) β¨
okay so welcome to the Kernel API Manual, bestie π this one is a little function with a very long name and a very specific job, and honestly? it slays at that job.
π NAME
kvmppc_gse_put_buff_info β adds a GSB description guest state element to a buffer π¦
like, that's literally it. it puts a thing in a buffer. iconic behavior.
πΈ SYNOPSIS
int kvmppc_gse_put_buff_info (struct kvmppc_gs_buff *gsb , u16 iden , struct kvmppc_gs_buff_info val );
three things go in, an int comes out. the way that it just returns an int and doesn't elaborate π
π ARGUMENTS
gsbβ the guest state buffer you're adding the element to. this is the main character of the whole operation fr.idenβ the guest state ID. au16, so keep it cute and 16-bit please πvalβ the guest state buffer description value, typedstruct kvmppc_gs_buff_info. that's the actual payload vibe.
π SEE ALSO
no cap, this is the friend group and it is HUGE. every single one of these is in ./arch/powerpc/include/asm/guest-state-buffer.h β Kernel file, iykyk π«Ά
struct kvmppc_gs_part_table(9)struct kvmppc_gs_proc_table(9)struct kvmppc_gs_buff_info(9)struct kvmppc_gs_header(9)struct kvmppc_gs_elem(9)struct kvmppc_gs_buff(9)struct kvmppc_gs_bitmap(9)struct kvmppc_gs_parser(9)struct kvmppc_gs_msg_ops(9)struct kvmppc_gs_msg(9)kvmppc_gsb_header(9)kvmppc_gsb_data(9)kvmppc_gsb_len(9)kvmppc_gsb_capacity(9)kvmppc_gsb_paddress(9)kvmppc_gsb_nelems(9)kvmppc_gsb_reset(9)kvmppc_gsb_data_len(9)kvmppc_gsb_data_cap(9)kvmppc_gsb_for_each_elem(9)kvmppc_gse_iden(9)kvmppc_gse_len(9)kvmppc_gse_total_len(9)kvmppc_gse_total_size(9)kvmppc_gse_data(9)kvmppc_gse_ok(9)kvmppc_gse_next(9)kvmppc_gse_for_each_elem(9)kvmppc_gse_put_be32(9)kvmppc_gse_put_u32(9)kvmppc_gse_put_be64(9)kvmppc_gse_put_u64(9)__kvmppc_gse_put_reg(9)kvmppc_gse_put_vector128(9)kvmppc_gse_put_part_table(9)kvmppc_gse_put_proc_table(9)kvmppc_gse_get_be32(9)kvmppc_gse_get_u32(9)kvmppc_gse_get_be64(9)kvmppc_gse_get_u64(9)kvmppc_gse_get_vector128(9)kvmppc_gsbm_zero(9)kvmppc_gsbm_fill(9)kvmppc_gsbm_for_each(9)kvmppc_gsp_for_each(9)kvmppc_gsm_for_each(9)kvmppc_gsm_include(9)kvmppc_gsm_includes(9)kvmppc_gsb_receive_data(9)kvmppc_gsb_send_data(9)
that's the whole squad, not one missing π go read them, they're all lowkey doing their own thing and it works.
and that's the page!! π this little writeup lives over in ./arch/powerpc/include/asm, dated October 2026 β so mark your calendar bestie, the docs are from the future and they're still serving ππ bye mwah π
π¦ 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