Searched refs:uevent_fd (Results 1 – 4 of 4) sorted by relevance
/device/google/bonito/usb/ |
D | Usb.cpp | 506 int uevent_fd; member 515 n = uevent_kernel_multicast_recv(payload->uevent_fd, msg, UEVENT_MSG_LEN); in uevent_event() 589 int epoll_fd, uevent_fd; in work() local 596 uevent_fd = uevent_open_socket(64 * 1024, true); in work() 598 if (uevent_fd < 0) { in work() 603 payload.uevent_fd = uevent_fd; in work() 606 fcntl(uevent_fd, F_SETFL, O_NONBLOCK); in work() 617 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, uevent_fd, &ev) == -1) { in work() 641 close(uevent_fd); in work()
|
/device/google/wahoo/usb/ |
D | Usb.cpp | 532 int uevent_fd; member 541 n = uevent_kernel_multicast_recv(payload->uevent_fd, msg, UEVENT_MSG_LEN); in uevent_event() 624 int epoll_fd, uevent_fd; in work() local 631 uevent_fd = uevent_open_socket(64 * 1024, true); in work() 633 if (uevent_fd < 0) { in work() 638 payload.uevent_fd = uevent_fd; in work() 641 fcntl(uevent_fd, F_SETFL, O_NONBLOCK); in work() 652 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, uevent_fd, &ev) == -1) { in work() 676 close(uevent_fd); in work()
|
/device/google/crosshatch/usb/ |
D | Usb.cpp | 509 int uevent_fd; member 519 n = uevent_kernel_multicast_recv(payload->uevent_fd, msg, UEVENT_MSG_LEN); in uevent_event() 593 int epoll_fd, uevent_fd; in work() local 600 uevent_fd = uevent_open_socket(64 * 1024, true); in work() 602 if (uevent_fd < 0) { in work() 607 payload.uevent_fd = uevent_fd; in work() 610 fcntl(uevent_fd, F_SETFL, O_NONBLOCK); in work() 621 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, uevent_fd, &ev) == -1) { in work() 645 close(uevent_fd); in work()
|
/device/google/coral/usb/ |
D | Usb.cpp | 605 int uevent_fd; member 614 n = uevent_kernel_multicast_recv(payload->uevent_fd, msg, UEVENT_MSG_LEN); in uevent_event() 664 int epoll_fd, uevent_fd; in work() local 671 uevent_fd = uevent_open_socket(64 * 1024, true); in work() 673 if (uevent_fd < 0) { in work() 678 payload.uevent_fd = uevent_fd; in work() 681 fcntl(uevent_fd, F_SETFL, O_NONBLOCK); in work() 692 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, uevent_fd, &ev) == -1) { in work() 717 close(uevent_fd); in work()
|