Home
last modified time | relevance | path

Searched refs:O_RDONLY (Results 201 – 225 of 874) sorted by relevance

12345678910>>...35

/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcplugin/
H A Dpsvcplugin.c252 fd = open(dev_pr_info[i].file, O_RDONLY); in psvc_psr_plugin_init()
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dipft_hx.c40 tfd = open(fname, O_RDONLY);
H A Dkmem.c137 kvm_f = kvm_open(kern, core, NULL, O_RDONLY, NULL);
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpmain.c727 fi = open64(disk, O_RDONLY); in main()
788 mapfd = open(block, O_RDONLY, 0); in main()
1469 working_mode = mode & (O_WRONLY|O_RDWR|O_RDONLY); in safe_open_common()
1598 if (mode & O_RDONLY) { in safe_open_common()
1644 bmode = O_RDONLY; in safe_fopen()
/illumos-gate/usr/src/cmd/eeprom/sparc/
H A Dopenprom.c195 if (promopen(O_RDONLY)) { in do_var()
224 if (promopen(O_RDONLY)) { in dump_all()
/illumos-gate/usr/src/cmd/rcap/rcapstat/
H A Drcapstat.c154 if ((fd = open(STAT_FILE_DEFAULT, O_RDONLY)) < 0) { in read_stats()
175 if ((proc_fd = open(procfile, O_RDONLY)) < 0) { in read_stats()
/illumos-gate/usr/src/cmd/power/
H A Dsys-suspend.c599 (void) dup2(open("/dev/console", O_RDONLY), 0); in main()
780 if ((fd = open(CPR_CONFIG, O_RDONLY)) < 0) { in is_mou3()
/illumos-gate/usr/src/lib/libkvm/common/
H A Dtest.c130 tst_open(name, core, swap, (wflag ? O_RDWR : O_RDONLY)); in main()
170 (flag == O_RDONLY) ? "O_RDONLY" : ((flag == O_RDWR) ? in tst_open()
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vfs.c77 fd = open(name, O_RDONLY, 0); in fksmbsrv_vfs_init()
H A Dfake_vop.c424 omode = O_RDONLY|O_XATTR; in fake_lookup_xattrdir()
502 omode = O_RDONLY | O_NOFOLLOW; in fop_lookup()
509 omode |= O_RDONLY; in fop_lookup()
579 omode |= O_RDONLY; in fop_create()
706 if ((fd = openat(dvp->v_fd, name, O_RDONLY)) == -1) in fop_mkdir()
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Dprint.c111 file = open(filename, O_RDONLY, 0); in cmd_print()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm.c224 if ((fd = open(argv[2+shift], O_RDONLY)) == -1) in main()
/illumos-gate/usr/src/cmd/tsol/plabel/
H A Dplabel.c152 if ((fd = open(procname, O_RDONLY)) < 0) { in look()
/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_virtio_rnd.c155 fd = open("/dev/random", O_RDONLY | O_NONBLOCK); in pci_vtrnd_init()
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfs.c368 if ((fd = open(ipfdev, O_RDONLY)) == -1)
467 sfd = open(file, O_RDONLY, 0600);
582 nfd = open(file, O_RDONLY);
/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c704 case O_RDONLY:
801 case O_RDONLY:
963 if ((omode & O_ACCMODE) != O_RDONLY)
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_vdev.c302 if ((fd = open(file, O_RDONLY)) < 0) in check_file()
518 if ((fd = open(path, O_RDONLY)) < 0) { in make_leaf_vdev()
739 if ((fd = open(path, O_RDONLY)) >= 0) { in get_replication()
1038 if ((fd = open(buf, O_RDONLY)) < 0) { in make_disks()
1122 if ((fd = open(path, O_RDONLY)) < 0) in is_spare()
/illumos-gate/usr/src/cmd/tcopy/
H A Dtcopy.c79 if ((inp = open(inf, O_RDONLY, 0666)) < 0) { in main()
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmsac.c54 if ((Lckfd = open(PIDFILE, O_RDONLY)) != -1) { in openpid()
/illumos-gate/usr/src/cmd/hal/probing/printer/
H A Dprobe-printer.c49 if ((fd = open (device_file, O_RDONLY | O_NONBLOCK)) < 0) { in prnio_printer_info()
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd.c252 (void) open("/dev/null", O_RDONLY); in detachfromtty()
/illumos-gate/usr/src/cmd/ptools/pwait/
H A Dpwait.c125 if ((pfd->fd = open(psinfofile, O_RDONLY)) >= 0) { in main()
/illumos-gate/usr/src/lib/libproc/common/
H A DPscantext.c83 if ((mapfd = open(mapfile, O_RDONLY)) < 0) { in Pscantext()
/illumos-gate/usr/src/cmd/fm/schemes/mem/
H A Dmem_read.c153 if ((fd = open(device, O_RDONLY)) < 0) in mem_get_serid()
/illumos-gate/usr/src/boot/sys/sys/
H A Dfcntl.h73 #define O_RDONLY 0x0000 /* open for reading only */ macro

12345678910>>...35