Lines Matching refs:state_dump
1327 if (!entry->state_dump[entry->state_dump_head]) in hl_state_dump_read()
1332 entry->state_dump[entry->state_dump_head], in hl_state_dump_read()
1333 strlen(entry->state_dump[entry->state_dump_head])); in hl_state_dump_read()
1352 if (size <= 0 || size >= ARRAY_SIZE(entry->state_dump)) { in hl_state_dump_write()
1357 if (entry->state_dump[entry->state_dump_head]) { in hl_state_dump_write()
1360 vfree(entry->state_dump[entry->state_dump_head]); in hl_state_dump_write()
1361 entry->state_dump[entry->state_dump_head] = NULL; in hl_state_dump_write()
1366 ARRAY_SIZE(entry->state_dump) - 1; in hl_state_dump_write()
1779 for (i = 0; i < ARRAY_SIZE(entry->state_dump); ++i) in hl_debugfs_device_fini()
1780 vfree(entry->state_dump[i]); in hl_debugfs_device_fini()
1921 ARRAY_SIZE(dev_entry->state_dump); in hl_debugfs_set_state_dump()
1922 vfree(dev_entry->state_dump[dev_entry->state_dump_head]); in hl_debugfs_set_state_dump()
1923 dev_entry->state_dump[dev_entry->state_dump_head] = data; in hl_debugfs_set_state_dump()