Searched refs:state_dump (Results 1 – 4 of 4) sorted by relevance
1334 if (!entry->state_dump[entry->state_dump_head]) in hl_state_dump_read()1339 entry->state_dump[entry->state_dump_head], in hl_state_dump_read()1340 strlen(entry->state_dump[entry->state_dump_head])); in hl_state_dump_read()1359 if (size <= 0 || size >= ARRAY_SIZE(entry->state_dump)) { in hl_state_dump_write()1364 if (entry->state_dump[entry->state_dump_head]) { in hl_state_dump_write()1367 vfree(entry->state_dump[entry->state_dump_head]); in hl_state_dump_write()1368 entry->state_dump[entry->state_dump_head] = NULL; in hl_state_dump_write()1373 ARRAY_SIZE(entry->state_dump) - 1; in hl_state_dump_write()1781 for (i = 0; i < ARRAY_SIZE(entry->state_dump); ++i) in hl_debugfs_device_fini()1782 vfree(entry->state_dump[i]); in hl_debugfs_device_fini()[all …]
14 common/security.o common/state_dump.o \
2361 char *state_dump[HL_STATE_DUMP_HIST_LEN]; member
271 What: /sys/kernel/debug/habanalabs/hl<n>/state_dump