Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/net/wireless/
Dwext-core.c468 struct __compat_iw_event *compat_event; in wireless_send_event() local
608 compat_event = nla_data(nla); in wireless_send_event()
610 compat_event->len = event_len; in wireless_send_event()
611 compat_event->cmd = cmd; in wireless_send_event()
615 memcpy(&compat_event->pointer, in wireless_send_event()
619 memcpy(((char *) compat_event) + hdr_len, in wireless_send_event()
623 memcpy(&compat_event->pointer, wrqu, in wireless_send_event()