Home
last modified time | relevance | path

Searched refs:O_RDONLY (Results 1 – 25 of 874) sorted by last modified time

12345678910>>...35

/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_main.c704 if ((door = open(door_name, O_RDONLY)) < 0) in smbd_already_running()
/illumos-gate/usr/src/test/util-tests/tests/smbios/
H A Dsmbios.c738 if ((test_dirfd = open(outdir, O_RDONLY)) < 0) { in main()
/illumos-gate/usr/src/common/smbios/
H A Dsmb_info.c320 int fd = open("/etc/smbios_product", O_RDONLY); in smbios_info_common()
/illumos-gate/usr/src/lib/fm/topo/modules/common/zen/
H A Dtopo_zen.c786 zen->zt_fd = open(topo_zen_dev, O_RDONLY); in topo_zen_init()
/illumos-gate/usr/src/cmd/nvmeadm/
H A Dnvmeadm.c3067 fw_fd = open(npa->npa_argv[0], O_RDONLY); in do_firmware_load()
/illumos-gate/usr/src/lib/libzpool/common/
H A Dkernel.c107 fd = open64(path, O_RDONLY); in vn_open()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_util.c1654 fd = open(path, O_RDONLY | O_LARGEFILE); in zfs_get_hole_count()
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c7268 ztest_fd_rand = open("/dev/urandom", O_RDONLY); in main()
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dmqueue.c402 oflag = oflag & (O_RDONLY|O_WRONLY|O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK); in mq_open()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dndbm.c171 db->dbm_flags = (flags & 03) == O_RDONLY ? _DBM_RDONLY : 0; in dbm_open()
H A Dnlspath_checks.c99 fd = open(path, O_RDONLY); in nls_safe_open()
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c670 if ((cfd = open64(CTFS_ROOT "/process/latest", O_RDONLY)) == -1) in contract_latest()
2573 if ((*fd = open64(path, O_RDONLY, 0)) >= 0 && in zsd_open_exacct()
2574 (oret = ea_fdopen(eaf, *fd, NULL, flags, O_RDONLY)) == 0) in zsd_open_exacct()
2672 fd = open(path, O_RDONLY); in zsd_refresh_procs()
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dzoneadmd.c517 fd = open(ZS_DOOR_PATH, O_RDONLY); in notify_zonestatd()
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c7548 } else if ((fd = open(filename, O_RDONLY)) < 0) { in zfs_do_channel_program()
/illumos-gate/usr/src/cmd/varpd/
H A Dvarpd.c153 fd = open(VARPD_RUNDIR, O_RDONLY); in varpd_dir_setup()
175 dupfd = open(_PATH_DEVNULL, O_RDONLY); in varpd_fd_setup()
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_define.c1171 fd = open("/usr/lib/th_script", O_RDONLY); in log2errdefs()
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dsvcs.c598 fd = contract_open(c, NULL, "status", O_RDONLY); in ctid_to_pids()
/illumos-gate/usr/src/cmd/svc/configd/
H A Dconfigd.c602 if ((fd = open(pidpath, O_RDONLY)) < 0 || in main()
/illumos-gate/usr/src/cmd/stmsboot/
H A Dstmsboot_util.c162 if ((mapfd = open(ondiskname, O_RDONLY)) < 0) { in main()
1258 fd = open(realpath, O_RDONLY|O_NDELAY); in get_devid()
1260 fd = open(openpath, O_RDONLY|O_NDELAY); in get_devid()
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_misc.c1347 fd = open(devnode, O_RDONLY|O_NDELAY); in get_device()
1439 ((fd = open(supplied, O_RDONLY|O_NDELAY)) >= 0)) { in lookup_device()
1456 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) { in lookup_device()
1473 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) { in lookup_device()
1490 fd = open(node, O_RDONLY|O_NDELAY); in is_cd()
2070 fd = my_open(sn, O_RDONLY|O_NDELAY); in get_media_info()
2073 fd = my_open(sdev, O_RDONLY|O_NDELAY); in get_media_info()
/illumos-gate/usr/src/cmd/ps/
H A Dps.c746 if ((procfd = open(pname, O_RDONLY)) < 0 || in stdmain()
945 if ((procfd = open(pname, O_RDONLY)) == -1) { in print_proc()
1007 if ((procfd = open(pname, O_RDONLY)) == -1) in print_proc()
1764 (fd = open(path, O_RDONLY)) != -1) { in print_field()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_rawfile.c435 oflags = O_RDONLY; in mdb_rawfile_tgt_create()
H A Dmdb_proc.c973 int mode = (flags & MDB_TGT_F_RDWR) ? O_RDWR : O_RDONLY; in pt_setflags()
5328 pt->p_oflags = O_RDONLY; in mdb_proc_tgt_create()
H A Dmdb_main.c303 if ((fd = open("/dev/kmdb", O_RDONLY)) < 0) in control_kmdb()
456 _mdb_self_fd = open("/proc/self/as", O_RDONLY); in main()
909 O_RDONLY, 0)) == NULL) in main()
989 tgt_argv[2], O_RDONLY, 0)) == NULL) in main()
997 O_RDONLY, 0)) == NULL) in main()
1098 fd = open64(rcpath, O_RDONLY); in main()
H A Dmdb_kvm.c303 mode = (flags & MDB_TGT_F_RDWR) ? O_RDWR : O_RDONLY; in kt_setflags()
1396 int oflag = (t->t_flags & MDB_TGT_F_RDWR) ? O_RDWR : O_RDONLY; in mdb_kvm_tgt_create()
1551 O_RDONLY, 0)) == NULL) { in mdb_kvm_tgt_create()

12345678910>>...35