Home
last modified time | relevance | path

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

/net/bluetooth/
Dhci_sock.c1023 struct hci_ufilter uf = { .opcode = 0 }; in hci_sock_setsockopt() local
1065 uf.type_mask = f->type_mask; in hci_sock_setsockopt()
1066 uf.opcode = f->opcode; in hci_sock_setsockopt()
1067 uf.event_mask[0] = *((u32 *) f->event_mask + 0); in hci_sock_setsockopt()
1068 uf.event_mask[1] = *((u32 *) f->event_mask + 1); in hci_sock_setsockopt()
1071 len = min_t(unsigned int, len, sizeof(uf)); in hci_sock_setsockopt()
1072 if (copy_from_user(&uf, optval, len)) { in hci_sock_setsockopt()
1078 uf.type_mask &= hci_sec_filter.type_mask; in hci_sock_setsockopt()
1079 uf.event_mask[0] &= *((u32 *) hci_sec_filter.event_mask + 0); in hci_sock_setsockopt()
1080 uf.event_mask[1] &= *((u32 *) hci_sec_filter.event_mask + 1); in hci_sock_setsockopt()
[all …]