STRUCT I915_REFCT_SGT(9)
πΈ NAME πΈ
okay so bestie, welcome to the struct i915_refct_sgt(9) page from the Kernel API Manual β¨ β it's literally a refcounted scatter-gather table, and it's giving main-character kernel energy π
.
β¨ SYNOPSIS β¨
here's the exact shape, no cap:
struct i915_refct_sgt {
struct kref kref;
struct sg_table table;
size_t size;
const struct i915_refct_sgt_ops *ops;
};
π Members π
krefβ astruct kreffor refcounting. yes bestie, it counts refs π.tableβ astruct sg_tableholding the scatter-gather table itself. important note:table->sgl = NULLcan be used to determine whether a scatter-gather table is present or not π.sizeβ the size in bytes of the underlying memory buffer. numbers but make it fashion β¨.opsβ the operations structure. the ops bestie π«Ά.
π SEE ALSO π
if you're going down the kernel lore rabbit hole, check these out: Kernel file ./drivers/gpu/drm/i915/i915_scatterlist.h, __sg_next(9), __for_each_sgt_daddr(9), __for_each_daddr_next(9), for_each_sgt_page(9), i915_sg_dma_sizes(9), struct i915_refct_sgt_ops(9), i915_refct_sgt_put(9), i915_refct_sgt_get(9), and __i915_refct_sgt_init(9) π.
mwah π β source/version corner: ./drivers/gpu/drm/i915, date stamp: October 2026. now go be the main character of your own kernel adventure π§π.
π¦ 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