/titanic_41/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | token.c | 121 unsigned int size, hsize, token_size, app_size, oid_size, start; in __make_ap_token() local 154 hsize = app_size + oid_size; in __make_ap_token() 155 hsize += 1; /* tag 0x60 for application 0 */ in __make_ap_token() 156 size = hsize + token_size; in __make_ap_token() 187 start = RNDUP(hsize); in __make_ap_token() 301 unsigned int oid_len, token_len, bytes, hsize; in __get_ap_token() local 329 hsize = 1 + bytes; in __get_ap_token() 344 hsize += 1 + bytes + oid_len; in __get_ap_token() 353 if (input->length - hsize != token_len) in __get_ap_token() 363 hsize = RNDUP(hsize); in __get_ap_token() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_common.c | 29 hash(krb5_donot_replay *rep, int hsize) in hash() argument 32 % hsize) + hsize) % hsize)); in hash()
|
H A D | rc_mem.c | 41 rephash = hash(rep, t->hsize); in rc_store() 214 t->hsize = HASHSIZE; /* no need to store---it's memory-only */ in krb5_rc_mem_resolve() 215 t->h = (struct authlist **)malloc(t->hsize*sizeof (struct authlist *)); in krb5_rc_mem_resolve() 220 memset(t->h, 0, t->hsize*sizeof (struct authlist *)); in krb5_rc_mem_resolve()
|
H A D | rc_common.h | 61 int hash(krb5_donot_replay *rep, int hsize);
|
H A D | rc_mem.h | 31 int hsize; member
|
H A D | rc_file.h | 46 int hsize; member
|
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()
|
/titanic_41/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | bsd-comp.c | 99 uint_t hsize; /* size of the hash table */ member 332 if (db->hsize != 0) { in bsd_reset() 351 uint_t hsize; in bsd_alloc() local 374 hsize = 5003; in bsd_alloc() 381 hsize = 9001; in bsd_alloc() 388 hsize = 18013; in bsd_alloc() 395 hsize = 35023; in bsd_alloc() 412 ilen = newlen = sizeof (*db) + (hsize-1) * sizeof (db->dict[0]); in bsd_alloc() 429 db->hsize = hsize; in bsd_alloc() 445 if (db->hsize != 0) { in bsd_free() [all …]
|
/titanic_41/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 …]
|
/titanic_41/usr/src/cmd/strings/ |
H A D | strings.c | 180 int hsize; local 312 hsize = fread((char *)&ahdr, sizeof (char), 314 htype = ismagic(hsize, &ahdr, stdin); 476 ismagic(hsize, hdr, fp) in ismagic() argument 477 int hsize; in ismagic() 486 if (hsize < sizeof (struct aexec))
|
/titanic_41/usr/src/cmd/compress/ |
H A D | compress.c | 145 static code_int hsize = HSIZE; /* for dynamic table sizing */ variable 674 hsize = HSIZE; in main() 719 hsize = HSIZE; in main() 721 hsize = min(5003, HSIZE); in main() 723 hsize = min(9001, HSIZE); in main() 725 hsize = min(18013, HSIZE); in main() 727 hsize = min(35023, HSIZE); in main() 729 hsize = min(50021, HSIZE); in main() 930 "internal error: hashtable exceeded - hsize = %ld\n", hsize); in cinterr() 1013 for (fcode = (long)hsize; fcode < 65536L; fcode *= 2L) in compress() [all …]
|
/titanic_41/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dtrace.c | 1745 size_t hsize; in dtrace_aggkey_init() local 1768 hsize = agb.dtagb_hashsize * sizeof (dtrace_aggkey_t *); in dtrace_aggkey_init() 1769 data->dtakd_hash = mdb_alloc(hsize, UM_SLEEP); in dtrace_aggkey_init() 1771 if (mdb_vread(data->dtakd_hash, hsize, in dtrace_aggkey_init() 1775 mdb_free(data->dtakd_hash, hsize); in dtrace_aggkey_init() 1812 size_t hsize; in dtrace_aggkey_fini() local 1814 hsize = data->dtakd_hashsize * sizeof (dtrace_aggkey_t *); in dtrace_aggkey_fini() 1815 mdb_free(data->dtakd_hash, hsize); in dtrace_aggkey_fini() 1833 size_t hsize; in dtrace_dynvar_init() local 1854 hsize = dstate.dtds_hashsize * sizeof (dtrace_dynhash_t); in dtrace_dynvar_init() [all …]
|
/titanic_41/usr/src/cmd/fs.d/ufs/ncheck/ |
H A D | ncheck.c | 103 long hsize; variable 305 hsize = sblock.fs_ipg * sblock.fs_ncg - sblock.fs_cstotal.cs_nifree + 1; in check() 308 (unsigned)(hsize * sizeof (struct htab))); in check() 316 if (!extend_strngtab(AVG_PATH_LEN * hsize)) { in check() 562 for (hp = &htab[(int)i%hsize]; hp->h_ino; ) { in lookup() 565 if (++hp >= &htab[hsize]) in lookup() 571 if (++nhent >= hsize) { in lookup() 573 hsize); in lookup()
|
/titanic_41/usr/src/cmd/lms/ |
H A D | LMEConnection.cpp | 825 unsigned int hsize = sizeof(APF_GENERIC_HEADER) + in _apfGlobalRequest() local 828 pCurrent = rxBuffer + hsize; in _apfGlobalRequest() 829 bytesRead -= hsize; in _apfGlobalRequest() 856 unsigned int hsize = sizeof(APF_GENERIC_HEADER) + in _apfGlobalRequest() local 859 pCurrent = rxBuffer + hsize; in _apfGlobalRequest() 860 bytesRead -= hsize; in _apfGlobalRequest() 886 unsigned int hsize = sizeof(APF_GENERIC_HEADER) + in _apfGlobalRequest() local 889 pCurrent = rxBuffer + hsize; in _apfGlobalRequest() 890 bytesRead -= hsize; in _apfGlobalRequest()
|
/titanic_41/usr/src/cmd/fs.d/ufs/ff/ |
H A D | ff.c | 88 long hsize; variable 361 hsize = sblock.fs_ipg * sblock.fs_ncg - sblock.fs_cstotal.cs_nifree + 1; in check() 362 htab = (struct htab *)calloc(hsize, sizeof (struct htab)); in check() 364 if (!extend_strngtab(AVG_PATH_LEN * hsize)) { in check() 624 for (hp = &htab[(int)i%hsize]; hp->h_ino; ) { in lookup() 627 if (++hp >= &htab[hsize]) in lookup() 632 if (++nhent >= hsize) { in lookup() 634 "ff: hsize of %ld is too small\n", hsize); in lookup()
|
/titanic_41/usr/src/cmd/audio/audioconvert/ |
H A D | file.cc | 87 unsigned int hsize; in open_input_file() local 134 if (hsize = read(fd, (char *)&fhdr, sizeof (fhdr)) in open_input_file() 143 if (hsize != sizeof (fhdr)) { in open_input_file()
|
/titanic_41/usr/src/tools/protocmp/ |
H A D | list.c | 42 init_list(elem_list *list, int hsize) in init_list() argument 47 list->list = (elem**)malloc(sizeof (elem *) * hsize); in init_list() 48 list->num_of_buckets = hsize; in init_list()
|
/titanic_41/usr/src/lib/libshell/common/edit/ |
H A D | history.c | 237 register off_t hsize = 0; in sh_histinit() local 269 hsize=lseek(fd,(off_t)0,SEEK_END); in sh_histinit() 281 if(hsize && hist_check(fd)) in sh_histinit() 284 hsize = 0; in sh_histinit() 326 if(hsize==0) in sh_histinit() 337 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()
|
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | cyclic.c | 199 size_t hsize = sizeof (cyc_index_t) * cpu->cyp_size; in cyclic_pretty_dump() local 201 heap = mdb_alloc(hsize, UM_SLEEP | UM_GC); in cyclic_pretty_dump() 203 if (mdb_vread(heap, hsize, (uintptr_t)cpu->cyp_heap) == -1) { in cyclic_pretty_dump() 254 size_t hsize; in cycinfo() local 300 hsize = sizeof (cyc_index_t) * cpu.cyp_size; in cycinfo() 301 heap = mdb_alloc(hsize, UM_SLEEP | UM_GC); in cycinfo() 303 if (mdb_vread(heap, hsize, (uintptr_t)cpu.cyp_heap) == -1) { in cycinfo()
|
/titanic_41/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()
|
/titanic_41/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()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | mmapobj.c | 1299 int hsize; in calc_loadable() local 1328 hsize = ehdrp->e_phentsize; in calc_loadable() 1329 if (hsize & 7) { in calc_loadable() 1334 hsize = ((Elf32_Ehdr *)ehdrp)->e_phentsize; in calc_loadable() 1335 if (hsize & 3) { in calc_loadable() 1357 hsize)); in calc_loadable() 1407 (struct myphdr *)((size_t)STRUCT_BUF(mph) + hsize)); in calc_loadable() 1554 int hsize; in process_phdr() local 1570 hsize = ehdrp->e_phentsize; in process_phdr() 1571 if (hsize & 7) { in process_phdr() [all …]
|
/titanic_41/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,
|
/titanic_41/usr/src/cmd/sgs/libld/common/ |
H A D | util.c | 116 size_t hsize = (size_t)S_ROUND(sizeof (Ld_heap), HEAPALIGN); in libld_malloc() local 117 size_t tsize = (size_t)S_ROUND((asize + hsize), HEAPALIGN); in libld_malloc() 129 nhp->lh_free = (void *)((size_t)nhp + hsize); in libld_malloc()
|
/titanic_41/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 270 int i, hsize; in elfexec() local 367 hsize = ehdrp->e_phentsize; in elfexec() 393 phdrp = (Phdr *)((caddr_t)phdrp + hsize); in elfexec() 947 int hsize = ehdrp->e_phentsize; in elfsize() local 981 phdrp = (Phdr *)((caddr_t)phdrp + hsize); in elfsize() 1223 int hsize = ehdr->e_phentsize; in mapelfexec() local 1249 phdr = (Phdr *)((caddr_t)phdr + hsize); in mapelfexec() 1372 phdr = (Phdr *)((caddr_t)phdr + hsize); in mapelfexec()
|