/illumos-gate/usr/src/cmd/sgs/libcrle/common/ |
H A D | dump.c | 215 if ((fd = open(MSG_ORIG(MSG_PTH_PROCSTATUS), O_RDONLY)) == -1) { in filladdr() 246 if ((fd = open(MSG_ORIG(MSG_PTH_PROCRMAP), O_RDONLY)) == -1) { in filladdr() 283 if ((fd = open(MSG_ORIG(MSG_PTH_DEVNULL), O_RDONLY)) == -1) { in filladdr()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/lockfs/ |
H A D | lockfs.c | 257 fd = open64(fn, O_RDONLY); in printstatus() 348 fd = open64(fn, O_RDONLY); in flushfs() 373 fd = open64(fn, O_RDONLY); in lockfs()
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | lftw.c | 118 if ((pwdfd = open(".", O_RDONLY)) < 0) { in lf_lftw() 167 attrfd = attropen64(path, ".", O_RDONLY|O_NONBLOCK); in lf_xftw()
|
/illumos-gate/usr/src/lib/krb5/ss/ |
H A D | help.c | 69 if ((fd = open(&buffer[0], O_RDONLY)) >= 0) goto got_it; 71 if ((fd = open(&buffer[0], O_RDONLY)) < 0) {
|
/illumos-gate/usr/src/boot/i386/gptzfsboot/ |
H A D | zfsboot.c | 288 fd = open(PATH_CONFIG, O_RDONLY); in main() 290 fd = open(PATH_DOTCONFIG, O_RDONLY); in main() 379 if ((fd = open(kname, O_RDONLY)) == -1) { in load() 539 fd = open(arg, O_RDONLY); in fs_list() 739 pa.fd = open(devname, O_RDONLY); in probe_partition() 799 pa.fd = open(devname, O_RDONLY); in probe_disk()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/roll_log/ |
H A D | roll_log.c | 350 O_RDONLY)) == SYSERR) { in rlflush() 485 fd = open(li.li_mntpoint, O_RDONLY); in rl_log_control() 487 fd = open(li.li_tmpmp, O_RDONLY); in rl_log_control()
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | TgtFCHBA.cc | 97 if ((fd = open(FCT_DRIVER_PATH.c_str(), O_NDELAY | O_RDONLY)) == -1) { in getHBAAttributes() 173 if ((fd = open(FCT_DRIVER_PATH.c_str(), O_NDELAY | O_RDONLY)) == -1) { in doForceLip() 259 if ((fd = open(FCT_DRIVER_PATH.c_str(), O_RDONLY)) < 0) { in loadAdapters()
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 1389 if ((fcp_fd = g_object_open(FCP_PATH, O_RDONLY)) == -1) { in g_get_inq_dtype() 1452 if ((fcp_fd = g_object_open(FCP_PATH, O_RDONLY)) == -1) { in get_fca_inq_dtype() 2084 if ((fcp_fd = g_object_open(FCP_PATH, O_RDONLY)) == -1) { in handle_map_dev_FCP_prop() 2558 O_NDELAY | O_RDONLY | O_EXCL)) == in g_dev_map_init() 3432 O_NDELAY | O_RDONLY)) == -1) in g_rdls() 4015 if ((fd = g_object_open(path, O_NDELAY | O_RDONLY)) == -1) in g_get_inquiry() 4097 if ((fd = g_object_open(path, O_NDELAY | O_RDONLY)) == -1) in g_get_perf_statistics() 4119 if ((fd = g_object_open(path, O_NDELAY | O_RDONLY)) == -1) in g_start() 4132 if ((fd = g_object_open(path, O_NDELAY | O_RDONLY)) == -1) in g_stop() 4145 if ((fd = g_object_open(path, O_NDELAY | O_RDONLY)) == -1) in g_reserve() [all …]
|
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/ |
H A D | adm_kef_ioctl.c | 267 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDONLY)) == -1) { in get_dev_list() 350 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDONLY)) == -1) { in get_dev_info() 464 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDONLY)) == -1) { in get_soft_info() 549 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDONLY)) == -1) { in get_soft_list()
|
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones_exec.c | 182 stdinfile = open(a_inputFile, O_RDONLY); in z_ExecCmdArray() 184 stdinfile = open("/dev/null", O_RDONLY); /* stdin = /dev/null */ in z_ExecCmdArray() 749 stdinfile = open(a_inputFile, O_RDONLY); in _z_zone_exec() 751 stdinfile = open("/dev/null", O_RDONLY); /* stdin = /dev/null */ in _z_zone_exec()
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | device.c | 126 fd = open(devnode, O_RDONLY|O_NDELAY); in get_device() 457 ((fd = open(supplied, O_RDONLY|O_NDELAY)) >= 0)) { in lookup_device() 478 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) { in lookup_device() 494 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) { in lookup_device() 518 fd = open(node, O_RDONLY|O_NDELAY); in is_cd()
|
/illumos-gate/usr/src/cmd/fm/mcdecode/ |
H A D | mcdecode.c | 176 if ((fd = open(file, O_RDONLY)) < 0) { in mcdecode_from_file() 232 if ((fd = open(device, O_RDONLY)) < 0) { in mcdecode_pa() 297 if ((fd = open(device, O_RDONLY)) < 0) { in mcdecode_dump()
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgexecv.c | 354 n = open(filein, O_RDONLY); in pkgexecv() 364 n = open(filein, O_RDONLY); in pkgexecv()
|
/illumos-gate/usr/src/cmd/vt/ |
H A D | vtinfo.c | 45 if ((fd = open("/dev/vt/0", O_RDONLY)) < 0) in main()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
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()
|
/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/ |
H A D | ps.c | 79 if ((pauxvfd = open(pname, O_RDONLY)) == -1) in get_ldbase() 140 if ((procp->pp_mapfd = open(procname, O_RDONLY)) == -1) in ps_init() 327 if ((lwpfd = open(procname, O_RDONLY)) == -1) in ps_lgetregs()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | stat.c | 43 fd = open(str, O_RDONLY); in stat()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | fcntl.c | 257 #ifndef O_RDONLY in main() 275 #ifndef O_RDONLY in main()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | opendir.c | 53 O_RDONLY | O_NDELAY | O_LARGEFILE, 0)) < 0) in opendir()
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | proc.c | 46 fd = open("/proc/self/psinfo", O_RDONLY); in proc_get_ctid()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | can_use_af.c | 48 if ((fd = open("/dev/udp", O_RDONLY)) < 0) in __can_use_af()
|
/illumos-gate/usr/src/cmd/rcap/common/ |
H A D | rcapd_stat.c | 45 if ((fd = open(file, O_RDONLY)) < 0) in stat_get_rcapd_pid()
|
/illumos-gate/usr/src/test/zfs-tests/cmd/has_unmap/ |
H A D | has_unmap.c | 36 if ((fd = open(argv[1], O_RDONLY)) == -1) { in main()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/exec/ |
H A D | mmap_exec.c | 55 if ((fd = open(argv[1], O_RDONLY)) < 0) { in main()
|
/illumos-gate/usr/src/cmd/w/ |
H A D | w.c | 363 dirfd = priv_proc_open(pname, O_RDONLY | O_DIRECTORY); in main() 367 procfd = priv_proc_openat(dirfd, "psinfo", O_RDONLY); in main() 386 procfd = priv_proc_openat(dirfd, "status", O_RDONLY); in main() 399 procfd = priv_proc_openat(dirfd, "sigact", O_RDONLY); in main()
|