Lines Matching refs:eng_data
574 struct engines_data eng_data; in engines_show() local
582 eng_data.actual_size = 0; in engines_show()
583 eng_data.allocated_buf_size = HL_ENGINES_DATA_MAX_SIZE; in engines_show()
584 eng_data.buf = vmalloc(eng_data.allocated_buf_size); in engines_show()
585 if (!eng_data.buf) in engines_show()
588 hdev->asic_funcs->is_device_idle(hdev, NULL, 0, &eng_data); in engines_show()
590 if (eng_data.actual_size > eng_data.allocated_buf_size) { in engines_show()
593 eng_data.actual_size, eng_data.allocated_buf_size); in engines_show()
594 vfree(eng_data.buf); in engines_show()
598 seq_write(s, eng_data.buf, eng_data.actual_size); in engines_show()
600 vfree(eng_data.buf); in engines_show()