Lines Matching refs:open
84 // open the fcsm node so we can send the ioctl to
87 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) ==
89 log.debug("Unable to open %d opened (%s)", i,
100 throw IOError("Unable to open FCSM driver");
158 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) == -1) {
224 if ((fd = open(port->getPath().c_str(), O_RDONLY | O_EXCL)) == -1) {
270 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) == -1) {
361 /* open the fcsm node so we can send the ioctl to */
363 if ((fd = open(FCSM_DRIVER_PATH.c_str(), O_RDONLY)) < 0) {
373 throw IOError("Unable to open FCSM driver");