/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_main.c | 704 if ((door = open(door_name, O_RDONLY)) < 0) in smbd_already_running()
|
/illumos-gate/usr/src/test/util-tests/tests/smbios/ |
H A D | smbios.c | 738 if ((test_dirfd = open(outdir, O_RDONLY)) < 0) { in main()
|
/illumos-gate/usr/src/common/smbios/ |
H A D | smb_info.c | 320 int fd = open("/etc/smbios_product", O_RDONLY); in smbios_info_common()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/zen/ |
H A D | topo_zen.c | 786 zen->zt_fd = open(topo_zen_dev, O_RDONLY); in topo_zen_init()
|
/illumos-gate/usr/src/cmd/nvmeadm/ |
H A D | nvmeadm.c | 3067 fw_fd = open(npa->npa_argv[0], O_RDONLY); in do_firmware_load()
|
/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 107 fd = open64(path, O_RDONLY); in vn_open()
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_util.c | 1654 fd = open(path, O_RDONLY | O_LARGEFILE); in zfs_get_hole_count()
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | ztest.c | 7268 ztest_fd_rand = open("/dev/urandom", O_RDONLY); in main()
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | mqueue.c | 402 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 D | ndbm.c | 171 db->dbm_flags = (flags & 03) == O_RDONLY ? _DBM_RDONLY : 0; in dbm_open()
|
H A D | nlspath_checks.c | 99 fd = open(path, O_RDONLY); in nls_safe_open()
|
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 670 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 D | zoneadmd.c | 517 fd = open(ZS_DOOR_PATH, O_RDONLY); in notify_zonestatd()
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 7548 } else if ((fd = open(filename, O_RDONLY)) < 0) { in zfs_do_channel_program()
|
/illumos-gate/usr/src/cmd/varpd/ |
H A D | varpd.c | 153 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 D | th_define.c | 1171 fd = open("/usr/lib/th_script", O_RDONLY); in log2errdefs()
|
/illumos-gate/usr/src/cmd/svc/svcs/ |
H A D | svcs.c | 598 fd = contract_open(c, NULL, "status", O_RDONLY); in ctid_to_pids()
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | configd.c | 602 if ((fd = open(pidpath, O_RDONLY)) < 0 || in main()
|
/illumos-gate/usr/src/cmd/stmsboot/ |
H A D | stmsboot_util.c | 162 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 D | rmf_misc.c | 1347 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 D | ps.c | 746 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 D | mdb_rawfile.c | 435 oflags = O_RDONLY; in mdb_rawfile_tgt_create()
|
H A D | mdb_proc.c | 973 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 D | mdb_main.c | 303 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 D | mdb_kvm.c | 303 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()
|