/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcplugin/ |
H A D | psvcplugin.c | 252 fd = open(dev_pr_info[i].file, O_RDONLY); in psvc_psr_plugin_init()
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | ipft_hx.c | 40 tfd = open(fname, O_RDONLY);
|
H A D | kmem.c | 137 kvm_f = kvm_open(kern, core, NULL, O_RDONLY, NULL);
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumpmain.c | 727 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 D | openprom.c | 195 if (promopen(O_RDONLY)) { in do_var() 224 if (promopen(O_RDONLY)) { in dump_all()
|
/illumos-gate/usr/src/cmd/rcap/rcapstat/ |
H A D | rcapstat.c | 154 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 D | sys-suspend.c | 599 (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 D | test.c | 130 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 D | fake_vfs.c | 77 fd = open(name, O_RDONLY, 0); in fksmbsrv_vfs_init()
|
H A D | fake_vop.c | 424 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 D | print.c | 111 file = open(filename, O_RDONLY, 0); in cmd_print()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm.c | 224 if ((fd = open(argv[2+shift], O_RDONLY)) == -1) in main()
|
/illumos-gate/usr/src/cmd/tsol/plabel/ |
H A D | plabel.c | 152 if ((fd = open(procname, O_RDONLY)) < 0) { in look()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_virtio_rnd.c | 155 fd = open("/dev/random", O_RDONLY | O_NONBLOCK); in pci_vtrnd_init()
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipfs.c | 368 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 D | safefile.c | 704 case O_RDONLY: 801 case O_RDONLY: 963 if ((omode & O_ACCMODE) != O_RDONLY)
|
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_vdev.c | 302 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 D | tcopy.c | 79 if ((inp = open(inf, O_RDONLY, 0666)) < 0) { in main()
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmsac.c | 54 if ((Lckfd = open(PIDFILE, O_RDONLY)) != -1) { in openpid()
|
/illumos-gate/usr/src/cmd/hal/probing/printer/ |
H A D | probe-printer.c | 49 if ((fd = open (device_file, O_RDONLY | O_NONBLOCK)) < 0) { in prnio_printer_info()
|
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd.c | 252 (void) open("/dev/null", O_RDONLY); in detachfromtty()
|
/illumos-gate/usr/src/cmd/ptools/pwait/ |
H A D | pwait.c | 125 if ((pfd->fd = open(psinfofile, O_RDONLY)) >= 0) { in main()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pscantext.c | 83 if ((mapfd = open(mapfile, O_RDONLY)) < 0) { in Pscantext()
|
/illumos-gate/usr/src/cmd/fm/schemes/mem/ |
H A D | mem_read.c | 153 if ((fd = open(device, O_RDONLY)) < 0) in mem_get_serid()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 73 #define O_RDONLY 0x0000 /* open for reading only */ macro
|