Searched refs:sf (Results 1 - 25 of 73) sorted by relevance

123

/opensolaris-onvv-gate/usr/src/uts/sun/io/scsi/adapters/
H A Dsf.c27 * sf - Solaris Fibre Channel driver
83 static void sf_softstate_unlink(struct sf *);
92 static int sf_pkt_alloc_extern(struct sf *, struct sf_pkt *,
94 static void sf_pkt_destroy_extern(struct sf *, struct sf_pkt *);
104 static int sf_add_cr_pool(struct sf *);
105 static int sf_cr_alloc(struct sf *, struct sf_pkt *, int (*)());
107 static void sf_crpool_free(struct sf *);
111 static int sf_login(struct sf *, uchar_t, uchar_t, uint_t, int);
112 static int sf_els_transport(struct sf *, struct sf_els_hdr *);
114 static int sf_do_prli(struct sf *, struc
420 struct sf *sf; local
454 struct sf *sf, *tsf; local
917 struct sf *sf; local
1172 sf_softstate_unlink(struct sf *sf) argument
1222 struct sf *sf; local
1264 struct sf *sf = (struct sf *)hba_tran->tran_hba_private; local
1355 sf_pkt_alloc_extern(struct sf *sf, struct sf_pkt *cmd, int tgtlen, int statuslen, int kf) argument
1392 sf_pkt_destroy_extern(struct sf *sf, struct sf_pkt *cmd) argument
1428 struct sf *sf = ADDR2SF(ap); local
1692 struct sf *sf = ADDR2SF(ap); local
1771 struct sf *sf = ADDR2SF(ap); local
1833 sf_add_cr_pool(struct sf *sf) argument
1995 sf_cr_alloc(struct sf *sf, struct sf_pkt *cmd, int (*func)()) argument
2084 struct sf *sf = cp->sf; local
2106 sf_crpool_free(struct sf *sf) argument
2175 struct sf *sf = (struct sf *)arg; local
2595 sf_login(struct sf *sf, uchar_t els_code, uchar_t dest_id, uint_t arg1, int lip_cnt) argument
2645 sf_els_transport(struct sf *sf, struct sf_els_hdr *privp) argument
2689 struct sf *sf = privp->sf; local
2936 sf_do_prli(struct sf *sf, struct sf_els_hdr *privp, struct la_els_logi *ptr) argument
2980 sf_do_adisc(struct sf *sf, struct sf_els_hdr *privp) argument
3005 sf_els_alloc(struct sf *sf, uchar_t dest_id, int priv_size, int cmd_size, int rsp_size, caddr_t *rprivp, caddr_t *cmd_buf) argument
3218 sf_create_target(struct sf *sf, struct sf_els_hdr *privp, int tnum, int64_t lun) argument
3433 sf_lookup_target(struct sf *sf, uchar_t *wwn, int lun) argument
3469 sf_do_reportlun(struct sf *sf, struct sf_els_hdr *privp, struct sf_target *target) argument
3583 struct sf *sf = privp->sf; local
3827 sf_do_inquiry(struct sf *sf, struct sf_els_hdr *privp, struct sf_target *target) argument
3936 struct sf *sf = privp->sf; local
4108 sf_finish_init(struct sf *sf, int lip_cnt) argument
4230 sf_create_devinfo(struct sf *sf, struct sf_target *target, int lip_cnt) argument
4382 sf_offline_target(struct sf *sf, struct sf_target *target) argument
4486 struct sf *sf = ADDR2SF(ap); local
4590 struct sf *sf = ADDR2SF(ap); local
4769 struct sf *sf = ADDR2SF(ap); local
4991 sf_abort_all(struct sf *sf, struct sf_target *target, int abort, int lip_cnt, int try_abort) argument
5143 struct sf *sf = ADDR2SF(ap); local
5238 sf_start_internal(struct sf *sf, struct sf_pkt *cmd) argument
5268 sf_prepare_pkt(struct sf *sf, struct sf_pkt *cmd, struct sf_target *target) argument
5323 sf_fill_ids(struct sf *sf, struct sf_pkt *cmd, struct sf_target *target) argument
5341 sf_dopoll(struct sf *sf, struct sf_pkt *cmd) argument
5400 struct sf *sf = ADDR2SF(&pkt->pkt_address); local
5819 sf_throttle_start(struct sf *sf) argument
5891 sf_throttle(struct sf *sf) argument
5941 struct sf *sf; local
6118 sf_check_targets(struct sf *sf) argument
6236 sf_target_timeout(struct sf *sf, struct sf_pkt *cmd) argument
6328 sf_els_timeout(struct sf *sf, struct sf_els_hdr *privp) argument
6487 struct sf *sf; local
6561 sf_force_lip(struct sf *sf) argument
6639 struct sf *sf = (struct sf *)arg; local
6728 sf_log(struct sf *sf, int level, const char *fmt, ...) argument
6753 struct sf *sf; local
6781 struct sf *sf; local
6803 struct sf *sf; local
6829 struct sf *sf; local
7027 sf_get_target_from_dip(struct sf *sf, dev_info_t *dip) argument
7054 struct sf *sf; local
7077 struct sf *sf; local
7097 struct sf *sf; local
7119 struct sf *sf = ddi_get_soft_state(sf_state, ddi_get_instance(dip)); local
7166 struct sf *sf = (struct sf *)arg; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/rcm_daemon/common/
H A Dswap_rcm.c160 swap_file_t *sf; local
163 while ((sf = cache) != NULL) {
165 (void) rcm_unregister_interest(hdl, sf->path, 0);
166 swap_file_free(sf);
203 swap_file_t *sf; local
212 if ((sf = cache_lookup(rsrcname)) == NULL) {
217 rv = swap_delete(sf, errstr);
228 swap_file_t *sf; local
234 if ((sf = cache_lookup(rsrcname)) == NULL) {
239 rv = swap_add(sf, errst
254 swap_file_t *sf; local
285 swap_file_t *sf; local
307 swap_file_t *sf; local
334 swap_delete(swap_file_t *sf, char **errstr) argument
407 swap_add(swap_file_t *sf, char **errstr) argument
442 swap_file_t *sf, *stale_sf; local
638 swap_file_t *sf; local
653 swap_file_free(swap_file_t *sf) argument
685 swap_file_t *sf; local
719 swap_area_add(swap_file_t *sf, swap_area_t *sa) argument
732 swap_area_remove(swap_file_t *sf, swap_area_t *ent) argument
751 swap_file_t *sf; local
781 swap_area_lookup(swap_file_t *sf, swapent_t *swt_ent) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dgram.y144 sn_flags_e sf;
147 sf = FLG_SN_VERBOSE;
149 sf |= FLG_SN_PLTSKIP;
151 (void) step_n(&proch, 1, sf);
156 sn_flags_e sf;
159 sf = FLG_SN_VERBOSE;
161 sf |= FLG_SN_PLTSKIP;
163 (void) step_n(&proch, $2, sf);
168 sn_flags_e sf;
170 sf
[all...]
/opensolaris-onvv-gate/usr/src/pkg/manifests/
H A DSUNWluxd.mf29 depend fmri=pkg:/driver/storage/sf@0.5.11,5.11-0.133 type=require
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"
43 driver name=sf
44 file path=platform/sun4u/kernel/drv/$(ARCH64)/sf group=sys
45 file path=platform/sun4u/kernel/drv/sf.conf group=sys
47 desc="Sun Enterprise Network Array sf Device Driver" \
48 name="Sun Enterprise Network Array sf Device Driver"
/opensolaris-onvv-gate/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;
/opensolaris-onvv-gate/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[
[all...]
H A Dsfwalk.c52 { f = p->sf[n];
60 if(p->sf[n] == f) /* move forward to next stream */
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 Dsfclose.c84 { if(_Sfpool.sf[n] != f)
89 _Sfpool.sf[n] = _Sfpool.sf[n+1];
H A Dsftmp.c210 if(!(file = pathtemp(NiL,PATH_MAX,NiL,"sf",&fd)))
253 file = sfprints("%s/sf%3.3.32lu.%3.3.32lu",
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));
/opensolaris-onvv-gate/usr/src/uts/common/vm/
H A Dhat.c77 int sf; local
92 for (sf = 0; sf < bc->bc_stackdepth; sf++) {
93 ksym = kobj_getsymname(bc->bc_callstack[sf], &off);
/opensolaris-onvv-gate/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; local
118 sf = (struct data **)calloc(eptnum, sizeof (struct data *));
119 if (sf == NULL) {
255 * "sf" - array sorted in decreasing file size order, based on "f".
257 sortsize(f, sf, eptnum);
262 newvolume(sf, eptnum, *plimit, *pilimit);
334 while (store(sf, eptnum, order[i], *plimit, *pilimit))
340 while (store(sf, eptnum, (char *)0, *plimit, *pilimit))
366 newvolume(sf, eptnu
403 store(struct data **sf, unsigned int eptnum, char *aclass, fsblkcnt_t limit, fsfilcnt_t ilimit) argument
536 newvolume(struct data **sf, unsigned int eptnum, fsblkcnt_t limit, fsblkcnt_t ilimit) argument
614 sortsize(struct data *f, struct data **sf, unsigned int eptnum) argument
[all...]
/opensolaris-onvv-gate/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...]
/opensolaris-onvv-gate/usr/src/cmd/lvm/util/
H A Dmetaclust.c681 mddb_setflags_config_t sf; local
968 (void) memset(&sf, 0, sizeof (sf));
969 sf.sf_setno = sp->setno;
970 sf.sf_setflags = MD_SET_MN_START_RC;
971 sf.sf_flags = MDDB_NM_SET;
973 sf.sf_magic = MDDB_SETFLAGS_MAGIC;
974 if (metaioctl(MD_MN_SET_SETFLAGS, &sf,
975 &sf.sf_mde, NULL)) {
976 (void) mdstealerror(ep, &sf
[all...]
/opensolaris-onvv-gate/usr/src/lib/libast/common/stdio/
H A Dfcloseall.c49 if(sfclose(p->sf[n]) >= 0)
/opensolaris-onvv-gate/usr/src/cmd/lastcomm/
H A Dlc_utils.c88 FILE *sf; local
94 if ((sf = fopen(SRCH_FILE_NAME, "r")) == NULL)
97 (void) fclose(sf);
102 while ((bcount++ < sfsb.st_size) && ((c = getc(sf)) != EOF)) {
107 (void) fclose(sf);
/opensolaris-onvv-gate/usr/src/uts/sun/sys/scsi/adapters/
H A Dsfvar.h64 * sf driver needs to be sanitized for exporting some of its
70 * sf instance structure
73 struct sf { struct
76 struct sf *sf_next;
77 struct sf *sf_sibling;
127 /* check if unopened sf is being closed */
141 * pool of sf command response blocks
147 struct sf *sf; member in struct:sf_cr_pool
165 * sf comman
309 struct sf *sf; member in struct:sf_els_hdr
355 struct sf *sf; member in struct:sf_hp_elem
[all...]
/opensolaris-onvv-gate/usr/src/uts/sun4u/sf/
H A DMakefile22 # uts/sun4u/sf/Makefile
29 # This makefile drives the production of the sf driver kernel module.
42 MODULE = sf
/opensolaris-onvv-gate/usr/src/cmd/refer/
H A Drefer5.c239 char t1[50], *sf; local
253 sf = fpar(nf, flds, t1, ctype, i, 1);
254 if (sf == 0)
256 sf = artskp(sf);
257 fprintf(fo, "%s%c", sf, '-');
/opensolaris-onvv-gate/usr/src/uts/common/gssapi/mechs/dummy/
H A Ddmech.c479 unsigned char sf; local
484 sf = *(*buf)++;
486 if (sf & 0x80) {
487 if ((sf &= 0x7f) > ((*bufsize)-1))
489 if (sf > DUMMY_SIZE_OF_INT)
492 for (; sf; sf--) {
497 ret = sf;
/opensolaris-onvv-gate/usr/src/uts/sun/
H A DMakefile.files58 SF_OBJS += sf.o
/opensolaris-onvv-gate/usr/src/lib/libbsm/common/
H A Daudit_rexd.c81 selected(uid, user, event, sf)
85 int sf;
98 if (sf == 0) {
100 } else if (sf == -1) {

Completed in 221 milliseconds

123