Searched refs:number_bytes (Results 1 – 1 of 1) sorted by relevance
1289 u32 number_bytes, max_events, max; in _ctl_eventreport() local1301 number_bytes = karg.hdr.max_data_size - in _ctl_eventreport()1303 max_events = number_bytes/sizeof(struct MPT3_IOCTL_EVENTS); in _ctl_eventreport()1312 number_bytes = max * sizeof(struct MPT3_IOCTL_EVENTS); in _ctl_eventreport()1313 if (copy_to_user(uarg->event_data, ioc->event_log, number_bytes)) { in _ctl_eventreport()