/illumos-gate/usr/src/tools/tokenize/ |
H A D | forth_preload.c | 157 { "open", 0 }, 273 ipose(open)
|
/illumos-gate/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_ddi.c | 47 #include <sys/open.h> 72 nulldev, /* open */ 174 * Attach an instance of the device. This happens before an open
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bl.c | 38 #include <sys/open.h> 185 bl_open, /* open */
|
H A D | cpuid_drv.c | 32 #include <sys/open.h>
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | HBA.cc | 281 Trace log("HBA::open"); 284 if ((fd = open(path.c_str(), flag)) < 0) { 285 log.debug("Unable to open \"%s\" - reason (%d) %s", 296 string msg = "Unable to open ";
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasSendSMPPassThru.c | 50 * open smp device 53 if ((fd = open(devpath, O_RDONLY | O_NONBLOCK)) == -1) { 55 "open devpath %s failed due to %s",
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mkbusy/ |
H A D | mkbusy.c | 18 * simply open it directly and pause. If not, verify that the parent directory 164 if ((fd = open(fpath, flags, mode)) < 0) 165 fail("open", 1);
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mktree/ |
H A D | mktree.c | 166 if ((fd = open(pname, O_CREAT|O_RDWR, 0777)) < 0) { 167 (void) fprintf(stderr, "open(%s, O_CREAT|O_RDWR, 0777) failed."
|
/illumos-gate/usr/src/uts/common/kmdb/ |
H A D | kdrv.c | 37 #include <sys/open.h>
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | sunldi.h | 30 #include <sys/open.h>
|
H A D | lofi.h | 42 #include <sys/open.h> 85 * ld = open("/dev/lofictl", O_RDWR | O_EXCL); 136 * no longer held open by anybody. When the device is last closed, it will be 249 vnode_t *ls_vp; /* open real vnode */ 250 vnode_t *ls_stacked_vp; /* open vnode */ 257 uint32_t ls_open_lyr[LOFI_PART_MAX]; /* open count */
|
/illumos-gate/usr/src/uts/sun4u/io/i2c/misc/ |
H A D | i2c_svc.c | 9 #include <sys/open.h>
|
/illumos-gate/usr/src/uts/intel/io/drm/ |
H A D | radeon_drv.c | 267 driver->open = radeon_driver_open;
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | ports.c | 171 * Set an alarm to wake us from trying to open the port. 201 * The following open must be interruptable. 215 while ((fd = open(device, open_mode, 0)) == -1) {
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | setboot.c | 161 if ((fd = open("/dev/openprom", O_RDWR)) < 0) { 162 perror(MSGSTR(6002, "Could not open openprom dev"));
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vfs.c | 72 fd = open(name, O_RDONLY, 0);
|
/illumos-gate/usr/src/test/zfs-tests/cmd/file_trunc/ |
H A D | file_trunc.c | 84 fd = open(filename, O_RDWR|O_CREAT|O_TRUNC, 0666); 86 perror("open");
|
/illumos-gate/usr/src/test/zfs-tests/cmd/getholes/ |
H A D | getholes.c | 149 if ((fd = open(fname, O_LARGEFILE | O_RDONLY)) < 0) { 150 perror("open failed");
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | gettxt.c | 175 if ((fd = open(pathname, O_RDONLY)) == -1 ||
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | isdir.c | 179 if ((fd = open(path, O_RDONLY, 0)) == -1) { 255 * Description: determine if an open file is local or remote 257 * Integer representing open file to check 344 /* open the remote file system type database file */
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | lftw.c | 50 * open for read were both successful. 81 * fn expects to be able to open files. We could also figure out 118 if ((pwdfd = open(".", O_RDONLY)) < 0) {
|
/illumos-gate/usr/src/lib/pam_modules/unix_session/ |
H A D | unix_session.c | 134 if ((fdl = open(LASTLOG, O_RDWR|O_CREAT|O_DSYNC, 0444)) >= 0) {
|
/illumos-gate/usr/src/cmd/isns/isnsadm/ |
H A D | isnsadm.c | 307 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) { 2567 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) { 2689 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) { 2800 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) { 2908 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) { 2974 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) { 3044 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) { 3181 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) { 3313 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) { 3379 if ((fd = open(ISNS_DOOR_NAM [all...] |
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_digest.c | 177 /* Mechanism is supported. Go ahead & open a session */ 182 bam_print(gettext("can not open PKCS#11 session: %s\n"), 201 if ((fd = open(filename, O_RDONLY | O_NONBLOCK)) == -1) { 202 bam_print(gettext("can not open input file %s\n"), filename);
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 42 * This file includes the definitions for open and fcntl 66 * File status flags: these are used by open(2), fcntl(2). 68 * which is a superset of the open/fcntl flags. Open flags and f_flags 72 /* open-only flags */ 73 #define O_RDONLY 0x0000 /* open for reading only */ 74 #define O_WRONLY 0x0001 /* open for writing only */ 75 #define O_RDWR 0x0002 /* open for reading and writing */ 79 * Kernel encoding of open mode; separate read and write bits that are 93 #define O_SHLOCK 0x0010 /* open with shared file lock */ 94 #define O_EXLOCK 0x0020 /* open wit [all...] |