Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libipmi/common/
H A Dipmi_bmc.c47 int ib_fd; /* /dev/ipmi0 filedescriptor */ member
62 (void) close(ibp->ib_fd); in ipmi_bmc_close()
78 if ((ibp->ib_fd = open(BMC_DEV, O_RDWR)) < 0) { in ipmi_bmc_open()
120 if (ioctl(ibp->ib_fd, IPMICTL_SEND_COMMAND, &req) < 0) { in ipmi_bmc_send()
129 FD_SET(ibp->ib_fd, &rset); in ipmi_bmc_send()
131 if (select(ibp->ib_fd + 1, &rset, NULL, NULL, NULL) < 0) { in ipmi_bmc_send()
136 if (FD_ISSET(ibp->ib_fd, &rset) == 0) { in ipmi_bmc_send()
148 if (ioctl(ibp->ib_fd, IPMICTL_RECEIVE_MSG_TRUNC, &recv) < 0) { in ipmi_bmc_send()