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

123

/illumos-gate/usr/src/boot/lib/libstand/
H A Dsplitfs.c47 static int split_openfile(struct split_file *sf);
66 split_file_destroy(struct split_file *sf) argument
70 if (sf->filesc > 0) {
71 for (i = 0; i < sf->filesc; i++) {
72 free(sf->filesv[i]);
73 free(sf->descsv[i]);
75 free(sf->filesv);
76 free(sf->descsv);
78 free(sf);
82 split_openfile(struct split_file *sf) argument
108 struct split_file *sf; local
184 struct split_file *sf; local
197 struct split_file *sf; local
240 struct split_file *sf; local
307 struct split_file *sf = (struct split_file *)f->f_fsdata; local
[all...]
/illumos-gate/usr/src/common/secflags/
H A Dsecflags.c34 secflag_isset(secflagset_t flags, secflag_t sf) argument
36 return ((flags & secflag_to_bit(sf)) != 0);
40 secflag_clear(secflagset_t *flags, secflag_t sf) argument
42 *flags &= ~secflag_to_bit(sf);
46 secflag_set(secflagset_t *flags, secflag_t sf) argument
48 *flags |= secflag_to_bit(sf);
106 psecflags_validate_delta(const psecflags_t *sf, const secflagdelta_t *delta) argument
113 if (!secflags_issubset(delta->psd_assign, sf->psf_upper) ||
114 !secflags_issuperset(delta->psd_assign, sf->psf_lower)) {
123 if (!secflags_issubset(delta->psd_add, sf
145 psecflags_validate(const psecflags_t *sf) argument
164 psecflags_default(psecflags_t *sf) argument
198 secflag_to_str(secflag_t sf) argument
[all...]
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/
H A Dsf.c28 * sf - Solaris Fibre Channel driver
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 *, struc
416 struct sf *sf; local
450 struct sf *sf, *tsf; local
913 struct sf *sf; local
1168 sf_softstate_unlink(struct sf *sf) argument
1218 struct sf *sf; local
1260 struct sf *sf = (struct sf *)hba_tran->tran_hba_private; local
1351 sf_pkt_alloc_extern(struct sf *sf, struct sf_pkt *cmd, int tgtlen, int statuslen, int kf) argument
1388 sf_pkt_destroy_extern(struct sf *sf, struct sf_pkt *cmd) argument
1424 struct sf *sf = ADDR2SF(ap); local
1688 struct sf *sf = ADDR2SF(ap); local
1767 struct sf *sf = ADDR2SF(ap); local
1829 sf_add_cr_pool(struct sf *sf) argument
1991 sf_cr_alloc(struct sf *sf, struct sf_pkt *cmd, int (*func)()) argument
2080 struct sf *sf = cp->sf; local
2102 sf_crpool_free(struct sf *sf) argument
2171 struct sf *sf = (struct sf *)arg; local
2591 sf_login(struct sf *sf, uchar_t els_code, uchar_t dest_id, uint_t arg1, int lip_cnt) argument
2641 sf_els_transport(struct sf *sf, struct sf_els_hdr *privp) argument
2685 struct sf *sf = privp->sf; local
2932 sf_do_prli(struct sf *sf, struct sf_els_hdr *privp, struct la_els_logi *ptr) argument
2976 sf_do_adisc(struct sf *sf, struct sf_els_hdr *privp) argument
3001 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
3214 sf_create_target(struct sf *sf, struct sf_els_hdr *privp, int tnum, int64_t lun) argument
3429 sf_lookup_target(struct sf *sf, uchar_t *wwn, int lun) argument
3465 sf_do_reportlun(struct sf *sf, struct sf_els_hdr *privp, struct sf_target *target) argument
3579 struct sf *sf = privp->sf; local
3823 sf_do_inquiry(struct sf *sf, struct sf_els_hdr *privp, struct sf_target *target) argument
3932 struct sf *sf = privp->sf; local
4104 sf_finish_init(struct sf *sf, int lip_cnt) argument
4226 sf_create_devinfo(struct sf *sf, struct sf_target *target, int lip_cnt) argument
4378 sf_offline_target(struct sf *sf, struct sf_target *target) argument
4482 struct sf *sf = ADDR2SF(ap); local
4586 struct sf *sf = ADDR2SF(ap); local
4765 struct sf *sf = ADDR2SF(ap); local
4987 sf_abort_all(struct sf *sf, struct sf_target *target, int abort, int lip_cnt, int try_abort) argument
5139 struct sf *sf = ADDR2SF(ap); local
5234 sf_start_internal(struct sf *sf, struct sf_pkt *cmd) argument
5264 sf_prepare_pkt(struct sf *sf, struct sf_pkt *cmd, struct sf_target *target) argument
5319 sf_fill_ids(struct sf *sf, struct sf_pkt *cmd, struct sf_target *target) argument
5337 sf_dopoll(struct sf *sf, struct sf_pkt *cmd) argument
5396 struct sf *sf = ADDR2SF(&pkt->pkt_address); local
5815 sf_throttle_start(struct sf *sf) argument
5887 sf_throttle(struct sf *sf) argument
5937 struct sf *sf; local
6114 sf_check_targets(struct sf *sf) argument
6232 sf_target_timeout(struct sf *sf, struct sf_pkt *cmd) argument
6324 sf_els_timeout(struct sf *sf, struct sf_els_hdr *privp) argument
6483 struct sf *sf; local
6557 sf_force_lip(struct sf *sf) argument
6635 struct sf *sf = (struct sf *)arg; local
6724 sf_log(struct sf *sf, int level, const char *fmt, ...) argument
6749 struct sf *sf; local
6777 struct sf *sf; local
6799 struct sf *sf; local
6825 struct sf *sf; local
7023 sf_get_target_from_dip(struct sf *sf, dev_info_t *dip) argument
7050 struct sf *sf; local
7073 struct sf *sf; local
7093 struct sf *sf; local
7115 struct sf *sf = ddi_get_soft_state(sf_state, ddi_get_instance(dip)); local
7162 struct sf *sf = (struct sf *)arg; local
[all...]
/illumos-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...]
/illumos-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...]
/illumos-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;
/illumos-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));
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpsecflags.c56 secflag_t sf = 0; local
86 if ((secflag_by_name(flag, &sf)) != B_TRUE) {
93 secflag_set(&(ret->psd_rem), sf);
95 secflag_set(&(ret->psd_add), sf);
/illumos-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...]
/illumos-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...]
/illumos-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...]
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dfcloseall.c49 if(sfclose(p->sf[n]) >= 0)
/illumos-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);
/illumos-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...]
/illumos-gate/usr/src/boot/sys/boot/efi/fdt/
H A DMakefile31 ln -sf ${.CURDIR}/../../../${MACHINE}/include machine
/illumos-gate/usr/src/boot/sys/boot/i386/libfirewire/
H A DMakefile22 ln -sf ${.CURDIR}/../../../i386/include machine
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A DMakefile29 ln -sf ${.CURDIR}/../../../${MACHINE_CPUARCH}/include machine
/illumos-gate/usr/src/boot/sys/boot/uboot/fdt/
H A DMakefile27 ln -sf ${.CURDIR}/../../../${MACHINE_CPUARCH}/include machine
/illumos-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, '-');

Completed in 89 milliseconds

123