Searched refs:pfd (Results 1 – 4 of 4) sorted by relevance
/system/bt/udrv/ulinux/ |
D | uipc.c | 177 struct pollfd pfd; in accept_server_socket() local 184 pfd.fd = sfd; in accept_server_socket() 185 pfd.events = POLLIN; in accept_server_socket() 187 if (poll(&pfd, 1, 0) == 0) in accept_server_socket() 383 struct pollfd pfd; in uipc_flush_ch_locked() local 386 pfd.events = POLLIN; in uipc_flush_ch_locked() 387 pfd.fd = uipc_main.ch[ch_id].fd; in uipc_flush_ch_locked() 397 ret = poll(&pfd, 1, 1); in uipc_flush_ch_locked() 399 __FUNCTION__, pfd.fd, pfd.revents, ret); in uipc_flush_ch_locked() 401 if (pfd.revents & (POLLERR|POLLHUP)) in uipc_flush_ch_locked() [all …]
|
/system/bt/btif/src/ |
D | btif_sock_thread.c | 88 struct pollfd pfd; member 428 ts[h].ps[i].pfd.fd = -1; in init_poll() 446 ps->pfd.fd = fd; in set_poll() 452 ps->pfd.events = flags2pevents(flags); in set_poll() 453 ps->pfd.revents = 0; in set_poll() 464 if(ps[i].pfd.fd == fd) in add_poll() 471 else if(empty < 0 && ps[i].pfd.fd == -1) in add_poll() 490 ps->pfd.fd = -1; in remove_poll() 497 ps->pfd.events = flags2pevents(ps->flags); in remove_poll() 519 if (poll_slot->pfd.fd == cmd.fd) in process_cmd_sock() [all …]
|
/system/core/libnetutils/ |
D | dhcpclient.c | 400 struct pollfd pfd; in dhcp_init_ifc() local 422 pfd.fd = s; in dhcp_init_ifc() 423 pfd.events = POLLIN; in dhcp_init_ifc() 424 pfd.revents = 0; in dhcp_init_ifc() 425 r = poll(&pfd, 1, timeout); in dhcp_init_ifc()
|
/system/bt/audio_a2dp_hw/ |
D | audio_a2dp_hw.c | 238 struct pollfd pfd; in skt_read() local 257 struct pollfd pfd; in skt_write() local 261 pfd.fd = fd; in skt_write() 262 pfd.events = POLLOUT; in skt_write() 267 if (poll(&pfd, 1, 500) == 0) in skt_write()
|