xe_bo_size(9)
β¨ xe_bo_size(9) β¨
okay bestie, welcome to the Kernel API Manual π this one's a tiny lil legend from the Xe graphics corner of the kernel, and honestly? it ate. let's get into it π
πΈ NAME πΈ
xe_bo_size β literally just the Xe BO size, that's the whole vibe π
π¦ SYNOPSIS π¦
size_t xe_bo_size (struct xe_bo *bo );
like, that's it. one function, one argument, zero drama β¨
π§ ARGUMENTS π§
boβ the bo object itself π«Ά the main character of this whole page, ngl.
π DESCRIPTION π
so this is a simple helper function whose entire personality is returning the Xe BO's size. that's the job. that's the assignment. it's giving "small but crucial" energy π
β RETURN β
it hands you back the Xe BO's size β no cap, that's the return value π₯
π SEE ALSO π
the kernel file in question lives right here β ./drivers/gpu/drm/xe/xe_bo.h β and there's an enum situation going on in there too, iykyk π
and because this is a whole friend group, not just one function, here's everyone in the xe_bo extended universe π«
xe_madv_purgeable_state(9)xe_bo_is_purged(9)xe_bo_madv_is_dontneed(9)xe_bo_willneed_get_locked(9)xe_bo_willneed_put_locked(9)xe_bo_vma_count_inc_locked(9)xe_bo_vma_count_dec_locked(9)xe_bo_has_valid_ccs_bb(9)xe_bo_put_deferred(9)xe_bo_put_async(9)xe_bo_sg_is_contiguous(9)struct xe_bo_shrink_flags(9)xe_bo_is_mem_type(9)
go read them too, bestie, they're all linked from the same header and they're all lowkey iconic π
π sign-off π
this absolute gem comes to you straight out of ./drivers/gpu/drm/xe, stamped October 2026 β same page, same manual, xe_bo_size(9), and it slayed π
β¨ bye bestie, go size some BOs π¦
π¦ 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