Home
last modified time | relevance | path

Searched refs:sf (Results 1 – 25 of 74) sorted by relevance

123

/titanic_41/usr/src/uts/sun/io/scsi/adapters/
H A Dsf.c84 static void sf_softstate_unlink(struct sf *);
93 static int sf_pkt_alloc_extern(struct sf *, struct sf_pkt *,
95 static void sf_pkt_destroy_extern(struct sf *, struct sf_pkt *);
105 static int sf_add_cr_pool(struct sf *);
106 static int sf_cr_alloc(struct sf *, struct sf_pkt *, int (*)());
108 static void sf_crpool_free(struct sf *);
112 static int sf_login(struct sf *, uchar_t, uchar_t, uint_t, int);
113 static int sf_els_transport(struct sf *, struct sf_els_hdr *);
115 static int sf_do_prli(struct sf *, struct sf_els_hdr *, struct la_els_logi *);
116 static int sf_do_adisc(struct sf *, struct sf_els_hdr *);
[all …]
/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Dswap_rcm.c160 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_41/usr/src/cmd/svr4pkg/pkgmk/
H A Dsplpkgmap.c95 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_41/usr/src/lib/libast/common/sfio/
H A Dsfpool.c46 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 Dsfstack.c74 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 Dsfswap.c79 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 Dsfpopen.c184 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 Dsfmode.c84 { 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 Dsftmp.c295 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 Dsfwalk.c52 { f = p->sf[n];
60 if(p->sf[n] == f) /* move forward to next stream */
H A Dsfclose.c84 { if(_Sfpool.sf[n] != f)
89 _Sfpool.sf[n] = _Sfpool.sf[n+1];
/titanic_41/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dgram.y144 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_41/usr/src/lib/libast/common/disc/
H A Dsfdcseekable.c64 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_41/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_token.c123 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_41/usr/src/cmd/lvm/util/
H A Dmetaclust.c681 mddb_setflags_config_t sf; in main() local
968 (void) memset(&sf, 0, sizeof (sf)); in main()
969 sf.sf_setno = sp->setno; in main()
970 sf.sf_setflags = MD_SET_MN_START_RC; in main()
971 sf.sf_flags = MDDB_NM_SET; in main()
973 sf.sf_magic = MDDB_SETFLAGS_MAGIC; in main()
974 if (metaioctl(MD_MN_SET_SETFLAGS, &sf, in main()
975 &sf.sf_mde, NULL)) { in main()
976 (void) mdstealerror(ep, &sf.sf_mde); in main()
1846 (void) memset(&sf, 0, sizeof (sf)); in main()
[all …]
/titanic_41/usr/src/pkg/manifests/
H A Ddriver-storage-sf.mf32 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_41/usr/src/uts/sun/sys/scsi/adapters/
H A Dsfvar.h73 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_41/usr/src/uts/common/gssapi/mechs/dummy/
H A Ddmech.c459 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_41/usr/src/cmd/lastcomm/
H A Dlc_utils.c88 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_41/usr/src/cmd/sgs/prof/common/
H A Dprof.c113 #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_41/usr/src/cmd/refer/
H A Drefer5.c239 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_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_set.c3459 mddb_setflags_config_t sf; in meta_reconfig_choose_master_for_set() local
4070 (void) memset(&sf, 0, sizeof (sf)); in meta_reconfig_choose_master_for_set()
4071 sf.sf_setno = sp->setno; in meta_reconfig_choose_master_for_set()
4072 sf.sf_setflags = MD_SET_MN_NEWMAS_RC; in meta_reconfig_choose_master_for_set()
4074 sf.sf_magic = MDDB_SETFLAGS_MAGIC; in meta_reconfig_choose_master_for_set()
4075 sf.sf_flags = MDDB_NM_SET; in meta_reconfig_choose_master_for_set()
4085 if (metaioctl(MD_MN_SET_SETFLAGS, &sf, &sf.sf_mde, in meta_reconfig_choose_master_for_set()
4087 (void) mdstealerror(ep, &sf.sf_mde); in meta_reconfig_choose_master_for_set()
4261 mddb_setflags_config_t sf; in meta_reconfig_choose_master() local
4360 (void) memset(&sf, 0, sizeof (sf)); in meta_reconfig_choose_master()
[all …]
/titanic_41/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.c122 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_41/usr/src/lib/libbsm/common/
H A Daudit_rexd.c81 selected(uid, user, event, sf) in selected() argument
85 int sf;
98 if (sf == 0) {
100 } else if (sf == -1) {
H A Daudit_rexecd.c53 selected(uid, user, event, sf) in selected() argument
57 int sf;
70 if (sf == 0) {
72 } else if (sf == -1) {

123