Home
last modified time | relevance | path

Searched refs:omode (Results 1 – 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_open_andx.c251 op->desired_access = smb_omode_to_amask(op->omode); in smb_com_open()
257 if (op->omode & SMB_DA_WRITE_THROUGH) in smb_com_open()
310 op->omode, in smb_com_open()
340 &sr->andx_off, &openx_flags, &op->omode, &sattr, in smb_pre_open_andx()
392 op->desired_access = smb_omode_to_amask(op->omode); in smb_com_open_andx()
402 if (op->omode & SMB_DA_WRITE_THROUGH) in smb_com_open_andx()
467 op->omode, /* (w) */ in smb_com_open_andx()
487 op->omode, /* (w) */ in smb_com_open_andx()
550 op->desired_access = smb_omode_to_amask(op->omode); in smb_com_trans2_open2()
558 if (op->omode & SMB_DA_WRITE_THROUGH) in smb_com_trans2_open2()
[all …]
H A Dsmb_create.c186 op->omode = SMB_DA_ACCESS_READ_WRITE | SMB_DA_SHARE_COMPATIBILITY; in smb_common_create()
187 op->desired_access = smb_omode_to_amask(op->omode); in smb_common_create()
188 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_common_create()
/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c683 int omode;
697 fn, omode, cmode, sff);
699 if (bitset(O_CREAT, omode))
701 omode &= ~O_CREAT;
702 switch (omode & O_ACCMODE)
743 omode &= ~O_TRUNC;
790 int omode;
799 switch (omode & O_ACCMODE)
806 if (bitset(O_APPEND, omode))
813 if (bitset(O_TRUNC, omode))
[all …]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c400 int omode = O_RDWR | O_NOFOLLOW; in fake_lookup_xattrdir() local
424 omode = O_RDONLY|O_XATTR; in fake_lookup_xattrdir()
425 fd = openat(dvp->v_fd, ".", omode); in fake_lookup_xattrdir()
475 int omode = O_RDWR | O_NOFOLLOW; in fop_lookup() local
502 omode = O_RDONLY | O_NOFOLLOW; in fop_lookup()
508 omode &= ~O_RWMASK; in fop_lookup()
509 omode |= O_RDONLY; in fop_lookup()
542 int err, fd, omode; in fop_create() local
573 omode |= O_EXCL; in fop_create()
578 omode &= ~O_RWMASK; in fop_create()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb.c125 int omode = fcntl(fd, F_GETFL, NULL);
129 filename, ext, fd, type, omode, euid);
145 int omode = fcntl(fd, F_GETFL, NULL);
149 filename, ext, fd, type, omode, euid);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dbf.c69 # define OPEN(fn, omode, cmode, sff) open(fn, omode, cmode) argument
71 # define OPEN(fn, omode, cmode, sff) safeopen(fn, omode, cmode, sff) argument
H A Dmap.c1718 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 |= O_TRUNC;
2127 omode &= ~(O_EXCL|O_CREAT);
2141 if (bitset(O_CREAT, omode))
[all …]
H A Dconf.c3596 int omode = fcntl(fd, F_GETFL, 0); local
3601 filename, ext, fd, type, omode, euid);
3626 int omode = fcntl(fd, F_GETFL, 0); local
3631 filename, ext, fd, type, omode, euid);
/illumos-gate/usr/src/uts/common/sys/
H A Dstermio.h66 unsigned short omode; member
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/
H A Ddelegate_common.kshlib1312 typeset nmode omode
1314 omode=$(get_prop $perm $fs)
1315 if [[ $omode == "off" ]]; then
1327 log_note "$user zfs set $perm=$omode $fs"
1328 user_run $user zfs set $perm=$omode $fs
1329 if [[ $(get_prop $perm $fs) != $omode ]]; then
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Dptrace.c480 int omode; in OpenProc() local
488 omode = (cp->asfd > 0)? O_RDWR : (O_RDWR|O_EXCL); in OpenProc()
490 if ((fd = open(procname, omode, 0)) < 0 || in OpenProc()
/illumos-gate/usr/src/lib/libc/sparc/sys/
H A Dptrace.c490 int omode; in OpenProc() local
498 omode = (cp->asfd > 0)? O_RDWR : (O_RDWR|O_EXCL); in OpenProc()
500 if ((fd = open(procname, omode, 0)) < 0 || in OpenProc()
/illumos-gate/usr/src/ucbcmd/stty/
H A Dsttyparse.c357 termios->c_oflag = stermio->omode;
397 stermio->omode = termios->c_oflag;
H A Dstty.c194 m = stio.omode; in prmodes()
/illumos-gate/usr/src/cmd/smserverd/
H A Dsmserver.h204 int omode; member
/illumos-gate/usr/src/cmd/ttymon/
H A Dsttyparse.c393 termios->c_oflag = stermio->omode;
457 stermio->omode = termios->c_oflag;
H A Dstty.c245 m = stio.omode; in prmodes()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dikeadm.c3186 int oflag, omode, fd, ndesc = 0; in do_rw() local
3199 omode = 0; in do_rw()
3210 omode = S_IRUSR | S_IWUSR; in do_rw()
3228 fd = open(argv[0], oflag, omode); in do_rw()
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Danalyze.c908 update_mode(Rt_map *lmp, int omode, int nmode) in update_mode() argument
932 if ((omode & RTLD_LAZY) && (nmode & RTLD_NOW)) { in update_mode()
937 pmode |= ((~omode & nmode) & in update_mode()
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.c772 int fd, omode; in Pgrab() local
826 omode = (flags & PGRAB_RDONLY) ? O_RDONLY : O_RDWR; in Pgrab()
828 if (((fd = open(procname, omode | O_EXCL)) < 0 && in Pgrab()
829 (fd = ((flags & PGRAB_FORCE)? open(procname, omode) : -1)) < 0) || in Pgrab()
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c209 static int openfile(int omode);
8735 openfile(int omode) in openfile() argument
8738 return (openat(G_p->g_dirfd, G_p->g_attrnam_p, omode)); in openfile()
8741 get_component(G_p->g_nam_p), omode)); in openfile()
8746 openfile(int omode) in openfile() argument
8748 return (openat(G_p->g_dirfd, get_component(G_p->g_nam_p), omode)); in openfile()
9755 attropen(char *file, char *attr, int omode, mode_t cmode) in attropen() argument
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_vnops.c1193 mode_t omode; in nfssetattr() local
1285 omode = va.va_mode; in nfssetattr()
1379 va.va_mode != omode))) { in nfssetattr()
1384 va.va_mode = omode; in nfssetattr()
H A Dnfs3_vnops.c1354 mode_t omode; in nfs3setattr() local
1421 omode = va.va_mode; in nfs3setattr()
1494 (!(mask & AT_MODE) && va.va_mode != omode))) { in nfs3setattr()
1499 va.va_mode = omode; in nfs3setattr()
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c3403 mode_t fmode, omode = O_WRONLY|O_APPEND|O_NOCTTY; in cfline() local
3501 f->f_file = open64(p, omode|fmode); in cfline()
3520 (void) fcntl(f->f_file, F_SETFL, omode); in cfline()
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_ktypes.h1622 uint16_t omode; member

12