Searched refs:user_buf_size (Results 1 – 3 of 3) sorted by relevance
201 u64 *user_buf_size, in drv_cp_harray_to_user() argument211 if (array_size * sizeof(*handles) > *user_buf_size) in drv_cp_harray_to_user()214 *user_buf_size = array_size * sizeof(*handles); in drv_cp_harray_to_user()215 if (*user_buf_size) in drv_cp_harray_to_user()218 (handle_array), *user_buf_size); in drv_cp_harray_to_user()
813 u32 user_buf_size = args->return_size; in user_mappings_info() local828 if (user_buf_size < actual_size) in user_mappings_info()838 u32 user_buf_size = args->return_size; in hw_err_info() local849 if (user_buf_size < sizeof(struct hl_info_hw_err_event)) in hw_err_info()860 u32 user_buf_size = args->return_size; in fw_err_info() local871 if (user_buf_size < sizeof(struct hl_info_fw_err_event)) in fw_err_info()
265 int user_buf_size) in ps3av_process_reply_packet() argument275 if (return_len > user_buf_size) in ps3av_process_reply_packet()276 return_len = user_buf_size; in ps3av_process_reply_packet()