Home
last modified time | relevance | path

Searched refs:O_RDONLY (Results 226 – 250 of 874) sorted by relevance

12345678910>>...35

/illumos-gate/usr/src/cmd/ipf/lib/
H A Dipft_sn.c65 else if ((fd = open(fname, O_RDONLY)) == -1)
H A Dipft_td.c67 tfd = open(fname, O_RDONLY);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/
H A Dpiclfrudr.c586 envmon_fd = open(sc_device_name, O_RDONLY); in read_vol_data()
755 int fd = open(sc_device_name, O_RDONLY); in rmc_state_event()
2167 fd = open(sc_device_name, O_RDONLY); in opst_init()
2447 fd = open(V440_DISK_DEVCTL, O_RDONLY); in check_raid()
2451 fd = open(SEATTLE_DISK_DEVCTL, O_RDONLY); in check_raid()
2455 fd = open(BOSTON_DISK_DEVCTL_1068E, O_RDONLY); in check_raid()
2457 fd = open(BOSTON_DISK_DEVCTL_1068X, O_RDONLY); in check_raid()
2603 if ((fd = open(BOSTON_DISK_DEVCTL_1068E, O_RDONLY)) != -1) { in disk_leds_thread()
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipf.c204 if ((fd = open(ipfdev, O_RDONLY)) == -1)
546 if ((vfd = open(ipfname, O_RDONLY)) == -1) { in showversion()
/illumos-gate/usr/src/cmd/hal/probing/storage/
H A Dprobe-storage.c388 if ((rfd = open (raw_device_file, O_RDONLY | O_NONBLOCK)) < 0) { in main()
432 if ((fd = open (device_file, O_RDONLY | O_NONBLOCK)) < 0) { in main()
/illumos-gate/usr/src/cmd/svc/startd/
H A Dlog.c282 (void) open("/dev/null", O_RDONLY); in setlog()
307 if ((fd = open(path, O_RDONLY, 0644)) == -1) in log_dir_writeable()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dti_opts.c355 if ((s = open("/dev/udp", O_RDONLY)) < 0) { in __rpc_get_ltaddr()
411 if ((s = open("/dev/udp6", O_RDONLY)) < 0) { in __rpc_get_ltaddr()
/illumos-gate/usr/src/cmd/ppgsz/
H A Dppgsz.c465 if ((fd = open(path, O_RDONLY)) < 0) in setpgsz_anon()
552 if ((fd = open(path, O_RDONLY)) < 0) in discover_optimal_pagesize()
/illumos-gate/usr/src/test/zfs-tests/cmd/mkbusy/
H A Dmkbusy.c162 flags = rflag == B_FALSE ? O_CREAT | O_RDWR : O_RDONLY; in main()
/illumos-gate/usr/src/cmd/iscsitsvc/
H A Discsitsvc.c95 *fd = open(ISCSIT_NODE, O_RDONLY); in it_open()
/illumos-gate/usr/src/test/libc-tests/tests/stdio/
H A Dfileno.c197 fno_nextfd = open("/dev/null", O_RDONLY); in main()
/illumos-gate/usr/src/test/smbclient-tests/cmd/cp_mmap/
H A Dcp_mmap.c106 src_fid = open(src_file, O_RDONLY); in main()
/illumos-gate/usr/src/cmd/fs.d/smbclnt/chacl/
H A Dchacl.c175 fd = open(file, O_RDONLY, 0); in chacl()
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd.c244 if (open("/dev/null", O_RDONLY) < 0 || in daemonize_start()
/illumos-gate/usr/src/boot/common/
H A Dls.c186 fd = open(path, O_RDONLY); in ls_getdir()
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dpdevinfo_sun4u.c97 if (promopen(O_RDONLY)) { in do_prominfo()
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Dosspec.c179 if ((mnttab_fd = open (MNTTAB, O_RDONLY)) < 0) { in mnttab_event_init()
/illumos-gate/usr/src/lib/crypt_modules/bsdbf/
H A Darc4random.c97 fd = open("/dev/urandom", O_RDONLY);
/illumos-gate/usr/src/cmd/oplhpd/
H A Doplhpd.c158 (void) open("/dev/null", O_RDONLY); in init_daemon()
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c638 fd = open64(qfilename, O_RDONLY); in getdiskquota()
698 fd = open64(qfile, O_RDONLY); in quotactl()
721 fd = open64(qfile, O_RDONLY); in quotactl()
/illumos-gate/usr/src/cmd/ucodeadm/
H A Ducodeadm.c193 if ((fd = open(infile, O_RDONLY)) < 0) in ucode_convert_amd()
275 if ((fd = open(filename, O_RDONLY)) == -1) in ucode_should_update_intel()
893 if ((dev_fd = open(ucode_dev, O_RDONLY)) == -1) { in main()
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/
H A Dfcntl_h.cfg40 value | O_RDONLY | int | fcntl.h | POSIX+ SUS+
/illumos-gate/usr/src/lib/libsaveargs/tests/dump/
H A Ddump.c154 if ((fd = open(argv[1], O_RDONLY)) == -1) in main()
/illumos-gate/usr/src/test/zfs-tests/cmd/getholes/
H A Dgetholes.c149 if ((fd = open(fname, O_LARGEFILE | O_RDONLY)) < 0) { in main()
/illumos-gate/usr/src/tools/install.bin/
H A Dinstall.bin.c71 if ((src_fd = open(src_file, O_RDONLY)) == -1) { in file_copy()

12345678910>>...35