Searched refs:read_set (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/tools/perf/ui/tui/ |
H A D | setup.c | 58 fd_set read_set; in ui__getch() local 63 FD_ZERO(&read_set); in ui__getch() 64 FD_SET(0, &read_set); in ui__getch() 71 err = select(1, &read_set, NULL, NULL, ptimeout); in ui__getch() 86 FD_ZERO(&read_set); in ui__getch() 87 FD_SET(0, &read_set); in ui__getch() 90 err = select(1, &read_set, NULL, NULL, &timeout); in ui__getch()
|
/openbmc/u-boot/tools/patman/ |
H A D | cros_subprocess.py | 144 read_set = [] 158 read_set.append(self.stdout) 161 read_set.append(self.stderr) 166 while read_set or write_set: 168 rlist, wlist, _ = select.select(read_set, write_set, [], 0.2) 197 read_set.remove(self.stdout) 212 read_set.remove(self.stderr)
|
/openbmc/ipmitool/src/plugins/lan/ |
H A D | lan.c | 255 fd_set read_set; in ipmi_lan_recv_packet() local 260 FD_ZERO(&read_set); in ipmi_lan_recv_packet() 261 FD_SET(intf->fd, &read_set); in ipmi_lan_recv_packet() 269 ret = select(intf->fd + 1, &read_set, NULL, &err_set, &tmout); in ipmi_lan_recv_packet() 270 if (ret < 0 || FD_ISSET(intf->fd, &err_set) || !FD_ISSET(intf->fd, &read_set)) in ipmi_lan_recv_packet() 286 FD_ZERO(&read_set); in ipmi_lan_recv_packet() 287 FD_SET(intf->fd, &read_set); in ipmi_lan_recv_packet() 295 ret = select(intf->fd + 1, &read_set, NULL, &err_set, &tmout); in ipmi_lan_recv_packet() 296 if (ret < 0 || FD_ISSET(intf->fd, &err_set) || !FD_ISSET(intf->fd, &read_set)) in ipmi_lan_recv_packet()
|
/openbmc/ipmitool/src/plugins/lanplus/ |
H A D | lanplus.c | 413 fd_set read_set, err_set; in ipmi_lan_recv_packet() local 417 FD_ZERO(&read_set); in ipmi_lan_recv_packet() 418 FD_SET(intf->fd, &read_set); in ipmi_lan_recv_packet() 426 ret = select(intf->fd + 1, &read_set, NULL, &err_set, &tmout); in ipmi_lan_recv_packet() 427 if (ret < 0 || FD_ISSET(intf->fd, &err_set) || !FD_ISSET(intf->fd, &read_set)) in ipmi_lan_recv_packet() 443 FD_ZERO(&read_set); in ipmi_lan_recv_packet() 444 FD_SET(intf->fd, &read_set); in ipmi_lan_recv_packet() 452 ret = select(intf->fd + 1, &read_set, NULL, &err_set, &tmout); in ipmi_lan_recv_packet() 453 if (ret < 0 || FD_ISSET(intf->fd, &err_set) || !FD_ISSET(intf->fd, &read_set)) in ipmi_lan_recv_packet()
|