Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/misc/habanalabs/common/
Dhabanalabs_ioctl.c754 u32 status_buf_size = args->return_size; in engine_status_info() local
759 if ((status_buf_size < SZ_1K) || (status_buf_size > HL_ENGINES_DATA_MAX_SIZE) || (!out)) in engine_status_info()
763 eng_data.allocated_buf_size = status_buf_size; in engine_status_info()
764 eng_data.buf = vmalloc(status_buf_size); in engine_status_info()
773 eng_data.actual_size, status_buf_size); in engine_status_info()
779 rc = copy_to_user(out, eng_data.buf, min_t(size_t, status_buf_size, eng_data.actual_size)) ? in engine_status_info()