/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | token.c | 119 unsigned int size, hsize, token_size, app_size, oid_size, start; in __make_ap_token() local 152 hsize = app_size + oid_size; in __make_ap_token() 153 hsize += 1; /* tag 0x60 for application 0 */ in __make_ap_token() 154 size = hsize + token_size; in __make_ap_token() 185 start = RNDUP(hsize); in __make_ap_token() 299 unsigned int oid_len, token_len, bytes, hsize; in __get_ap_token() local 327 hsize = 1 + bytes; in __get_ap_token() 342 hsize += 1 + bytes + oid_len; in __get_ap_token() 351 if (input->length - hsize != token_len) in __get_ap_token() 361 hsize = RNDUP(hsize); in __get_ap_token() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_common.c | 27 hash(krb5_donot_replay *rep, int hsize) in hash() argument 30 % hsize) + hsize) % hsize)); in hash()
|
H A D | rc_mem.c | 39 rephash = hash(rep, t->hsize); in rc_store() 212 t->hsize = HASHSIZE; /* no need to store---it's memory-only */ in krb5_rc_mem_resolve() 213 t->h = (struct authlist **)malloc(t->hsize*sizeof (struct authlist *)); in krb5_rc_mem_resolve() 218 memset(t->h, 0, t->hsize*sizeof (struct authlist *)); in krb5_rc_mem_resolve()
|
H A D | rc_common.h | 59 int hash(krb5_donot_replay *rep, int hsize);
|
H A D | rc_file.c | 46 rephash = hash(rep, t->hsize); in rc_store() 217 t->hsize = HASHSIZE; /* no need to store---it's memory-only */ in krb5_rc_file_resolve() 218 t->h = (struct authlist **) malloc(t->hsize*sizeof(struct authlist *)); in krb5_rc_file_resolve() 223 memset(t->h, 0, t->hsize*sizeof(struct authlist *)); in krb5_rc_file_resolve()
|
H A D | rc_mem.h | 31 int hsize; member
|
H A D | rc_file.h | 46 int hsize; member
|
H A D | rc_base.c | 63 for (i = 0; i < tgr->hsize; i++) in krb5int_rc_terminate()
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | bsd-comp.c | 97 uint_t hsize; /* size of the hash table */ member 330 if (db->hsize != 0) { in bsd_reset() 349 uint_t hsize; in bsd_alloc() local 372 hsize = 5003; in bsd_alloc() 379 hsize = 9001; in bsd_alloc() 386 hsize = 18013; in bsd_alloc() 393 hsize = 35023; in bsd_alloc() 410 ilen = newlen = sizeof (*db) + (hsize-1) * sizeof (db->dict[0]); in bsd_alloc() 427 db->hsize = hsize; in bsd_alloc() 443 if (db->hsize != 0) { in bsd_free() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | bsd-comp.c | 83 u_int hsize; /* size of the hash table */ member 292 u_int newlen, hsize, hshift, maxmaxcode; local 305 hsize = 5003; 309 hsize = 9001; 313 hsize = 18013; 317 hsize = 35023; 329 newlen = sizeof(*db) + (hsize-1) * (sizeof(db->dict[0])); 346 db->hsize = hsize; 396 i = db->hsize; 480 if (hval >= db->hsize) [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dtrace.c | 1793 size_t hsize; in dtrace_aggkey_init() local 1816 hsize = agb.dtagb_hashsize * sizeof (dtrace_aggkey_t *); in dtrace_aggkey_init() 1817 data->dtakd_hash = mdb_alloc(hsize, UM_SLEEP); in dtrace_aggkey_init() 1819 if (mdb_vread(data->dtakd_hash, hsize, in dtrace_aggkey_init() 1823 mdb_free(data->dtakd_hash, hsize); in dtrace_aggkey_init() 1860 size_t hsize; in dtrace_aggkey_fini() local 1862 hsize = data->dtakd_hashsize * sizeof (dtrace_aggkey_t *); in dtrace_aggkey_fini() 1863 mdb_free(data->dtakd_hash, hsize); in dtrace_aggkey_fini() 1881 size_t hsize; in dtrace_dynvar_init() local 1902 hsize = dstate.dtds_hashsize * sizeof (dtrace_dynhash_t); in dtrace_dynvar_init() [all …]
|
/illumos-gate/usr/src/cmd/compress/ |
H A D | compress.c | 147 static code_int hsize = HSIZE; /* for dynamic table sizing */ variable 676 hsize = HSIZE; in main() 721 hsize = HSIZE; in main() 723 hsize = min(5003, HSIZE); in main() 725 hsize = min(9001, HSIZE); in main() 727 hsize = min(18013, HSIZE); in main() 729 hsize = min(35023, HSIZE); in main() 731 hsize = min(50021, HSIZE); in main() 932 "internal error: hashtable exceeded - hsize = %ld\n", hsize); in cinterr() 1015 for (fcode = (long)hsize; fcode < 65536L; fcode *= 2L) in compress() [all …]
|
/illumos-gate/usr/src/cmd/strings/ |
H A D | strings.c | 178 int hsize; local 310 hsize = fread((char *)&ahdr, sizeof (char), 312 htype = ismagic(hsize, &ahdr, stdin); 474 ismagic(hsize, hdr, fp) in ismagic() argument 475 int hsize; in ismagic() 484 if (hsize < sizeof (struct aexec))
|
/illumos-gate/usr/src/cmd/fs.d/ufs/ncheck/ |
H A D | ncheck.c | 101 long hsize; variable 303 hsize = sblock.fs_ipg * sblock.fs_ncg - sblock.fs_cstotal.cs_nifree + 1; in check() 306 (unsigned)(hsize * sizeof (struct htab))); in check() 314 if (!extend_strngtab(AVG_PATH_LEN * hsize)) { in check() 560 for (hp = &htab[(int)i%hsize]; hp->h_ino; ) { in lookup() 563 if (++hp >= &htab[hsize]) in lookup() 569 if (++nhent >= hsize) { in lookup() 571 hsize); in lookup()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/ff/ |
H A D | ff.c | 86 long hsize; variable 359 hsize = sblock.fs_ipg * sblock.fs_ncg - sblock.fs_cstotal.cs_nifree + 1; in check() 360 htab = (struct htab *)calloc(hsize, sizeof (struct htab)); in check() 362 if (!extend_strngtab(AVG_PATH_LEN * hsize)) { in check() 622 for (hp = &htab[(int)i%hsize]; hp->h_ino; ) { in lookup() 625 if (++hp >= &htab[hsize]) in lookup() 630 if (++nhent >= hsize) { in lookup() 632 "ff: hsize of %ld is too small\n", hsize); in lookup()
|
/illumos-gate/usr/src/cmd/audio/audioconvert/ |
H A D | file.cc | 85 unsigned int hsize; in open_input_file() local 132 if (hsize = read(fd, (char *)&fhdr, sizeof (fhdr)) in open_input_file() 141 if (hsize != sizeof (fhdr)) { in open_input_file()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | history.c | 236 register off_t hsize = 0; in sh_histinit() local 268 hsize=lseek(fd,(off_t)0,SEEK_END); in sh_histinit() 280 if(hsize && hist_check(fd)) in sh_histinit() 283 hsize = 0; in sh_histinit() 325 if(hsize==0) in sh_histinit() 336 hp->histind = first = hist_nearend(hp,hp->histfp,hsize-size); in sh_histinit() 345 first = hist_nearend(hp,hp->histfp,hsize-size); in sh_histinit() 352 sfseek(hp->histfp,hp->histcnt=hsize,SEEK_SET); in sh_histinit() 363 if(hist_clean(fd) && hist_start>1 && hsize > HIST_MAX) in sh_histinit() 366 sfprintf(sfstderr,"%d: hist_trim hsize=%d\n",getpid(),hsize); in sh_histinit()
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | list.c | 40 init_list(elem_list *list, int hsize) in init_list() argument 45 list->list = (elem**)malloc(sizeof (elem *) * hsize); in init_list() 46 list->num_of_buckets = hsize; in init_list()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | cyclic.c | 201 size_t hsize = sizeof (cyc_index_t) * cpu->cyp_size; in cyclic_pretty_dump() local 203 heap = mdb_alloc(hsize, UM_SLEEP | UM_GC); in cyclic_pretty_dump() 205 if (mdb_vread(heap, hsize, (uintptr_t)cpu->cyp_heap) == -1) { in cyclic_pretty_dump() 243 size_t hsize; in cycinfo() local 288 hsize = sizeof (cyc_index_t) * cpu.cyp_size; in cycinfo() 289 heap = mdb_alloc(hsize, UM_SLEEP | UM_GC); in cycinfo() 291 if (mdb_vread(heap, hsize, (uintptr_t)cpu.cyp_heap) == -1) { in cycinfo()
|
/illumos-gate/usr/src/cmd/sgs/ldprof/common/ |
H A D | profile.c | 160 size_t hsize; /* struct hdr size */ in profile_open() local 278 hsize = sizeof (L_hdr); in profile_open() 282 Fsize = (hsize + psize + csize); in profile_open() 361 Cptr = (L_cgarc *)(addr + hsize + psize); in profile_open() 367 profil((unsigned short *)(addr + hsize), in profile_open()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | mmapobj.c | 1306 int hsize; in calc_loadable() local 1335 hsize = ehdrp->e_phentsize; in calc_loadable() 1336 if (hsize & 7) { in calc_loadable() 1341 hsize = ((Elf32_Ehdr *)ehdrp)->e_phentsize; in calc_loadable() 1342 if (hsize & 3) { in calc_loadable() 1364 hsize)); in calc_loadable() 1414 (struct myphdr *)((size_t)STRUCT_BUF(mph) + hsize)); in calc_loadable() 1561 int hsize; in process_phdrs() local 1577 hsize = ehdrp->e_phentsize; in process_phdrs() 1578 if (hsize & 7) { in process_phdrs() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_intr.c | 98 dev->hsize = nreqd * sizeof (ddi_intr_handle_t); in oce_setup_intr() 99 dev->htable = kmem_zalloc(dev->hsize, KM_NOSLEEP); in oce_setup_intr() 169 kmem_free(dev->htable, dev->hsize); in oce_teardown_intr()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | collect.c | 53 char hsize[16]; local 57 (void) sm_snprintf(hsize, sizeof(hsize), "%d", hdrslen); 60 hnum, hsize); 61 (void) rscheck("check_eoh", hnum, hsize, e, RSF_UNSTRUCTURED|RSF_COUNT,
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_backup_reader.c | 252 int hsize; in output_xattr_header() local 277 hsize = namesz + sizeof (struct xattr_hdr) + sizeof (struct xattr_buf); in output_xattr_header() 291 hsize); in output_xattr_header() 304 aname, hsize, attr->st_mode & 07777, attr->st_uid, attr->st_gid); in output_xattr_header() 318 sizeof (xhdr->h_size) - 1, hsize); in output_xattr_header()
|
/illumos-gate/usr/src/grub/grub-0.97/docs/ |
H A D | texinfo.tex | 297 \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}% 298 \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}% 314 \hsize = \outerhsize 327 \hfil % center the page within the outer (page) hsize. 371 \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi 824 \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}% 910 \advance\hsize by -\leftskip 911 \advance\hsize by -\rightskip 2116 \vskip4pt \hrule height 2pt width \hsize 2134 \vskip4pt \hrule height 4pt width \hsize \vskip4pt [all …]
|