Home
last modified time | relevance | path

Searched refs:O_RDONLY (Results 76 – 100 of 874) sorted by relevance

12345678910>>...35

/illumos-gate/usr/src/uts/intel/sys/acpi/platform/
H A Dacwin64.h175 #define O_RDONLY _O_RDONLY macro
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_mem_tracker.c38 my_fd = open("/proc/self/psinfo", O_RDONLY); in get_mem_kb()
/illumos-gate/usr/src/test/zfs-tests/cmd/file_check/
H A Dfile_check.c67 if ((bigfd = open(argv[1], O_RDONLY)) == -1) { in main()
/illumos-gate/usr/src/lib/libsmedia/library/common/
H A Dl_misc.c111 door_fd = open(smedia_service, O_RDONLY, 0644); in is_server_running()
166 door_fd = open(smedia_service, O_RDONLY, 0644); in is_server_running()
394 door_fd = open(smedia_service, O_RDONLY, 0644); in get_handle_from_fd()
/illumos-gate/usr/src/cmd/eject/
H A Deject.c348 if ((fd = open(name, O_RDONLY | O_NDELAY)) < 0) { in ejectit()
554 if ((fd = open(name, O_RDONLY|O_NONBLOCK)) < 0) { in query()
622 if ((fd = open(name, O_RDONLY)) < 0) { in query()
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_oflags.c44 if (!(oflags & (O_RDWR | O_WRONLY)) || oflags & O_RDONLY)
/illumos-gate/usr/src/tools/cscope-fast/
H A Dlogdir.c67 if ((pwf = open("/etc/passwd", O_RDONLY)) == -1) in logdir()
/illumos-gate/usr/src/lib/libpkg/common/
H A Ddstream.c191 if ((ds_fd = open(device, O_RDONLY)) >= 0 && in ds_readbuf()
307 if ((ds_fd = open(device, O_RDONLY)) < 0) { in ds_init()
361 if ((ds_fd = open(norewind, O_RDONLY)) < 0) { in ds_init()
613 if ((ds_fd = open(device, O_RDONLY)) < 0) in ds_getnextvol()
H A Druncmd.c337 stdinfile = open(a_inputFile, O_RDONLY); in e_ExecCmdArray()
339 stdinfile = open("/dev/null", O_RDONLY); /* stdin = /dev/null */ in e_ExecCmdArray()
/illumos-gate/usr/src/cmd/cdrw/
H A Dbstream.c274 fd = open(file, O_RDONLY); in open_file_read_stream()
371 if ((mode != O_RDONLY) && (mode != O_RDWR)) { in open_stdin_read_stream()
396 fd = open(fname, O_RDONLY); in open_au_read_stream()
477 fd = open(fname, O_RDONLY); in open_wav_read_stream()
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevalloc.c87 if ((fd = open(p, O_RDONLY | O_NONBLOCK)) < 0) in _da_check_for_usb()
113 else if ((action == DA_OFF) && (open(DEVALLOC, O_RDONLY) == -1)) in _reset_devalloc()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dfds.c234 switch (flags & (O_RDONLY|O_WRONLY|O_RDWR)) in b_fds()
236 case O_RDONLY: in b_fds()
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Drandom.c150 RANDOM_DEVICE, O_RDONLY)); in pkcs11_open_random()
157 URANDOM_DEVICE, O_RDONLY)); in pkcs11_open_urandom()
/illumos-gate/usr/src/cmd/ypcmd/
H A Dmkalias.c330 Indbm = dbm_open(argv[1], O_RDONLY, 0); in main()
335 Scandbm = dbm_open(argv[1], O_RDONLY, 0); in main()
/illumos-gate/usr/src/cmd/ctwatch/
H A Dctwatch.c98 if ((fd = open64(path, O_RDONLY | O_NONBLOCK)) == -1) { in sopen()
196 if ((fd = contract_open(id, NULL, "status", O_RDONLY)) == -1) in contract_type()
/illumos-gate/usr/src/lib/fm/topo/modules/common/shared/
H A Dtopo_sensor.c60 if ((fd = open(path, O_RDONLY)) < 0) { in topo_sensor_scalar_read()
158 if ((fd = open(path, O_RDONLY)) < 0) { in topo_sensor_create_scalar_sensor()
/illumos-gate/usr/src/lib/libmtmalloc/tests/
H A Dexhaust.c55 fd = open("/dev/zero", O_RDONLY); in main()
/illumos-gate/usr/src/cmd/spd/
H A Dspd.c41 fd = open(argv[1], O_RDONLY); in main()
/illumos-gate/usr/src/cmd/rdmsr/
H A Drdmsr.c55 if ((fd = open(dev_cpu_self_cpuid, O_RDONLY)) == -1) { in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/dir/
H A Dopendir.c55 if ((fd = open(path, O_RDONLY|O_cloexec)) < 0) return(0);
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dinit.c59 if ((fd = open(MDESC_PATH, O_RDONLY, 0)) < 0) in mdesc_devinit()
/illumos-gate/usr/src/lib/libcontract/common/
H A Ddevice_dump.c58 statfd = contract_open(ctid, "device", "status", O_RDONLY); in event_device()
/illumos-gate/usr/src/cmd/mv/
H A Dmv.c800 fi = open(source, O_RDONLY); in cpymve()
1995 if ((srcfd = open(src, O_RDONLY)) == -1) {
2023 if ((targfd = open(targ, O_RDONLY)) == -1) {
2038 if ((sourcedirfd = openat(srcfd, ".", O_RDONLY|O_XATTR)) == -1) {
2069 if ((targetdirfd = openat(targfd, ".", O_RDONLY|O_XATTR)) == -1) {
2150 O_RDONLY)) == -1) {
2189 O_RDONLY)) == -1) {
2230 pwdfd = open(".", O_RDONLY);
/illumos-gate/usr/src/test/zfs-tests/cmd/devname2devid/
H A Ddevname2devid.c74 if ((fd = open(device, O_RDONLY|O_NDELAY)) < 0) { in main()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/
H A Ddb-ndbm.h45 #define DBM_RDONLY O_RDONLY

12345678910>>...35