Searched refs:status_buf_size (Results 1 – 1 of 1) sorted by relevance
812 u32 status_buf_size = args->return_size; in engine_status_info() local817 if ((status_buf_size < SZ_1K) || (status_buf_size > HL_ENGINES_DATA_MAX_SIZE) || (!out)) 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()831 eng_data.actual_size, status_buf_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()