/illumos-gate/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;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | psecflags.c | 56 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/lib/libbsm/common/ |
H A D | audit_rshd.c | 174 selected(uid_t uid, char *locuser, au_event_t event, int sf) argument 187 if (sf == 0) { 189 } else if (sf == -1) {
|
/illumos-gate/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...] |
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sftmp.c | 210 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/boot/lib/libstand/ |
H A D | splitfs.c | 47 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 D | secflags.c | 34 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/cmd/refer/ |
H A D | refer5.c | 239 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, '-');
|
/illumos-gate/usr/src/cmd/lastcomm/ |
H A D | lc_utils.c | 88 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/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;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dummy/mech/ |
H A D | dmech.c | 1299 unsigned char sf; local 1305 sf = *(*buf)++; 1307 if (sf & 0x80) { 1308 if ((sf &= 0x7f) > ((*bufsize)-1)) 1311 if (sf > DUMMY_SIZE_OF_INT) 1314 for (; sf; sf--) { 1319 ret = sf;
|
/illumos-gate/usr/src/lib/libc/amd64/unwind/ |
H A D | unwind.c | 206 struct eh_frame_fields sf; local 215 sfp = _Unw_Decode_FDE(&sf, ctx);
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | swap_rcm.c | 160 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/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; 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/cmd/lvm/util/ |
H A D | metaclust.c | 681 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/uts/common/pcmcia/cis/ |
H A D | cis_handlers.c | 536 cisdata_t tpce_indx, tpce_fs, tpce_td, sf, tpce_io, nr; local 672 if ((sf = (tpce_td & 676 GET_TPCE_FS_TD_WAITS(sf), 686 if ((sf = (tpce_td & CISTPL_CFTABLE_TPCE_FS_TD_RDYM)) != 689 GET_TPCE_FS_TD_RDYS(sf), 699 if ((sf = (tpce_td & 703 GET_TPCE_FS_TD_RSVDS(sf),
|
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmprofile.c | 321 Vmulong_t nf, Vmulong_t sf, Vmulong_t max, Vmulong_t size) 323 static char* pfsummary(buf, na, sa, nf, sf, max, size) 328 Vmulong_t sf; 340 buf = (*_Vmstrcpy)(buf, (*_Vmitoa)(sf,-1), ':'); 320 pfsummary(char* buf, Vmulong_t na, Vmulong_t sa, Vmulong_t nf, Vmulong_t sf, Vmulong_t max, Vmulong_t size) argument
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | visinstr.c | 1060 int i, j, k, sf; local 1093 sf = (int)(GSR_SCALE(r) & 0xf); 1096 j = ((int)s << sf); 1119 sf = (int)GSR_SCALE(r); 1123 l = ((int64_t)j << sf); 1143 sf = (int)GSR_SCALE(r); 1146 l = ((int64_t)j << sf);
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | dit_access_utils.c | 124 processSplitField(__nis_table_mapping_t *sf, __nis_value_t *inVal, argument 133 /* sf will be non NULL */ 141 sepset = sf->separatorStr; 161 for (i = 0; i <= sf->numSplits; i++) { 162 valA = matchMappingItem(sf->e[i].element.match.fmt, 190 sf->e[i].element.match.item[j].name, 217 if (i > sf->numSplits) { 255 __nis_table_mapping_t *sf; local 407 sf = mappingFromMap(t->e->element.match.item[i].name, 412 if (sf 509 __nis_table_mapping_t *sf; local [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_mn_handlers.c | 679 mddb_setflags_config_t sf; local 720 (void) memset(&sf, 0, sizeof (sf)); 721 sf.sf_setno = MD_MIN2SET(d->msg_resync_mnum); 722 sf.sf_flags = MDDB_NM_GET; 724 sf.sf_magic = MDDB_SETFLAGS_MAGIC; 725 if ((sp = metasetnosetname(sf.sf_setno, &ep)) == NULL) { 728 sf.sf_setno); 736 if (metaioctl(MD_MN_GET_SETFLAGS, &sf, &sf [all...] |
/illumos-gate/usr/src/cmd/allocate/ |
H A D | allocate3.c | 312 struct state_file sf; local 335 if ((error = _dev_file_name(&sf, dm)) != 0) { 342 fname = sf.sf_path; 1011 struct state_file sf; local 1027 if (_dev_file_name(&sf, dm) != 0) { 1035 fname = sf.sf_path; 1161 struct state_file sf; local 1175 if (_dev_file_name(&sf, dm) != 0) { 1182 fname = sf.sf_path;
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | scn.c | 1239 int (*sf)(scn_raw_t *); member in struct:scn_tbl 1529 if (tbl->sf != NULL) { 1530 tbl->sf(raw);
|
/illumos-gate/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: */ local 352 /* i(pc) = ((pc - pc_l) * sf)/bias. */ 558 * tick counters, n_pc, is computed the so-called "scale", sf, used 561 * (pc - pc_l) * sf 578 * logically equivalent to 1/(sf/bias), and the latter is much 597 sf = (BIAS * (double)n_pc)/pc_m; 599 * Now adjust bias and sf so that there is no overflow 605 sf >>= 1; 615 "sf [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/ |
H A D | srpt_ioc.c | 66 sf:1, member in struct:srpt_ioc_opcap_bits_s 70 sf:1, 1271 capmask.bits.sf = 1; /* Messages can be sent from IOC */
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_server.c | 2236 smb_spoolfid_t *sf; local 2241 sf = kmem_zalloc(sizeof (smb_spoolfid_t), KM_SLEEP); 2244 sf->sf_fid = fid; 2245 smb_llist_insert_tail(fidlist, sf);
|