tbl 73 ompi/mca/topo/treematch/treematch/uthash.h #define uthash_noexpand_fyi(tbl) /* can be defined to log noexpand */ tbl 74 ompi/mca/topo/treematch/treematch/uthash.h #define uthash_expand_fyi(tbl) /* can be defined to log expands */ tbl 82 ompi/mca/topo/treematch/treematch/uthash.h #define ELMT_FROM_HH(tbl,hhp) ((void*)(((char*)(hhp)) - ((tbl)->hho))) tbl 89 ompi/mca/topo/treematch/treematch/uthash.h HASH_FCN(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt); \ tbl 90 ompi/mca/topo/treematch/treematch/uthash.h if (HASH_BLOOM_TEST((head)->hh.tbl, _hf_hashv)) { \ tbl 91 ompi/mca/topo/treematch/treematch/uthash.h HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], \ tbl 100 ompi/mca/topo/treematch/treematch/uthash.h #define HASH_BLOOM_MAKE(tbl) \ tbl 102 ompi/mca/topo/treematch/treematch/uthash.h (tbl)->bloom_nbits = HASH_BLOOM; \ tbl 103 ompi/mca/topo/treematch/treematch/uthash.h (tbl)->bloom_bv = (uint8_t*)uthash_malloc(HASH_BLOOM_BYTELEN); \ tbl 104 ompi/mca/topo/treematch/treematch/uthash.h if (!((tbl)->bloom_bv)) { uthash_fatal( "out of memory"); } \ tbl 105 ompi/mca/topo/treematch/treematch/uthash.h memset((tbl)->bloom_bv, 0, HASH_BLOOM_BYTELEN); \ tbl 106 ompi/mca/topo/treematch/treematch/uthash.h (tbl)->bloom_sig = HASH_BLOOM_SIGNATURE; \ tbl 109 ompi/mca/topo/treematch/treematch/uthash.h #define HASH_BLOOM_FREE(tbl) \ tbl 111 ompi/mca/topo/treematch/treematch/uthash.h uthash_free((tbl)->bloom_bv, HASH_BLOOM_BYTELEN); \ tbl 117 ompi/mca/topo/treematch/treematch/uthash.h #define HASH_BLOOM_ADD(tbl,hashv) \ tbl 118 ompi/mca/topo/treematch/treematch/uthash.h HASH_BLOOM_BITSET((tbl)->bloom_bv, (hashv & (uint32_t)((1ULL << (tbl)->bloom_nbits) - 1))) tbl 120 ompi/mca/topo/treematch/treematch/uthash.h #define HASH_BLOOM_TEST(tbl,hashv) \ tbl 121 ompi/mca/topo/treematch/treematch/uthash.h HASH_BLOOM_BITTEST((tbl)->bloom_bv, (hashv & (uint32_t)((1ULL << (tbl)->bloom_nbits) - 1))) tbl 124 ompi/mca/topo/treematch/treematch/uthash.h #define HASH_BLOOM_MAKE(tbl) tbl 125 ompi/mca/topo/treematch/treematch/uthash.h #define HASH_BLOOM_FREE(tbl) tbl 126 ompi/mca/topo/treematch/treematch/uthash.h #define HASH_BLOOM_ADD(tbl,hashv) tbl 127 ompi/mca/topo/treematch/treematch/uthash.h #define HASH_BLOOM_TEST(tbl,hashv) (1) tbl 132 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl = (UT_hash_table*)uthash_malloc( \ tbl 134 ompi/mca/topo/treematch/treematch/uthash.h if (!((head)->hh.tbl)) { uthash_fatal( "out of memory"); } \ tbl 135 ompi/mca/topo/treematch/treematch/uthash.h memset((head)->hh.tbl, 0, sizeof(UT_hash_table)); \ tbl 136 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->tail = &((head)->hh); \ tbl 137 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->num_buckets = HASH_INITIAL_NUM_BUCKETS; \ tbl 138 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->log2_num_buckets = HASH_INITIAL_NUM_BUCKETS_LOG2; \ tbl 139 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->hho = (char*)(&(head)->hh) - (char*)(head); \ tbl 140 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->buckets = (UT_hash_bucket*)uthash_malloc( \ tbl 142 ompi/mca/topo/treematch/treematch/uthash.h if (! (head)->hh.tbl->buckets) { uthash_fatal( "out of memory"); } \ tbl 143 ompi/mca/topo/treematch/treematch/uthash.h memset((head)->hh.tbl->buckets, 0, \ tbl 145 ompi/mca/topo/treematch/treematch/uthash.h HASH_BLOOM_MAKE((head)->hh.tbl); \ tbl 146 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->signature = HASH_SIGNATURE; \ tbl 163 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->tail->next = (add); \ tbl 164 ompi/mca/topo/treematch/treematch/uthash.h (add)->hh.prev = ELMT_FROM_HH((head)->hh.tbl, (head)->hh.tbl->tail); \ tbl 165 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->tail = &((add)->hh); \ tbl 167 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->num_items++; \ tbl 168 ompi/mca/topo/treematch/treematch/uthash.h (add)->hh.tbl = (head)->hh.tbl; \ tbl 169 ompi/mca/topo/treematch/treematch/uthash.h HASH_FCN(keyptr,keylen_in, (head)->hh.tbl->num_buckets, \ tbl 171 ompi/mca/topo/treematch/treematch/uthash.h HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt],&(add)->hh); \ tbl 172 ompi/mca/topo/treematch/treematch/uthash.h HASH_BLOOM_ADD((head)->hh.tbl,(add)->hh.hashv); \ tbl 199 ompi/mca/topo/treematch/treematch/uthash.h uthash_free((head)->hh.tbl->buckets, \ tbl 200 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->num_buckets*sizeof(struct UT_hash_bucket) ); \ tbl 201 ompi/mca/topo/treematch/treematch/uthash.h HASH_BLOOM_FREE((head)->hh.tbl); \ tbl 202 ompi/mca/topo/treematch/treematch/uthash.h uthash_free((head)->hh.tbl, sizeof(UT_hash_table)); \ tbl 206 ompi/mca/topo/treematch/treematch/uthash.h if ((delptr) == ELMT_FROM_HH((head)->hh.tbl,(head)->hh.tbl->tail)) { \ tbl 207 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->tail = \ tbl 209 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->hho); \ tbl 213 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->hho))->next = (delptr)->hh.next; \ tbl 219 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->hho))->prev = \ tbl 222 ompi/mca/topo/treematch/treematch/uthash.h HASH_TO_BKT( _hd_hh_del->hashv, (head)->hh.tbl->num_buckets, _hd_bkt); \ tbl 223 ompi/mca/topo/treematch/treematch/uthash.h HASH_DEL_IN_BKT(hh,(head)->hh.tbl->buckets[_hd_bkt], _hd_hh_del); \ tbl 224 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->num_items--; \ tbl 259 ompi/mca/topo/treematch/treematch/uthash.h for( _bkt_i = 0; _bkt_i < (head)->hh.tbl->num_buckets; _bkt_i++) { \ tbl 261 ompi/mca/topo/treematch/treematch/uthash.h _thh = (head)->hh.tbl->buckets[_bkt_i].hh_head; \ tbl 273 ompi/mca/topo/treematch/treematch/uthash.h if ((head)->hh.tbl->buckets[_bkt_i].count != _bkt_count) { \ tbl 275 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->buckets[_bkt_i].count, _bkt_count); \ tbl 278 ompi/mca/topo/treematch/treematch/uthash.h if (_count != (head)->hh.tbl->num_items) { \ tbl 280 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->num_items, _count ); \ tbl 292 ompi/mca/topo/treematch/treematch/uthash.h _prev = (char*)ELMT_FROM_HH((head)->hh.tbl, _thh); \ tbl 294 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->hho) : NULL ); \ tbl 296 ompi/mca/topo/treematch/treematch/uthash.h if (_count != (head)->hh.tbl->num_items) { \ tbl 298 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->num_items, _count ); \ tbl 568 ompi/mca/topo/treematch/treematch/uthash.h #define HASH_FIND_IN_BKT(tbl,hh,head,keyptr,keylen_in,out) \ tbl 570 ompi/mca/topo/treematch/treematch/uthash.h if (head.hh_head) DECLTYPE_ASSIGN(out,ELMT_FROM_HH(tbl,head.hh_head)); \ tbl 576 ompi/mca/topo/treematch/treematch/uthash.h if (out->hh.hh_next) DECLTYPE_ASSIGN(out,ELMT_FROM_HH(tbl,out->hh.hh_next)); \ tbl 590 ompi/mca/topo/treematch/treematch/uthash.h && (addhh)->tbl->noexpand != 1) { \ tbl 591 ompi/mca/topo/treematch/treematch/uthash.h HASH_EXPAND_BUCKETS((addhh)->tbl); \ tbl 637 ompi/mca/topo/treematch/treematch/uthash.h #define HASH_EXPAND_BUCKETS(tbl) \ tbl 644 ompi/mca/topo/treematch/treematch/uthash.h 2 * tbl->num_buckets * sizeof(struct UT_hash_bucket)); \ tbl 647 ompi/mca/topo/treematch/treematch/uthash.h 2 * tbl->num_buckets * sizeof(struct UT_hash_bucket)); \ tbl 648 ompi/mca/topo/treematch/treematch/uthash.h tbl->ideal_chain_maxlen = \ tbl 649 ompi/mca/topo/treematch/treematch/uthash.h (tbl->num_items >> (tbl->log2_num_buckets+1)) + \ tbl 650 ompi/mca/topo/treematch/treematch/uthash.h ((tbl->num_items & ((tbl->num_buckets*2)-1)) ? 1 : 0); \ tbl 651 ompi/mca/topo/treematch/treematch/uthash.h tbl->nonideal_items = 0; \ tbl 652 ompi/mca/topo/treematch/treematch/uthash.h for(_he_bkt_i = 0; _he_bkt_i < tbl->num_buckets; _he_bkt_i++) \ tbl 654 ompi/mca/topo/treematch/treematch/uthash.h _he_thh = tbl->buckets[ _he_bkt_i ].hh_head; \ tbl 657 ompi/mca/topo/treematch/treematch/uthash.h HASH_TO_BKT( _he_thh->hashv, tbl->num_buckets*2, _he_bkt); \ tbl 659 ompi/mca/topo/treematch/treematch/uthash.h if (++(_he_newbkt->count) > tbl->ideal_chain_maxlen) { \ tbl 660 ompi/mca/topo/treematch/treematch/uthash.h tbl->nonideal_items++; \ tbl 662 ompi/mca/topo/treematch/treematch/uthash.h tbl->ideal_chain_maxlen; \ tbl 672 ompi/mca/topo/treematch/treematch/uthash.h uthash_free( tbl->buckets, tbl->num_buckets*sizeof(struct UT_hash_bucket) ); \ tbl 673 ompi/mca/topo/treematch/treematch/uthash.h tbl->num_buckets *= 2; \ tbl 674 ompi/mca/topo/treematch/treematch/uthash.h tbl->log2_num_buckets++; \ tbl 675 ompi/mca/topo/treematch/treematch/uthash.h tbl->buckets = _he_new_buckets; \ tbl 676 ompi/mca/topo/treematch/treematch/uthash.h tbl->ineff_expands = (tbl->nonideal_items > (tbl->num_items >> 1)) ? \ tbl 677 ompi/mca/topo/treematch/treematch/uthash.h (tbl->ineff_expands+1) : 0; \ tbl 678 ompi/mca/topo/treematch/treematch/uthash.h if (tbl->ineff_expands > 1) { \ tbl 679 ompi/mca/topo/treematch/treematch/uthash.h tbl->noexpand=1; \ tbl 680 ompi/mca/topo/treematch/treematch/uthash.h uthash_noexpand_fyi(tbl); \ tbl 682 ompi/mca/topo/treematch/treematch/uthash.h uthash_expand_fyi(tbl); \ tbl 712 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->hho)) : NULL); \ tbl 721 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->hho)) : NULL); \ tbl 727 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->hho)) : NULL); \ tbl 730 ompi/mca/topo/treematch/treematch/uthash.h cmpfcn(DECLTYPE(head)(ELMT_FROM_HH((head)->hh.tbl,_hs_p)), \ tbl 731 ompi/mca/topo/treematch/treematch/uthash.h DECLTYPE(head)(ELMT_FROM_HH((head)->hh.tbl,_hs_q))) \ tbl 736 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->hho)) : NULL); \ tbl 742 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->hho)) : NULL); \ tbl 747 ompi/mca/topo/treematch/treematch/uthash.h ELMT_FROM_HH((head)->hh.tbl,_hs_e) : NULL); \ tbl 752 ompi/mca/topo/treematch/treematch/uthash.h ELMT_FROM_HH((head)->hh.tbl,_hs_tail) : NULL); \ tbl 760 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->tail = _hs_tail; \ tbl 761 ompi/mca/topo/treematch/treematch/uthash.h DECLTYPE_ASSIGN(head,ELMT_FROM_HH((head)->hh.tbl, _hs_list)); \ tbl 781 ompi/mca/topo/treematch/treematch/uthash.h for(_src_bkt=0; _src_bkt < (src)->hh_src.tbl->num_buckets; _src_bkt++) { \ tbl 782 ompi/mca/topo/treematch/treematch/uthash.h for(_src_hh = (src)->hh_src.tbl->buckets[_src_bkt].hh_head; \ tbl 785 ompi/mca/topo/treematch/treematch/uthash.h _elt = ELMT_FROM_HH((src)->hh_src.tbl, _src_hh); \ tbl 798 ompi/mca/topo/treematch/treematch/uthash.h _dst_hh->tbl = (dst)->hh_dst.tbl; \ tbl 800 ompi/mca/topo/treematch/treematch/uthash.h HASH_TO_BKT(_dst_hh->hashv, _dst_hh->tbl->num_buckets, _dst_bkt); \ tbl 801 ompi/mca/topo/treematch/treematch/uthash.h HASH_ADD_TO_BKT(_dst_hh->tbl->buckets[_dst_bkt],_dst_hh); \ tbl 802 ompi/mca/topo/treematch/treematch/uthash.h (dst)->hh_dst.tbl->num_items++; \ tbl 815 ompi/mca/topo/treematch/treematch/uthash.h uthash_free((head)->hh.tbl->buckets, \ tbl 816 ompi/mca/topo/treematch/treematch/uthash.h (head)->hh.tbl->num_buckets*sizeof(struct UT_hash_bucket)); \ tbl 817 ompi/mca/topo/treematch/treematch/uthash.h HASH_BLOOM_FREE((head)->hh.tbl); \ tbl 818 ompi/mca/topo/treematch/treematch/uthash.h uthash_free((head)->hh.tbl, sizeof(UT_hash_table)); \ tbl 835 ompi/mca/topo/treematch/treematch/uthash.h #define HASH_CNT(hh,head) ((head)?((head)->hh.tbl->num_items):0) tbl 895 ompi/mca/topo/treematch/treematch/uthash.h struct UT_hash_table *tbl; tbl 31 opal/include/opal/sys/powerpc/timer.h unsigned int tbl, tbu0, tbu1; tbl 35 opal/include/opal/sys/powerpc/timer.h __asm__ __volatile__ ("mftb %0" : "=r"(tbl)); tbl 39 opal/include/opal/sys/powerpc/timer.h return (((unsigned long long)tbu0) << 32) | tbl; tbl 793 opal/mca/common/ucx/common_ucx_wpool.c _tlocal_tls_ctxtbl_extend(_tlocal_table_t *tbl, size_t append) tbl 796 opal/mca/common/ucx/common_ucx_wpool.c size_t newsize = (tbl->ctx_tbl_size + append); tbl 797 opal/mca/common/ucx/common_ucx_wpool.c tbl->ctx_tbl = realloc(tbl->ctx_tbl, newsize * sizeof(*tbl->ctx_tbl)); tbl 798 opal/mca/common/ucx/common_ucx_wpool.c for (i = tbl->ctx_tbl_size; i < newsize; i++) { tbl 799 opal/mca/common/ucx/common_ucx_wpool.c tbl->ctx_tbl[i] = calloc(1, sizeof(*tbl->ctx_tbl[i])); tbl 800 opal/mca/common/ucx/common_ucx_wpool.c if (NULL == tbl->ctx_tbl[i]) { tbl 805 opal/mca/common/ucx/common_ucx_wpool.c tbl->ctx_tbl_size = newsize; tbl 810 opal/mca/common/ucx/common_ucx_wpool.c _tlocal_tls_memtbl_extend(_tlocal_table_t *tbl, size_t append) tbl 813 opal/mca/common/ucx/common_ucx_wpool.c size_t newsize = (tbl->mem_tbl_size + append); tbl 815 opal/mca/common/ucx/common_ucx_wpool.c tbl->mem_tbl = realloc(tbl->mem_tbl, newsize * sizeof(*tbl->mem_tbl)); tbl 816 opal/mca/common/ucx/common_ucx_wpool.c for (i = tbl->mem_tbl_size; i < tbl->mem_tbl_size + append; i++) { tbl 817 opal/mca/common/ucx/common_ucx_wpool.c tbl->mem_tbl[i] = calloc(1, sizeof(*tbl->mem_tbl[i])); tbl 818 opal/mca/common/ucx/common_ucx_wpool.c if (NULL == tbl->mem_tbl[i]) { tbl 822 opal/mca/common/ucx/common_ucx_wpool.c tbl->mem_tbl_size = newsize; tbl 57 opal/mca/common/ucx/common_ucx_wpool_int.h static int _tlocal_tls_ctxtbl_extend(_tlocal_table_t *tbl, size_t append); tbl 58 opal/mca/common/ucx/common_ucx_wpool_int.h static int _tlocal_tls_memtbl_extend(_tlocal_table_t *tbl, size_t append); tbl 92 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h #define uthash_noexpand_fyi(tbl) /* can be defined to log noexpand */ tbl 95 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h #define uthash_expand_fyi(tbl) /* can be defined to log expands */ tbl 104 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h #define ELMT_FROM_HH(tbl,hhp) ((void*)(((char*)(hhp)) - ((tbl)->hho))) tbl 111 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h HASH_FCN(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt); \ tbl 112 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h if (HASH_BLOOM_TEST((head)->hh.tbl, _hf_hashv) != 0) { \ tbl 113 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], \ tbl 122 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h #define HASH_BLOOM_MAKE(tbl) \ tbl 124 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (tbl)->bloom_nbits = HASH_BLOOM; \ tbl 125 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (tbl)->bloom_bv = (uint8_t*)uthash_malloc(HASH_BLOOM_BYTELEN); \ tbl 126 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h if (!((tbl)->bloom_bv)) { uthash_fatal( "out of memory"); } \ tbl 127 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h memset((tbl)->bloom_bv, 0, HASH_BLOOM_BYTELEN); \ tbl 128 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (tbl)->bloom_sig = HASH_BLOOM_SIGNATURE; \ tbl 131 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h #define HASH_BLOOM_FREE(tbl) \ tbl 133 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h uthash_free((tbl)->bloom_bv, HASH_BLOOM_BYTELEN); \ tbl 139 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h #define HASH_BLOOM_ADD(tbl,hashv) \ tbl 140 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h HASH_BLOOM_BITSET((tbl)->bloom_bv, (hashv & (uint32_t)((1ULL << (tbl)->bloom_nbits) - 1U))) tbl 142 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h #define HASH_BLOOM_TEST(tbl,hashv) \ tbl 143 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h HASH_BLOOM_BITTEST((tbl)->bloom_bv, (hashv & (uint32_t)((1ULL << (tbl)->bloom_nbits) - 1U))) tbl 146 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h #define HASH_BLOOM_MAKE(tbl) tbl 147 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h #define HASH_BLOOM_FREE(tbl) tbl 148 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h #define HASH_BLOOM_ADD(tbl,hashv) tbl 149 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h #define HASH_BLOOM_TEST(tbl,hashv) (1) tbl 155 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl = (UT_hash_table*)uthash_malloc( \ tbl 157 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h if (!((head)->hh.tbl)) { uthash_fatal( "out of memory"); } \ tbl 158 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h memset((head)->hh.tbl, 0, sizeof(UT_hash_table)); \ tbl 159 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->tail = &((head)->hh); \ tbl 160 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->num_buckets = HASH_INITIAL_NUM_BUCKETS; \ tbl 161 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->log2_num_buckets = HASH_INITIAL_NUM_BUCKETS_LOG2; \ tbl 162 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->hho = (char*)(&(head)->hh) - (char*)(head); \ tbl 163 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->buckets = (UT_hash_bucket*)uthash_malloc( \ tbl 165 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h if (! (head)->hh.tbl->buckets) { uthash_fatal( "out of memory"); } \ tbl 166 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h memset((head)->hh.tbl->buckets, 0, \ tbl 168 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h HASH_BLOOM_MAKE((head)->hh.tbl); \ tbl 169 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->signature = HASH_SIGNATURE; \ tbl 196 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->tail->next = (add); \ tbl 197 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (add)->hh.prev = ELMT_FROM_HH((head)->hh.tbl, (head)->hh.tbl->tail); \ tbl 198 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->tail = &((add)->hh); \ tbl 200 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->num_items++; \ tbl 201 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (add)->hh.tbl = (head)->hh.tbl; \ tbl 202 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h HASH_FCN(keyptr,keylen_in, (head)->hh.tbl->num_buckets, \ tbl 204 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt],&(add)->hh); \ tbl 205 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h HASH_BLOOM_ADD((head)->hh.tbl,(add)->hh.hashv); \ tbl 231 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h uthash_free((head)->hh.tbl->buckets, \ tbl 232 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->num_buckets*sizeof(struct UT_hash_bucket) ); \ tbl 233 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h HASH_BLOOM_FREE((head)->hh.tbl); \ tbl 234 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h uthash_free((head)->hh.tbl, sizeof(UT_hash_table)); \ tbl 239 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h if ((delptr) == ELMT_FROM_HH((head)->hh.tbl,(head)->hh.tbl->tail)) { \ tbl 240 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->tail = \ tbl 242 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->hho); \ tbl 246 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->hho))->next = (delptr)->hh.next; \ tbl 252 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->hho))->prev = \ tbl 255 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h HASH_TO_BKT( _hd_hh_del->hashv, (head)->hh.tbl->num_buckets, _hd_bkt); \ tbl 256 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h HASH_DEL_IN_BKT(hh,(head)->hh.tbl->buckets[_hd_bkt], _hd_hh_del); \ tbl 257 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->num_items--; \ tbl 298 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h for( _bkt_i = 0; _bkt_i < (head)->hh.tbl->num_buckets; _bkt_i++) { \ tbl 300 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h _thh = (head)->hh.tbl->buckets[_bkt_i].hh_head; \ tbl 312 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h if ((head)->hh.tbl->buckets[_bkt_i].count != _bkt_count) { \ tbl 314 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->buckets[_bkt_i].count, _bkt_count); \ tbl 317 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h if (_count != (head)->hh.tbl->num_items) { \ tbl 319 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->num_items, _count ); \ tbl 331 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h _prev = (char*)ELMT_FROM_HH((head)->hh.tbl, _thh); \ tbl 333 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->hho) : NULL ); \ tbl 335 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h if (_count != (head)->hh.tbl->num_items) { \ tbl 337 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->num_items, _count ); \ tbl 614 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h #define HASH_FIND_IN_BKT(tbl,hh,head,keyptr,keylen_in,out) \ tbl 616 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h if (head.hh_head != NULL) { DECLTYPE_ASSIGN(out,ELMT_FROM_HH(tbl,head.hh_head)); } \ tbl 622 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h if ((out)->hh.hh_next != NULL) { DECLTYPE_ASSIGN(out,ELMT_FROM_HH(tbl,(out)->hh.hh_next)); } \ tbl 636 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h && ((addhh)->tbl->noexpand != 1U)) { \ tbl 637 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h HASH_EXPAND_BUCKETS((addhh)->tbl); \ tbl 683 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h #define HASH_EXPAND_BUCKETS(tbl) \ tbl 690 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h 2UL * tbl->num_buckets * sizeof(struct UT_hash_bucket)); \ tbl 693 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h 2UL * tbl->num_buckets * sizeof(struct UT_hash_bucket)); \ tbl 694 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h tbl->ideal_chain_maxlen = \ tbl 695 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (tbl->num_items >> (tbl->log2_num_buckets+1U)) + \ tbl 696 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (((tbl->num_items & ((tbl->num_buckets*2U)-1U)) != 0U) ? 1U : 0U); \ tbl 697 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h tbl->nonideal_items = 0; \ tbl 698 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h for(_he_bkt_i = 0; _he_bkt_i < tbl->num_buckets; _he_bkt_i++) \ tbl 700 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h _he_thh = tbl->buckets[ _he_bkt_i ].hh_head; \ tbl 703 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h HASH_TO_BKT( _he_thh->hashv, tbl->num_buckets*2U, _he_bkt); \ tbl 705 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h if (++(_he_newbkt->count) > tbl->ideal_chain_maxlen) { \ tbl 706 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h tbl->nonideal_items++; \ tbl 708 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h tbl->ideal_chain_maxlen; \ tbl 718 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h uthash_free( tbl->buckets, tbl->num_buckets*sizeof(struct UT_hash_bucket) ); \ tbl 719 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h tbl->num_buckets *= 2U; \ tbl 720 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h tbl->log2_num_buckets++; \ tbl 721 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h tbl->buckets = _he_new_buckets; \ tbl 722 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h tbl->ineff_expands = (tbl->nonideal_items > (tbl->num_items >> 1)) ? \ tbl 723 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (tbl->ineff_expands+1U) : 0U; \ tbl 724 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h if (tbl->ineff_expands > 1U) { \ tbl 725 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h tbl->noexpand=1; \ tbl 726 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h uthash_noexpand_fyi(tbl); \ tbl 728 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h uthash_expand_fyi(tbl); \ tbl 758 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->hho)) : NULL); \ tbl 767 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->hho)) : NULL); \ tbl 774 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->hho)) : NULL); \ tbl 778 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h cmpfcn(DECLTYPE(head)(ELMT_FROM_HH((head)->hh.tbl,_hs_p)), \ tbl 779 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h DECLTYPE(head)(ELMT_FROM_HH((head)->hh.tbl,_hs_q))) \ tbl 785 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->hho)) : NULL); \ tbl 792 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->hho)) : NULL); \ tbl 797 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h ELMT_FROM_HH((head)->hh.tbl,_hs_e) : NULL); \ tbl 803 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h ELMT_FROM_HH((head)->hh.tbl,_hs_tail) : NULL); \ tbl 814 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->tail = _hs_tail; \ tbl 815 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h DECLTYPE_ASSIGN(head,ELMT_FROM_HH((head)->hh.tbl, _hs_list)); \ tbl 835 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h for(_src_bkt=0; _src_bkt < (src)->hh_src.tbl->num_buckets; _src_bkt++) { \ tbl 836 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h for(_src_hh = (src)->hh_src.tbl->buckets[_src_bkt].hh_head; \ tbl 839 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h _elt = ELMT_FROM_HH((src)->hh_src.tbl, _src_hh); \ tbl 852 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h _dst_hh->tbl = (dst)->hh_dst.tbl; \ tbl 854 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h HASH_TO_BKT(_dst_hh->hashv, _dst_hh->tbl->num_buckets, _dst_bkt); \ tbl 855 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h HASH_ADD_TO_BKT(_dst_hh->tbl->buckets[_dst_bkt],_dst_hh); \ tbl 856 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (dst)->hh_dst.tbl->num_items++; \ tbl 869 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h uthash_free((head)->hh.tbl->buckets, \ tbl 870 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (head)->hh.tbl->num_buckets*sizeof(struct UT_hash_bucket)); \ tbl 871 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h HASH_BLOOM_FREE((head)->hh.tbl); \ tbl 872 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h uthash_free((head)->hh.tbl, sizeof(UT_hash_table)); \ tbl 879 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h (size_t)(((head)->hh.tbl->num_items * sizeof(UT_hash_handle)) + \ tbl 880 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h ((head)->hh.tbl->num_buckets * sizeof(UT_hash_bucket)) + \ tbl 896 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h #define HASH_CNT(hh,head) ((head != NULL)?((head)->hh.tbl->num_items):0U) tbl 956 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h struct UT_hash_table *tbl; tbl 31 opal/mca/pmix/pmix4x/pmix/src/atomics/sys/powerpc/timer.h unsigned int tbl, tbu0, tbu1; tbl 35 opal/mca/pmix/pmix4x/pmix/src/atomics/sys/powerpc/timer.h __asm__ __volatile__ ("mftb %0" : "=r"(tbl)); tbl 39 opal/mca/pmix/pmix4x/pmix/src/atomics/sys/powerpc/timer.h return (((unsigned long long)tbu0) << 32) | tbl;