Home
last modified time | relevance | path

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

12

/onnv-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_open_andx.c224 rc = smbsr_decode_vwv(sr, "ww", &op->omode, &op->fqi.fq_sattr); in smb_pre_open()
249 op->desired_access = smb_omode_to_amask(op->omode); in smb_com_open()
250 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_com_open()
255 if (op->omode & SMB_DA_WRITE_THROUGH) in smb_com_open()
295 op->omode, in smb_com_open()
318 &sr->andx_off, &flags, &op->omode, &sattr, in smb_pre_open_andx()
362 op->desired_access = smb_omode_to_amask(op->omode); in smb_com_open_andx()
363 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_com_open_andx()
372 if (op->omode & SMB_DA_WRITE_THROUGH) in smb_com_open_andx()
410 op->omode, op->ftype, in smb_com_open_andx()
[all …]
H A Dsmb_create.c188 op->omode = SMB_DA_ACCESS_READ_WRITE | SMB_DA_SHARE_COMPATIBILITY; in smb_common_create()
189 op->desired_access = smb_omode_to_amask(op->omode); in smb_common_create()
190 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_common_create()
/onnv-gate/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c681 safeopen(fn, omode, cmode, sff) in safeopen() argument
683 int omode;
697 fn, omode, cmode, sff);
699 if (bitset(O_CREAT, omode))
701 omode &= ~O_CREAT;
702 switch (omode & O_ACCMODE)
732 omode |= O_CREAT | (bitset(SFF_NOTEXCL, sff) ? 0 : O_EXCL);
733 else if (bitset(SFF_CREAT, sff) && bitset(O_EXCL, omode))
741 truncate = bitset(O_TRUNC, omode);
743 omode &= ~O_TRUNC;
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Text/
H A DBalanced.pm285 my $omode = defined $options{fail} ? $options{fail} : '';
298 my @match = _match_tagged($textref, $pre, $ldel, $rdel, $omode, $bad, $ignore);
308 my ($textref, $pre, $ldel, $rdel, $omode, $bad, $ignore) = @_;
374 goto short if ($omode eq 'PARA' || $omode eq 'MAX');
384 goto short if $omode eq 'PARA' || $omode eq 'MAX';
395 goto matched if $omode eq 'MAX';
396 goto failed unless $omode eq 'PARA';
984 my $omode = defined $options{fail} ? $options{fail} : '';
1003 my @match = Text::Balanced::_match_tagged($textref, $pre, $ldel, $rdel, $omode, $bad, $ignore);
/onnv-gate/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb.c127 int omode = fcntl(fd, F_GETFL, NULL);
131 filename, ext, fd, type, omode, euid);
147 int omode = fcntl(fd, F_GETFL, NULL);
151 filename, ext, fd, type, omode, euid);
/onnv-gate/usr/src/cmd/sendmail/src/
H A Dbf.c71 # define OPEN(fn, omode, cmode, sff) open(fn, omode, cmode) argument
73 # define OPEN(fn, omode, cmode, sff) safeopen(fn, omode, cmode, sff) argument
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 |= O_TRUNC;
[all …]
H A Dconf.c3595 int omode = fcntl(fd, F_GETFL, 0); local
3600 filename, ext, fd, type, omode, euid);
3625 int omode = fcntl(fd, F_GETFL, 0); local
3630 filename, ext, fd, type, omode, euid);
/onnv-gate/usr/src/uts/common/sys/
H A Dstermio.h68 unsigned short omode; member
/onnv-gate/usr/src/cmd/ssh/scp/
H A Dscp.c768 int amt, count, exists, first, mask, mode, ofd, omode; local
926 omode = mode;
981 if (exists || omode != mode)
983 if (fchmod(ofd, omode)) {
985 if (chmod(np, omode)) {
992 if (!exists && omode != mode)
994 if (fchmod(ofd, omode & ~mask)) {
996 if (chmod(np, omode & ~mask)) {
/onnv-gate/usr/src/lib/libkmsagent/common/SOAP/
H A Dstdsoap2.cpp616 if ((soap->omode & SOAP_IO_UDP)) in fsend()
936 if ((soap->omode & SOAP_IO_UDP)) in frecv()
3379 soap->omode |= SOAP_ENC_SSL; in soap_ssl_accept()
3592 if ((soap->omode & SOAP_IO_UDP)) in tcp_connect()
3621 if ((soap->omode & SOAP_IO_UDP)) in tcp_connect()
3737 …if (!(soap->omode & SOAP_IO_UDP) && setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, (char*)&set, sizeof(i… in tcp_connect()
3748 if ((soap->omode & SOAP_IO_UDP) && soap->ipv6_multicast_if) in tcp_connect()
3754 if ((soap->omode & SOAP_IO_UDP) && soap->ipv4_multicast_if && !soap->ipv6_multicast_if) in tcp_connect()
3809 if ((soap->omode & SOAP_IO_UDP)) in tcp_connect()
3813 if ((soap->omode & SOAP_IO_UDP)) in tcp_connect()
[all …]
H A Dstdsoap2.h1684 soap_mode omode; member
1990 #define soap_omode(soap, n) ((soap)->mode = (soap)->omode = (n))
1991 #define soap_set_omode(soap, n) ((soap)->omode |= (n))
1992 #define soap_clr_omode(soap, n) ((soap)->omode &= ~(n))
1993 #define soap_set_mode(soap, n) ((soap)->imode |= (n), (soap)->omode |= (n))
1994 #define soap_clr_mode(soap, n) ((soap)->imode &= ~(n), (soap)->omode &= ~(n))
/onnv-gate/usr/src/lib/libc/i386/sys/
H A Dptrace.c482 int omode; in OpenProc() local
490 omode = (cp->asfd > 0)? O_RDWR : (O_RDWR|O_EXCL); in OpenProc()
492 if ((fd = open(procname, omode, 0)) < 0 || in OpenProc()
/onnv-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()
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/
H A Dperlio.h358 extern int PerlIO_binmode(pTHX_ PerlIO *f, int iotype, int omode,
H A Dperlio.c260 int omode = fcntl(fd, F_GETFL);
262 omode = djgpp_get_stream_mode(f);
264 PerlIO_intmode2str(omode,mode,NULL);
1960 const char *omode = mode;
2010 f, PerlIOBase(f)->tab->name, (omode) ? omode : "(Null)",
/onnv-gate/usr/src/ucbcmd/stty/
H A Dsttyparse.c360 termios->c_oflag = stermio->omode;
400 stermio->omode = termios->c_oflag;
H A Dstty.c193 m = stio.omode; in prmodes()
/onnv-gate/usr/src/cmd/smserverd/
H A Dsmserver.h204 int omode; member
/onnv-gate/usr/src/cmd/ttymon/
H A Dsttyparse.c384 termios->c_oflag = stermio->omode;
448 stermio->omode = termios->c_oflag;
H A Dstty.c245 m = stio.omode; in prmodes()
/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dikeadm.c3183 int oflag, omode, fd, ndesc = 0; in do_rw() local
3196 omode = 0; in do_rw()
3207 omode = S_IRUSR | S_IWUSR; in do_rw()
3225 fd = open(argv[0], oflag, omode); in do_rw()
/onnv-gate/usr/src/lib/libproc/common/
H A DPcontrol.c519 int fd, omode; in Pgrab() local
572 omode = (flags & PGRAB_RDONLY) ? O_RDONLY : O_RDWR; in Pgrab()
574 if (((fd = open(procname, omode | O_EXCL)) < 0 && in Pgrab()
575 (fd = ((flags & PGRAB_FORCE)? open(procname, omode) : -1)) < 0) || in Pgrab()
/onnv-gate/usr/src/cmd/sgs/rtld/common/
H A Danalyze.c909 update_mode(Rt_map *lmp, int omode, int nmode) in update_mode() argument
933 if ((omode & RTLD_LAZY) && (nmode & RTLD_NOW)) { in update_mode()
938 pmode |= ((~omode & nmode) & in update_mode()
/onnv-gate/usr/src/cmd/cpio/
H A Dcpio.c198 static int openfile(int omode);
8709 openfile(int omode) in openfile() argument
8712 return (openat(G_p->g_dirfd, G_p->g_attrnam_p, omode)); in openfile()
8715 get_component(G_p->g_nam_p), omode)); in openfile()
8720 openfile(int omode) in openfile() argument
8722 return (openat(G_p->g_dirfd, get_component(G_p->g_nam_p), omode)); in openfile()
9730 attropen(char *file, char *attr, int omode, mode_t cmode) in attropen() argument

12