/illumos-gate/usr/src/uts/intel/sys/acpi/platform/ |
H A D | acwin64.h | 175 #define O_RDONLY _O_RDONLY macro
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_mem_tracker.c | 38 my_fd = open("/proc/self/psinfo", O_RDONLY); in get_mem_kb()
|
/illumos-gate/usr/src/test/zfs-tests/cmd/file_check/ |
H A D | file_check.c | 67 if ((bigfd = open(argv[1], O_RDONLY)) == -1) { in main()
|
/illumos-gate/usr/src/lib/libsmedia/library/common/ |
H A D | l_misc.c | 111 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 D | eject.c | 348 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 D | os_oflags.c | 44 if (!(oflags & (O_RDWR | O_WRONLY)) || oflags & O_RDONLY)
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | logdir.c | 67 if ((pwf = open("/etc/passwd", O_RDONLY)) == -1) in logdir()
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | dstream.c | 191 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 D | runcmd.c | 337 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 D | bstream.c | 274 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 D | devalloc.c | 87 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 D | fds.c | 234 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 D | random.c | 150 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 D | mkalias.c | 330 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 D | ctwatch.c | 98 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 D | topo_sensor.c | 60 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 D | exhaust.c | 55 fd = open("/dev/zero", O_RDONLY); in main()
|
/illumos-gate/usr/src/cmd/spd/ |
H A D | spd.c | 41 fd = open(argv[1], O_RDONLY); in main()
|
/illumos-gate/usr/src/cmd/rdmsr/ |
H A D | rdmsr.c | 55 if ((fd = open(dev_cpu_self_cpuid, O_RDONLY)) == -1) { in main()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/dir/ |
H A D | opendir.c | 55 if ((fd = open(path, O_RDONLY|O_cloexec)) < 0) return(0);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | init.c | 59 if ((fd = open(MDESC_PATH, O_RDONLY, 0)) < 0) in mdesc_devinit()
|
/illumos-gate/usr/src/lib/libcontract/common/ |
H A D | device_dump.c | 58 statfd = contract_open(ctid, "device", "status", O_RDONLY); in event_device()
|
/illumos-gate/usr/src/cmd/mv/ |
H A D | mv.c | 800 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 D | devname2devid.c | 74 if ((fd = open(device, O_RDONLY|O_NDELAY)) < 0) { in main()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/ |
H A D | db-ndbm.h | 45 #define DBM_RDONLY O_RDONLY
|