Lines Matching refs:eng_data
581 struct engines_data eng_data; in engines_show() local
589 eng_data.actual_size = 0; in engines_show()
590 eng_data.allocated_buf_size = HL_ENGINES_DATA_MAX_SIZE; in engines_show()
591 eng_data.buf = vmalloc(eng_data.allocated_buf_size); in engines_show()
592 if (!eng_data.buf) in engines_show()
595 hdev->asic_funcs->is_device_idle(hdev, NULL, 0, &eng_data); in engines_show()
597 if (eng_data.actual_size > eng_data.allocated_buf_size) { in engines_show()
600 eng_data.actual_size, eng_data.allocated_buf_size); in engines_show()
601 vfree(eng_data.buf); in engines_show()
605 seq_write(s, eng_data.buf, eng_data.actual_size); in engines_show()
607 vfree(eng_data.buf); in engines_show()