xe_guc_capture_getlistsize(9)
π xe_guc_capture_getlistsize(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a function page, and honestly she's a littleδ½θ° queen β short, sweet, does exactly one thing. let's get into it π«Ά
πΈ NAME πΈ
xe_guc_capture_getlistsize β literally just: get the list size</> for the owner/type/class combination. that's the whole vibe. π
β¨ SYNOPSIS β¨
int xe_guc_capture_getlistsize (struct xe_guc *guc , u32 owner , u32
type , enum guc_capture_list_class_type capture_class , size_t *size );
she takes five things and gives you back an int, no cap π
π ARGUMENTS π
gucβ the GuC object itself, your main character πownerβ PF/VF owner, iykyk πtypeβ the GuC capture register type π¦capture_classβ the GuC capture engine class id, typed as anenum guc_capture_list_class_typeπsizeβ a pointer to the size. yes bestie, a <italic>pointer</> β she writes into it, she doesn't return it π
π₯ DESCRIPTION π₯
so what does she actually do? this function grabs the list for that owner/type/class combination and hands you back the page aligned list size. that's it, that's the whole plot β¨ lowkey iconic for how tidy it is π
β RETURN β
0β success, we love a clean win π- a negative error code β failure, and yes she will let you know π
π¦ SEE ALSO π¦
the kernel file lives right here, go read her friends:
- Kernel file
./drivers/gpu/drm/xe/xe_guc_capture.cπ xe_guc_capture_getlist(9)xe_guc_capture_getnullheader(9)xe_guc_capture_ads_input_worst_size(9)Init, G2H-event and reporting flows for GuC-error-capture(9)xe_engine_manual_capture(9)xe_engine_snapshot_print(9)xe_guc_capture_get_matching_and_lock(9)xe_engine_snapshot_capture_for_queue(9)
like, the whole GuC-error-capture</> friend group fr fr π«Ά
ngl bestie, if the return value is negative, do not pretend the size you got is real. check the code, handle the error, be a responsible little kernel dev π
and that's the page!! πΈ source/version: ./drivers/gpu/drm/xe β dated October 2026</> π mwah, slay, periodt πβ¨
π¦ 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