Searched defs:omode (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dstermio.h68 unsigned short omode; member in struct:stio
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Dptrace.c482 int omode; local
490 omode = (cp->asfd > 0)? O_RDWR : (O_RDWR|O_EXCL);
492 if ((fd = open(procname, omode, 0)) < 0 ||
/illumos-gate/usr/src/lib/libc/sparc/sys/
H A Dptrace.c490 int omode; local
498 omode = (cp->asfd > 0)? O_RDWR : (O_RDWR|O_EXCL);
500 if ((fd = open(procname, omode, 0)) < 0 ||
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c323 int omode = O_RDWR | O_NOFOLLOW; local
350 omode = O_RDONLY | O_NOFOLLOW;
353 fd = openat(dvp->v_fd, name, omode, 0);
355 if ((omode & O_RWMASK) == O_RDWR) {
356 omode &= ~O_RWMASK;
357 omode |= O_RDONLY;
390 int err, fd, omode; local
419 omode = O_RDWR | O_CREAT | O_NOFOLLOW;
421 omode |= O_EXCL;
423 fd = openat(dvp->v_fd, name, omode, mod
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Danalyze.c909 update_mode(Rt_map *lmp, int omode, int nmode) argument
933 if ((omode & RTLD_LAZY) && (nmode & RTLD_NOW)) {
938 pmode |= ((~omode & nmode) &
/illumos-gate/usr/src/cmd/smserverd/
H A Dsmserver.h204 int omode; member in struct:smedia_reqopen
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_vnops.c1193 mode_t omode; local
1285 omode = va.va_mode;
1379 va.va_mode != omode))) {
1384 va.va_mode = omode;
H A Dnfs3_vnops.c1353 mode_t omode; local
1420 omode = va.va_mode;
1493 (!(mask & AT_MODE) && va.va_mode != omode))) {
1498 va.va_mode = omode;
H A Dnfs4_vnops.c3792 mode_t omode; local
3903 omode = rp->r_attr.va_mode;
4238 (!(mask & AT_MODE) && va.va_mode != omode))) {
4253 * set mode to omode with UID/GID cleared.
4255 if (nfs4_compare_modes(va.va_mode, omode)) {
4256 omode &= ~(S_ISUID|S_ISGID);
4257 va.va_mode = omode;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dikeadm.c3183 int oflag, omode, fd, ndesc = 0; local
3196 omode = 0;
3207 omode = S_IRUSR | S_IWUSR;
3225 fd = open(argv[0], oflag, omode);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dconf.c3595 int omode = fcntl(fd, F_GETFL, 0); local
3599 syserr("cannot lockf(%s%s, fd=%d, type=%o, omode=%o, euid=%d)",
3600 filename, ext, fd, type, omode, euid);
3625 int omode = fcntl(fd, F_GETFL, 0); local
3629 syserr("cannot flock(%s%s, fd=%d, type=%o, omode=%o, euid=%d)",
3630 filename, ext, fd, type, omode, euid);
H A Dmap.c1706 int omode = bitset(map->map_mflags, MF_WRITABLE) ? O_RDWR local
1714 if (map->map_class->map_open(map, omode))
1718 if ((omode & O_ACCMODE) == O_RDWR)
2007 int omode; variable
2038 omode = mode;
2075 omode |= O_CREAT|O_EXCL;
2081 omode |= O_TRUNC|O_EXLOCK;
2083 omode |= O_SHLOCK;
2091 fd = open(buf, omode, DBMMODE);
2126 omode |
2355 int omode = bitset(map->map_mflags, MF_WRITABLE) ? O_RDWR local
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.c769 int fd, omode; local
822 omode = (flags & PGRAB_RDONLY) ? O_RDONLY : O_RDWR;
824 if (((fd = open(procname, omode | O_EXCL)) < 0 &&
825 (fd = ((flags & PGRAB_FORCE)? open(procname, omode) : -1)) < 0) ||
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c3416 mode_t fmode, omode = O_WRONLY|O_APPEND|O_NOCTTY; local
3514 f->f_file = open64(p, omode|fmode);
3533 (void) fcntl(f->f_file, F_SETFL, omode);
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c200 static int openfile(int omode);
8717 openfile(int omode) argument
8720 return (openat(G_p->g_dirfd, G_p->g_attrnam_p, omode));
8723 get_component(G_p->g_nam_p), omode));
8728 openfile(int omode) argument
8730 return (openat(G_p->g_dirfd, get_component(G_p->g_nam_p), omode));
9737 attropen(char *file, char *attr, int omode, mode_t cmode) argument
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c8578 attropen(char *file, char *attr, int omode, mode_t cmode) argument
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_ktypes.h1457 uint16_t omode; member in struct:open_param

Completed in 228 milliseconds