/titanic_50/usr/src/uts/sun/io/scsi/adapters/ |
H A D | sf.c | 82 static void sf_softstate_unlink(struct sf *); 91 static int sf_pkt_alloc_extern(struct sf *, struct sf_pkt *, 93 static void sf_pkt_destroy_extern(struct sf *, struct sf_pkt *); 103 static int sf_add_cr_pool(struct sf *); 104 static int sf_cr_alloc(struct sf *, struct sf_pkt *, int (*)()); 106 static void sf_crpool_free(struct sf *); 110 static int sf_login(struct sf *, uchar_t, uchar_t, uint_t, int); 111 static int sf_els_transport(struct sf *, struct sf_els_hdr *); 113 static int sf_do_prli(struct sf *, struct sf_els_hdr *, struct la_els_logi *); 114 static int sf_do_adisc(struct sf *, struct sf_els_hdr *); [all …]
|
/titanic_50/usr/src/cmd/rcm_daemon/common/ |
H A D | swap_rcm.c | 160 swap_file_t *sf; in swap_unregister() local 163 while ((sf = cache) != NULL) { in swap_unregister() 165 (void) rcm_unregister_interest(hdl, sf->path, 0); in swap_unregister() 166 swap_file_free(sf); in swap_unregister() 203 swap_file_t *sf; in swap_suspend() local 212 if ((sf = cache_lookup(rsrcname)) == NULL) { in swap_suspend() 217 rv = swap_delete(sf, errstr); in swap_suspend() 228 swap_file_t *sf; in swap_resume() local 234 if ((sf = cache_lookup(rsrcname)) == NULL) { in swap_resume() 239 rv = swap_add(sf, errstr); in swap_resume() [all …]
|
/titanic_50/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | splpkgmap.c | 95 static void sortsize(struct data *f, struct data **sf, unsigned int eptnum); 102 struct data *f, **sf; in splpkgmap() local 118 sf = (struct data **)calloc(eptnum, sizeof (struct data *)); in splpkgmap() 119 if (sf == NULL) { in splpkgmap() 257 sortsize(f, sf, eptnum); in splpkgmap() 262 newvolume(sf, eptnum, *plimit, *pilimit); in splpkgmap() 334 while (store(sf, eptnum, order[i], *plimit, *pilimit)) in splpkgmap() 340 while (store(sf, eptnum, (char *)0, *plimit, *pilimit)) in splpkgmap() 366 newvolume(sf, eptnum, *plimit, *pilimit); in splpkgmap() 391 free(sf); in splpkgmap() [all …]
|
/titanic_50/usr/src/lib/libast/common/sfio/ |
H A D | sfpool.c | 46 if(p->s_sf && p->sf != p->array) 47 free((Void_t*)p->sf); 92 p->sf = p->array; 116 head = p->sf[0]; 158 p->sf[n] = head; 159 p->sf[0] = f; 182 p->sf[n] = p->sf[n+1]; 195 if(!SFFROZEN(p->sf[n])) 198 { f = p->sf[n]; 199 p->sf[n] = p->sf[0]; [all …]
|
H A D | sfstack.c | 74 f1 == f1->pool->sf[0]) 77 { if(SFFROZEN(f1->pool->sf[n]) ) 79 (*_Sfpmove)(f1->pool->sf[n],0); 85 if(f2->pool && f2->pool != &_Sfpool && f2 != f2->pool->sf[0])
|
H A D | sfswap.c | 79 if(f1->pool->sf[f1pool] == f1) 84 if(f2->pool->sf[f2pool] == f2) 95 f1->pool->sf[f2pool] = f1; 97 f2->pool->sf[f1pool] = f2;
|
H A D | sfpopen.c | 184 Sfio_t sf; 259 SFCLEAR(&sf,NIL(Vtmutex_t*)); 268 { sf.file = parent[pkeep]; 270 if(sfsetfd(&sf,pkeep) != pkeep) 274 { sf.file = child[ckeep]; 276 if(sfsetfd(&sf,ckeep) != ckeep)
|
H A D | sfmode.c | 84 { if(!(f = p->sf[n]) || SFFROZEN(f) ) in _sfcleanup() 139 p->sf = p->array; 142 { n = (p->sf != p->array ? p->s_sf : (p->s_sf/4 + 1)*4) + 4; 147 memcpy((Void_t*)array,(Void_t*)p->sf,p->n_sf*sizeof(Sfio_t*)); 148 if(p->sf != p->array) 149 free((Void_t*)p->sf); 151 p->sf = array; 159 p->sf[p->n_sf++] = f; 427 if(f == f->pool->sf[0] || (*_Sfpmove)(f,0) < 0 )
|
H A D | sftmp.c | 295 reg Sfio_t* sf; local 320 sf = sfnew(&newf,NIL(Void_t*),(size_t)SF_UNBOUND,fd,SF_READ|SF_WRITE); 322 if(!sf) 333 sfset(sf, ((~m)&(SF_READ|SF_WRITE)), 0); 334 sfset(sf, (f->mode&(SF_READ|SF_WRITE)), 1); 338 memcpy((Void_t*)f, (Void_t*)sf, sizeof(Sfio_t));
|
H A D | sfwalk.c | 52 { f = p->sf[n]; 60 if(p->sf[n] == f) /* move forward to next stream */
|
H A D | sfclose.c | 84 { if(_Sfpool.sf[n] != f) 89 _Sfpool.sf[n] = _Sfpool.sf[n+1];
|
H A D | sfsync.c | 53 f = p->sf[n]; in _sfall() 168 if(!local && f && (f->mode&SF_POOL) && f->pool && f != f->pool->sf[0]) 169 SFSYNC(f->pool->sf[0]);
|
/titanic_50/usr/src/cmd/sgs/librtld_db/demo/common/ |
H A D | gram.y | 144 sn_flags_e sf; variable 147 sf = FLG_SN_VERBOSE; 149 sf |= FLG_SN_PLTSKIP; 151 (void) step_n(&proch, 1, sf); 156 sn_flags_e sf; variable 159 sf = FLG_SN_VERBOSE; 161 sf |= FLG_SN_PLTSKIP; 163 (void) step_n(&proch, $2, sf); 168 sn_flags_e sf; variable 170 sf = FLG_SN_VERBOSE; [all …]
|
/titanic_50/usr/src/lib/libast/common/disc/ |
H A D | sfdcseekable.c | 64 Sfio_t* sf; local 69 sf = sk->shadow; 71 return sfread(sf,buf,n); 73 addr = sfseek(sf,(Sfoff_t)0,SEEK_CUR); 76 return sfread(sf,buf,n); 79 { if((w = sfread(sf,buf,r)) != r) 92 if((p = sfwrite(sf,buf,w)) != w) 112 Sfio_t* sf; local 117 sf = sk->shadow; 125 addr += sftell(sf); [all …]
|
/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | util_token.c | 123 unsigned char sf; local 128 sf = *(*buf)++; 130 if (sf & 0x80) { 131 if ((sf &= 0x7f) > ((*bufsize)-1)) 133 if (sf > sizeof(int)) 136 for (; sf; sf--) { 141 ret = sf;
|
/titanic_50/usr/src/pkg/manifests/ |
H A D | driver-storage-sf.mf | 32 set name=pkg.fmri value=pkg:/driver/storage/sf@$(PKGVERS) 33 set name=pkg.description value="Sun Enterprise Network Array sf Device Driver" 34 set name=pkg.summary value="Sun Enterprise Network Array sf Device Driver" 45 driver name=sf 46 file path=platform/sun4u/kernel/drv/$(ARCH64)/sf group=sys 47 file path=platform/sun4u/kernel/drv/sf.conf group=sys 48 file path=usr/share/man/man7d/sf.7d 50 desc="Sun Enterprise Network Array sf Device Driver" \ 51 name="Sun Enterprise Network Array sf Device Driver"
|
/titanic_50/usr/src/uts/sun/sys/scsi/adapters/ |
H A D | sfvar.h | 73 struct sf { struct 76 struct sf *sf_next; argument 77 struct sf *sf_sibling; argument 147 struct sf *sf; member 309 struct sf *sf; member 355 struct sf *sf; member 361 #define ADDR2SF(ap) (struct sf *)((ap)->a_hba_tran->tran_hba_private)
|
/titanic_50/usr/src/uts/common/gssapi/mechs/dummy/ |
H A D | dmech.c | 459 unsigned char sf; local 464 sf = *(*buf)++; 466 if (sf & 0x80) { 467 if ((sf &= 0x7f) > ((*bufsize)-1)) 469 if (sf > DUMMY_SIZE_OF_INT) 472 for (; sf; sf--) { 477 ret = sf;
|
/titanic_50/usr/src/cmd/lastcomm/ |
H A D | lc_utils.c | 88 FILE *sf; in get_pri_dirs() local 94 if ((sf = fopen(SRCH_FILE_NAME, "r")) == NULL) in get_pri_dirs() 97 (void) fclose(sf); in get_pri_dirs() 102 while ((bcount++ < sfsb.st_size) && ((c = getc(sf)) != EOF)) { in get_pri_dirs() 107 (void) fclose(sf); in get_pri_dirs()
|
/titanic_50/usr/src/cmd/sgs/prof/common/ |
H A D | prof.c | 113 #define DBL_ADDRPERCELL (((double)bias)/sf) 351 long sf; /* Scale for index into pcounts: */ in main() local 597 sf = (BIAS * (double)n_pc)/pc_m; in main() 605 sf >>= 1; in main() 616 (long)sf, s_inv, bias); in main() 804 i0 = (((unsigned)pc0 - (unsigned)pc_l) * sf)/bias; in main() 807 i1 = (((unsigned)pc1 - (unsigned)pc_l) * sf)/bias; in main() 813 pc00 = pc_l + (unsigned long)((bias * i0)/sf); in main() 816 pc10 = pc_l + (unsigned long)((bias * i1)/sf); in main() 832 t += PROFSEC(ticks * ((double)(pc1 - pc0) * sf)/bias); in main() [all …]
|
/titanic_50/usr/src/cmd/refer/ |
H A D | refer5.c | 239 char t1[50], *sf; in putkey() local 253 sf = fpar(nf, flds, t1, ctype, i, 1); in putkey() 254 if (sf == 0) in putkey() 256 sf = artskp(sf); in putkey() 257 fprintf(fo, "%s%c", sf, '-'); in putkey()
|
/titanic_50/usr/src/lib/libnisdb/yptol/ |
H A D | dit_access_utils.c | 124 processSplitField(__nis_table_mapping_t *sf, __nis_value_t *inVal, in processSplitField() argument 141 sepset = sf->separatorStr; in processSplitField() 161 for (i = 0; i <= sf->numSplits; i++) { in processSplitField() 162 valA = matchMappingItem(sf->e[i].element.match.fmt, in processSplitField() 190 sf->e[i].element.match.item[j].name, in processSplitField() 217 if (i > sf->numSplits) { in processSplitField() 255 __nis_table_mapping_t *sf; in datumToRuleValue() local 407 sf = mappingFromMap(t->e->element.match.item[i].name, in datumToRuleValue() 412 if (sf == 0) in datumToRuleValue() 418 subrvq = processSplitField(sf, valA[i], &nr, statP); in datumToRuleValue() [all …]
|
/titanic_50/usr/src/lib/libbsm/common/ |
H A D | audit_rexd.c | 81 selected(uid, user, event, sf) in selected() argument 85 int sf; 98 if (sf == 0) { 100 } else if (sf == -1) {
|
H A D | audit_rexecd.c | 53 selected(uid, user, event, sf) in selected() argument 57 int sf; 70 if (sf == 0) { 72 } else if (sf == -1) {
|
H A D | audit_rshd.c | 174 selected(uid_t uid, char *locuser, au_event_t event, int sf) in selected() argument 187 if (sf == 0) { in selected() 189 } else if (sf == -1) { in selected()
|