Lines Matching refs:eng_data
761 struct engines_data eng_data; in engine_status_info() local
767 eng_data.actual_size = 0; in engine_status_info()
768 eng_data.allocated_buf_size = status_buf_size; in engine_status_info()
769 eng_data.buf = vmalloc(status_buf_size); in engine_status_info()
770 if (!eng_data.buf) in engine_status_info()
773 hdev->asic_funcs->is_device_idle(hdev, NULL, 0, &eng_data); in engine_status_info()
775 if (eng_data.actual_size > eng_data.allocated_buf_size) { in engine_status_info()
778 eng_data.actual_size, status_buf_size); in engine_status_info()
779 vfree(eng_data.buf); in engine_status_info()
783 args->user_buffer_actual_size = eng_data.actual_size; in engine_status_info()
784 rc = copy_to_user(out, eng_data.buf, min_t(size_t, status_buf_size, eng_data.actual_size)) ? in engine_status_info()
787 vfree(eng_data.buf); in engine_status_info()