Lines Matching refs:open
86 // open the fcsm node so we can send the ioctl to
89 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) ==
91 log.debug("Unable to open %d opened (%s)", i,
102 throw IOError("Unable to open FCSM driver");
157 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) == -1) {
223 if ((fd = open(port->getPath().c_str(), O_RDONLY | O_EXCL)) == -1) {
266 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) == -1) {
357 /* open the fcsm node so we can send the ioctl to */
359 if ((fd = open(FCSM_DRIVER_PATH.c_str(), O_RDONLY)) < 0) {
369 throw IOError("Unable to open FCSM driver");