hl_state_du...sync_objects(9)
π hl_state_du...sync_objects(9) π
okay so welcome to the Kernel API Manual, bestie β yes this is a kernel page, yes it has a truncated name with ... in it, no we are not going to be normal about it π«Ά
β¨ NAME β¨
hl_state_dump_read_sync_objects β reads the sync objects array. that's it. that's the whole job. she's an icon, she's a reader, she's lowkey doing the most important work π
πΈ SYNOPSIS πΈ
u32 * hl_state_dump_read_sync_objects (struct hl_device *hdev , u32
index );
π ARGUMENTS π
hdevβ pointer to the device. like, the actual device. she needs to know which device we're talking about, so hand her the pointer, no cap πindexβ the sync manager block index, and bestie it starts withE_N. starting withE_N, okay? that's the vibe. don't come at her with index zero and expect it to be cute π¦
π₯ DESCRIPTION π₯
Returns an array of size SP_SYNC_OBJ_AMOUNT on success, or NULL on failure. that's the whole deal. SP_SYNC_OBJ_AMOUNT-sized array = slay, NULL = not slay π please check for the NULL, i am begging you π
β SEE ALSO β
okay the friend group is huge, they're all in the kernel file ./drivers/accel/habanalabs/common/state_dump.c β literally the main character energy location π β¨
hl_format_as_binary(9)resize_to_fit(9)hl_snprintf_resize(9)hl_sync_engine_to_string(9)hl_print_resize_sync_engine(9)hl_state_dump_get_sync_name(9)hl_state_dump_get_monitor_name(9)hl_state_dump_free_sync_to_engine_map(9)hl_state_dump_get_sync_to_engine(9)hl_state_dump_free_sync_objects(9)hl_state_dump_print_syncs_single_block(9)hl_state_dump_print_syncs(9)hl_state_dump_alloc_read_sm_block_monitors(9)hl_state_dump_free_monitors(9)hl_state_dump_print_monitors_single_block(9)hl_state_dump_print_monitors(9)hl_state_dump_print_engine_fences(9)hl_state_dump_print_fences(9)hl_state_dump(9)
ngl the whole squad is just printing and freeing things and honestly? iconic behaviour. free your memory, bestie ππ§
mwah π this page came from the source dir ./drivers/accel/habanalabs/common, dated October 2026 β stay hydrated, read your sync objects, 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