Home
last modified time | relevance | path

Searched refs:status_buf_size (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/accel/habanalabs/common/
H A Dhabanalabs_ioctl.c759 u32 status_buf_size = args->return_size; in engine_status_info() local
764 if ((status_buf_size < SZ_1K) || (status_buf_size > HL_ENGINES_DATA_MAX_SIZE) || (!out)) 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()
778 eng_data.actual_size, status_buf_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()