Searched refs:open (Results 826 - 850 of 1624) sorted by relevance

<<31323334353637383940>>

/illumos-gate/usr/src/cmd/filesync/
H A Dmain.c552 lockfd = open(file_base, O_RDWR);
/illumos-gate/usr/src/cmd/fm/schemes/mem/sparc/
H A Dmem_disc.c435 if ((fd = open("/dev/mem", O_RDONLY)) < 0)
/illumos-gate/usr/src/cmd/fs.d/
H A Dfslib.c393 int fp = open("/", O_RDONLY);
398 * For some reason cannot open root as read only. Need a valid file
399 * descriptor to call the ufs private ioctl. If this open failes,
H A Dswitchout.c369 (void) fprintf(stderr, gettext("%s: cannot open vfstab\n"),
414 if ((fd = open(mountpoint, O_RDONLY)) < 0) {
/illumos-gate/usr/src/cmd/sckmd/sparc/sun4u/
H A Dsckmd.c139 * to open (then close) a PF_KEY socket.
142 sckmd_log(LOG_DEBUG, "PF_KEY open for IPsec load failed: %s\n",
174 /* open driver */
175 if ((fd = open(KM_DEV, O_RDONLY)) == -1) {
/illumos-gate/usr/src/cmd/sgs/ld/common/
H A Dld.c393 if ((fd = open(argv[optind], O_RDONLY)) == -1) {
/illumos-gate/usr/src/cmd/avs/dsbitmap/
H A Ddsbitmap.c127 if ((fd = open(partition, O_RDONLY)) < 0) {
128 error(NULL, gettext("unable to open partition, %s: %s"),
/illumos-gate/usr/src/cmd/avs/ncall/
H A Dncalladm.c300 fd = open(dev, O_RDONLY);
303 gettext("%s: unable to open %s: %s\n"),
/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dsd_stats.c208 logfd = open(optarg, O_CREAT|O_WRONLY|O_TRUNC, 0644);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dauth.c320 /* open user info file */
325 option_error("unable to open user login data file %s", *argv);
645 (*cbcp_protent.open)(unit);
677 && protp->open != NULL) {
678 (*protp->open)(0);
1119 error("Can't open PAP password file %s: %m", filename);
1379 if ((fd = open(_PATH_LASTLOG, O_RDWR, 0)) >= 0) {
1595 * get_secret - open the CHAP secret file and return the secret
1633 error("Can't open chap secret file %s: %m", filename);
2020 * it's safe to open thi
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/tunefs/
H A Dtunefs.c109 perror("open");
319 mountfd = open(mountpoint, O_RDONLY);
370 fprintf(stderr, "Cannot open ");
/illumos-gate/usr/src/cmd/fstyp/
H A Dfstyp.c120 if ((fd = open(devpath, O_RDONLY)) < 0) {
/illumos-gate/usr/src/cmd/hal/addons/storage/
H A Daddon-storage.c288 /* to open logindevperm'd devices */
366 /* Linux version of this addon attempts to re-open the device O_EXCL
377 } else if ((fd < 0) && ((fd = open (raw_device_file, O_RDONLY | O_NONBLOCK)) < 0)) {
378 HAL_DEBUG (("open failed for %s: %s", raw_device_file, strerror (errno)));
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dipft_tx.c132 tfd = open(fname, O_RDONLY);
/illumos-gate/usr/src/cmd/ipf/svc/
H A Dipfd.c127 if ((fd = open(DEV_NULL, O_RDONLY)) == -1) {
128 (void) printf("Could not open /dev/null: %s\n",
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dwho.c162 if ((fd = open(op->o_lmp->l_name, O_RDONLY)) == -1) {
/illumos-gate/usr/src/cmd/stmfproxy/stmfproxy/
H A Dstmfproxy.c322 devnull = open("/dev/null", O_RDWR);
325 "Failed to open /dev/null. Exiting");
380 * open proxy driver
524 * the device open since the proxy driver has a reference.
/illumos-gate/usr/src/cmd/svc/startd/
H A Dutmpx.c403 if ((fd = open(_UTMPX_FILE,
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dmain.c64 #define ERR_IOPEN "unable to open input file <%s>"
555 if ((fd = open(file, O_RDONLY)) == -1) {
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_manage.c184 fd = open("/devices/pseudo/bofi@0:bofi,ctl", O_RDWR);
186 perror("th_manage - open of bofi driver");
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_pass.c38 #include <sys/open.h>
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmi/
H A Daudiocmi.h273 boolean_t open; member in struct:cmpci_port
/illumos-gate/usr/src/uts/common/io/
H A Dcons.c42 #include <sys/open.h>
85 cnopen, /* open */
291 cmn_err(CE_WARN, "cnopen: failed to open vsconsvp "
328 * for this open.
333 * whilst we were in the middle of the open.
339 cmn_err(CE_PANIC, "cnopen: cloned open");
357 * hardware console device open, we won't get here, since spec_close
/illumos-gate/usr/src/test/os-tests/tests/poll/
H A Dpoll_test.c375 pollfd = open("/dev/poll", O_RDWR);
378 perror("Failed to open /dev/poll: ");
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu.c30 #include <sys/open.h>

Completed in 140 milliseconds

<<31323334353637383940>>