/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | _sfopen.c | 46 int fd, oldfd, oflags, fflags, sflags; local 50 if((sflags = _sftype(mode,&oflags,&fflags,NIL(int*))) == 0) 54 if(f && !file && !((f->flags|sflags)&SF_STRING) ) 58 { f->flags |= (sflags & (SF_FLAGS & ~SF_RDWR)); 60 if((sflags &= SF_RDWR) != 0) /* reset read/write modes */ 61 { f->flags = (f->flags & ~SF_RDWR) | sflags; 93 if(sflags&SF_STRING) 96 -1,sflags); 138 if((f = sfnew(f,NIL(char*),(size_t)SF_UNBOUND,fd,sflags)) && oldfd >= 0) 155 reg int sflags, oflags, fflags, uflag; local [all …]
|
H A D | sfpopen.c | 144 reg int sflags; local 151 sflags = _sftype(mode, NIL(int*), NIL(int*), NIL(int*)); 161 if (sflags & SF_READ) 163 if (sflags & SF_WRITE) 172 (sflags&SF_READ) ? proc->rfd : proc->wfd, sflags|((sflags&SF_RDWR)?0:SF_READ))) || 173 _sfpopen(f, (sflags&SF_READ) ? proc->wfd : -1, proc->pid, pflags) < 0) 182 reg int pid, fd, pkeep, ckeep, sflags; 199 sflags = _sftype(mode,NIL(int*),NIL(int*),NIL(int*)); 203 if(sflags&SF_RDWR) 206 if((sflags&SF_RDWR) == SF_RDWR && syspipef(child) < 0) [all …]
|
H A D | sfnew.c | 43 reg int sflags; local 50 sflags = 0; 62 sflags = f->flags; 67 sflags = f->flags; 74 { if(sflags&SF_MALLOC) 79 sflags &= ~SF_MALLOC; 89 { sflags = f->flags; 109 f->flags = (flags&SF_FLAGS) | (sflags&(SF_MALLOC|SF_STATIC));
|
/illumos-gate/usr/src/cmd/listen/ |
H A D | lsdbf.c | 209 int sflags; local 228 …ags,&id_p,&res1_p,&res2_p,&res3_p,&private_p,&prognum,&vernum,&module_p,&sflags,&cmd_line_p,NOSUPP… 256 if (!NLPS_proc && (strlen(private_p) == 0) && !(sflags & DFLAG)) 277 dbf_p->dbf_sflags = sflags; 355 int sflags; local 370 …ags,&id_p,&res1_p,&res2_p,&res3_p,&private_p,&prognum,&vernum,&module_p,&sflags,&cmd_line_p,SUPPRE… 407 …s_p, id_p, res1_p, res2_p, res3_p, private_p, prognum, vernum, module_p, sflags, cmd_line_p, mflag) in rd_dbf_line() argument 420 int *sflags; 472 …de_p,flags_p,id_p,res1_p,res2_p,res3_p,private_p,prognum,vernum,module_p,sflags,cmd_line_p,mflag))… 505 …s_p, id_p, res1_p, res2_p, res3_p, private_p, prognum, vernum, module_p, sflags, cmd_line_p, mflag) in scan_line() argument [all …]
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | sockmod_sdp.c | 75 int version, int sflags, int *errorp, cred_t *cr) in socksdp_create() argument 78 int kmflags = (sflags & SOCKET_NOSLEEP) ? KM_NOSLEEP : KM_SLEEP; in socksdp_create()
|
H A D | sockmod_sctp.c | 120 int version, int sflags, int *errorp, cred_t *cr) in socksctp_create() argument 124 int kmflags = (sflags & SOCKET_NOSLEEP) ? KM_NOSLEEP : KM_SLEEP; in socksctp_create()
|
H A D | sockmod_pfp.c | 270 int sflags, cred_t *cred) in sockpfp_create() argument 319 kmflags = (sflags & SOCKET_NOSLEEP) ? KM_NOSLEEP : KM_SLEEP; in sockpfp_create()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | sasl.c | 911 unsigned sflags = 0; in nsldapi_sasl_secprops() local 940 sflags |= SASL_SEC_NOACTIVE; in nsldapi_sasl_secprops() 944 sflags |= SASL_SEC_NOANONYMOUS; in nsldapi_sasl_secprops() 948 sflags |= SASL_SEC_NODICTIONARY; in nsldapi_sasl_secprops() 952 sflags |= SASL_SEC_NOPLAINTEXT; in nsldapi_sasl_secprops() 956 sflags |= SASL_SEC_FORWARD_SECRECY; in nsldapi_sasl_secprops() 960 sflags |= SASL_SEC_PASS_CREDENTIALS; in nsldapi_sasl_secprops() 999 secprops->security_flags = sflags; in nsldapi_sasl_secprops()
|
/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | cr_tty.c | 35 static bool *sflags[] = { variable 177 fp = sflags; in zap()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | bf.c | 107 long sflags; local 115 sflags = ((struct bf_info *) info)->bi_flags; 158 bfp->bf_flags = sflags;
|
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_cursor.c | 1403 u_int32_t sflags; local 1414 sflags = F_ISSET(dbc, DBC_RMW) ? S_FIND_WR : S_FIND; 1416 ret = __bam_rsearch(dbc, &recno, sflags, 1, exactp); 1420 sflags = F_ISSET(dbc, DBC_RMW) ? S_FIND_WR : S_FIND; 1424 sflags = F_ISSET(dbc, DBC_RMW) ? S_FIND_WR : S_FIND; 1428 sflags = S_KEYFIRST; 1431 sflags = S_KEYLAST; 1531 search: ret = __bam_search(dbc, key, sflags, 1, NULL, exactp);
|
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | network.c | 1110 int sflags = 0; in listen_and_process() local 1114 sflags |= SSF_READ, nfound--; in listen_and_process() 1116 sflags |= SSF_WRITE, nfound--; in listen_and_process() 1117 if (sflags) in listen_and_process() 1118 service_conn(conns[i], prog, sflags); in listen_and_process()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vlds.c | 1017 uint_t sflags = 0; in vlds_flags_to_svc() local 1020 sflags |= DSSF_ISCLIENT; in vlds_flags_to_svc() 1022 sflags |= DSSF_REGCB_VALID; in vlds_flags_to_svc() 1024 sflags |= DSSF_UNREGCB_VALID; in vlds_flags_to_svc() 1026 sflags |= DSSF_DATACB_VALID; in vlds_flags_to_svc() 1027 return (sflags); in vlds_flags_to_svc()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_main.c | 594 int sflags; in new_req() local 608 if ((sflags = fcntl(new_sd, F_GETFL, 0)) == -1) { in new_req() 612 if (fcntl(new_sd, F_SETFL, sflags | O_NONBLOCK) == -1) { in new_req()
|
/illumos-gate/usr/src/test/os-tests/tests/oclo/ |
H A D | oclo.c | 538 int pair[2], type = SOCK_DGRAM, sflags = 0; in oclo_rights_common() local 581 sflags |= MSG_CMSG_CLOEXEC; in oclo_rights_common() 583 sflags |= MSG_CMSG_CLOFORK; in oclo_rights_common() 591 if (recvmsg(pair[1], &msg, sflags) < 0) { in oclo_rights_common()
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_nat6.c | 1482 u_int sflags; local 1497 sflags = flags & NAT_TCPUDPICMP; 1538 (sflags == (nat->nat_flags & IPN_TCPUDPICMP))) || 1737 u_int sflags; local 1746 sflags = flags & IPN_TCPUDPICMP; 1787 (((p == 0) && (sflags == (nflags & NAT_TCPUDPICMP))) ||
|
H A D | ip_nat.c | 3271 u_int sflags; local 3286 sflags = flags & NAT_TCPUDPICMP; 3327 (sflags == (nat->nat_flags & IPN_TCPUDPICMP))) 3524 u_int sflags; local 3536 sflags = flags & IPN_TCPUDPICMP; 3577 (((p == 0) && (sflags == (nflags & NAT_TCPUDPICMP)))
|
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_ftp_pxy.c | 648 int inc, off, nflags, sflags; local 751 sflags = nflags; 764 (void) fr_addstate(&fi, &nat2->nat_state, sflags);
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_as.c | 3263 int stype, sflags; in as_set_default_lpsize() local 3311 sflags = stype & (MAP_TEXT | MAP_INITDATA); in as_set_default_lpsize() 3313 if (segvn && (rflags != sflags || in as_set_default_lpsize() 3325 rflags = sflags; in as_set_default_lpsize() 3330 rflags = sflags; in as_set_default_lpsize()
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockcommon_subr.c | 1221 int protocol, int version, int sflags, int *errorp, struct cred *cr) in socket_sonode_create() argument 1242 kmflags = (sflags & SOCKET_NOSLEEP) ? KM_NOSLEEP : KM_SLEEP; in socket_sonode_create()
|
H A D | socktpi.c | 278 int version, int sflags, int *errorp, cred_t *cr) in sotpi_create() argument
|