Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/input/
Dinput-compat.c18 struct input_event_compat compat_event; in input_event_from_user() local
20 if (copy_from_user(&compat_event, buffer, in input_event_from_user()
24 event->input_event_sec = compat_event.sec; in input_event_from_user()
25 event->input_event_usec = compat_event.usec; in input_event_from_user()
26 event->type = compat_event.type; in input_event_from_user()
27 event->code = compat_event.code; in input_event_from_user()
28 event->value = compat_event.value; in input_event_from_user()
42 struct input_event_compat compat_event; in input_event_to_user() local
44 compat_event.sec = event->input_event_sec; in input_event_to_user()
45 compat_event.usec = event->input_event_usec; in input_event_to_user()
[all …]
/linux-6.1.9/net/wireless/
Dwext-core.c468 struct __compat_iw_event *compat_event; in wireless_send_event() local
612 compat_event = nla_data(nla); in wireless_send_event()
614 compat_event->len = event_len; in wireless_send_event()
615 compat_event->cmd = cmd; in wireless_send_event()
619 memcpy(compat_event->ptr_bytes, in wireless_send_event()
623 memcpy(&compat_event->ptr_bytes[ptr_len], in wireless_send_event()
627 memcpy(compat_event->ptr_bytes, wrqu, ptr_len); in wireless_send_event()