Lines Matching refs:open
193 * because we already have an alias handle open for the device.
299 if ((fd = open(file, O_RDONLY)) < 0)
369 if ((fd = open(path, O_RDWR | O_NDELAY)) < 0)
411 gettext("cannot open '%s': %s\n"),
437 gettext("cannot open '%s': no such "
445 gettext("cannot open '%s': %s\n"),
489 if ((fd = open(path, O_RDONLY)) < 0) {
490 (void) fprintf(stderr, gettext("cannot open '%s': "
681 * device is currently open, then we (should)
688 if ((fd = open(path, O_RDONLY)) >= 0) {
877 * as appropriate. When constructing the vdev spec, we were unable to open this
882 * devid already (because we were able to open the whole disk). Otherwise, we
926 if ((fd = open(buf, O_RDONLY)) < 0) {
928 gettext("cannot open '%s': %s\n"),
995 if ((fd = open(path, O_RDONLY)) < 0)