Lines Matching refs:eng_data
814 struct engines_data eng_data; in engine_status_info() local
820 eng_data.actual_size = 0; in engine_status_info()
821 eng_data.allocated_buf_size = status_buf_size; in engine_status_info()
822 eng_data.buf = vmalloc(status_buf_size); in engine_status_info()
823 if (!eng_data.buf) in engine_status_info()
826 hdev->asic_funcs->is_device_idle(hdev, NULL, 0, &eng_data); in engine_status_info()
828 if (eng_data.actual_size > eng_data.allocated_buf_size) { in engine_status_info()
831 eng_data.actual_size, status_buf_size); in engine_status_info()
832 vfree(eng_data.buf); in engine_status_info()
836 args->user_buffer_actual_size = eng_data.actual_size; in engine_status_info()
837 rc = copy_to_user(out, eng_data.buf, min_t(size_t, status_buf_size, eng_data.actual_size)) ? in engine_status_info()
840 vfree(eng_data.buf); in engine_status_info()