/titanic_51/usr/src/lib/libast/common/sfio/ |
H A D | _sfopen.c | 46 int fd, oldfd, oflags, sflags; local 50 if((sflags = _sftype(mode,&oflags,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; 87 if(sflags&SF_STRING) 90 -1,sflags); 132 if((f = sfnew(f,NIL(char*),(size_t)SF_UNBOUND,fd,sflags)) && oldfd >= 0) 148 reg int sflags, oflags, uflag; local [all …]
|
H A D | sfpopen.c | 144 reg int sflags; local 151 sflags = _sftype(mode, NiL, NiL); 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*)); 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));
|
/titanic_51/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, oflag 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 [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));
|
/titanic_51/usr/src/cmd/listen/ |
H A D | lsdbf.c | 167 DEBUG((7, "svc code <%s>; id: %s; private address: %s; modules: %s; cmd line: %s; sflags: %x, prognum: %d version: %d", 178 DEBUG((7, "svc code <%s>; id: %s; r1: %s; r2: %s; r3: %s; private address: %s; modules: %s; cmd line: %s; sflags: %x, prognum: %d version: %d", 211 int sflags; local 230 while (n = rd_dbf_line(dbfilep,p,&svc_code_p,&flags,&id_p,&res1_p,&res2_p,&res3_p,&private_p,&prognum,&vernum,&module_p,&sflags,&cmd_line_p,NOSUPPRESS)) { 258 if (!NLPS_proc && (strlen(private_p) == 0) && !(sflags & DFLAG)) 279 dbf_p->dbf_sflags = sflags; 357 int sflags; local 372 n = rd_dbf_line(dbfilep,p,&svc_code_p,&flags,&id_p,&res1_p,&res2_p,&res3_p,&private_p,&prognum,&vernum,&module_p,&sflags,&cmd_line_p,SUPPRESS); 409 rd_dbf_line(fp, bp, svc_code_p, flags_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 422 int *sflags; 507 scan_line(bp,svc_code_p,flags_p,id_p,res1_p,res2_p,res3_p,private_p,prognum,vernum,module_p,sflags,cmd_line_p,mflag) scan_line() argument [all...] |
/titanic_51/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()
|
/titanic_51/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()
|
/titanic_51/usr/src/ucblib/libcurses/ |
H A D | cr_tty.c | 37 static bool *sflags[] = { variable 179 fp = sflags; in zap()
|
/titanic_51/usr/src/cmd/sendmail/src/ |
H A D | bf.c | 109 long sflags; local 117 sflags = ((struct bf_info *) info)->bi_flags; 160 bfp->bf_flags = sflags;
|
/titanic_51/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);
|
/titanic_51/usr/src/cmd/krb5/krb5kdc/ |
H A D | network.c | 1114 int sflags = 0; in listen_and_process() 1118 sflags |= SSF_READ, nfound--; in listen_and_process() 1120 sflags |= SSF_WRITE, nfound--; in listen_and_process() 1121 if (sflags) in listen_and_process() 1122 service_conn(conns[i], prog, sflags); in listen_and_process() 1110 int sflags = 0; listen_and_process() local
|
/titanic_51/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_main.c | 593 int sflags; in new_req() local 607 if ((sflags = fcntl(new_sd, F_GETFL, 0)) == -1) { in new_req() 611 if (fcntl(new_sd, F_SETFL, sflags | O_NONBLOCK) == -1) { in new_req()
|
/titanic_51/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()
|
/titanic_51/usr/src/uts/common/sys/ |
H A D | bscv_impl.h | 201 lom_sflags_t sflags; /* keep a static copy of this so */ member
|
/titanic_51/usr/src/uts/common/io/ |
H A D | bscv.c | 2382 for (i = 0; i < ssp->sflags.num; i++) { in bscv_ioc_stats() 2383 ssp->sflags.status[i] = (int)((status >> i) & 1); in bscv_ioc_stats() 2387 (ddi_copyout((caddr_t)&ssp->sflags, (caddr_t)arg, in bscv_ioc_stats() 2388 sizeof (ssp->sflags), mode) < 0)) { in bscv_ioc_stats() 4176 res_id = bscv_get_label(ssp->sflags.name, ssp->sflags.num, in bscv_sysevent() 5973 bzero(&ssp->sflags, sizeof (lom_sflags_t)); in bscv_setup_static_info() 5974 ssp->sflags.num = EBUS_CONFIG3_NBREAKERS_DEC(bscv_get8(ssp, in bscv_setup_static_info() 5976 if (ssp->sflags.num > MAX_STATS) { in bscv_setup_static_info() 5981 ssp->sflags in bscv_setup_static_info() [all...] |
/titanic_51/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)))
|
/titanic_51/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);
|
/titanic_51/usr/src/uts/common/vm/ |
H A D | vm_as.c | 3216 int stype, sflags; in as_set_default_lpsize() local 3264 sflags = stype & (MAP_TEXT | MAP_INITDATA); in as_set_default_lpsize() 3266 if (segvn && (rflags != sflags || in as_set_default_lpsize() 3278 rflags = sflags; in as_set_default_lpsize() 3283 rflags = sflags; in as_set_default_lpsize()
|
/titanic_51/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_io.c | 897 int vflags, sflags, bflags, ssflags; in rdc_set_flags() local 901 sflags = flags & RDC_SFLAGS; in rdc_set_flags() 918 if (sflags) { in rdc_set_flags() 921 urdc->sync_flags |= sflags; in rdc_set_flags() 940 int vflags, sflags, bflags; in rdc_clr_flags() local 944 sflags = flags & RDC_SFLAGS; in rdc_clr_flags() 955 if (sflags) { in rdc_clr_flags() 958 urdc->sync_flags &= ~sflags; in rdc_clr_flags()
|
/titanic_51/usr/src/uts/common/fs/sockfs/ |
H A D | sockcommon_subr.c | 1218 int protocol, int version, int sflags, int *errorp, struct cred *cr) in socket_sonode_create() argument 1239 kmflags = (sflags & SOCKET_NOSLEEP) ? KM_NOSLEEP : KM_SLEEP; in socket_sonode_create()
|