| /src/external/lgpl2/userspace-rcu/dist/doc/examples/rculfhash/ |
| cds_lfht_add_replace.c | 33 int match(struct cds_lfht_node *ht_node, const void *_key) 36 caa_container_of(ht_node, struct mynode, node); 58 struct cds_lfht_node *ht_node; local 106 ht_node = cds_lfht_add_replace(ht, hash, match, &value, 108 if (ht_node) { 110 caa_container_of(ht_node, struct mynode, node);
|
| cds_lfht_lookup.c | 29 int match(struct cds_lfht_node *ht_node, const void *_key) 32 caa_container_of(ht_node, struct mynode, node); 47 struct cds_lfht_node *ht_node; local 126 ht_node = cds_lfht_iter_get_node(&iter); 127 if (!ht_node) { 130 node = caa_container_of(ht_node, struct mynode, node);
|
| cds_lfht_del.c | 29 int match(struct cds_lfht_node *ht_node, const void *_key) 32 caa_container_of(ht_node, struct mynode, node); 55 struct cds_lfht_node *ht_node; local 132 ht_node = cds_lfht_iter_get_node(&iter); 133 if (ht_node) { 134 ret = cds_lfht_del(ht, ht_node); 139 caa_container_of(ht_node,
|
| cds_lfht_add_unique.c | 30 int match(struct cds_lfht_node *ht_node, const void *_key) 33 caa_container_of(ht_node, struct mynode, node); 47 struct cds_lfht_node *ht_node; local 95 ht_node = cds_lfht_add_unique(ht, hash, match, &value, 102 if (ht_node != &node->node) {
|
| cds_lfht_destroy.c | 45 struct cds_lfht_node *ht_node; local 116 ht_node = cds_lfht_iter_get_node(&iter); 117 ret = cds_lfht_del(ht, ht_node);
|
| cds_lfht_for_each_entry_duplicate.c | 29 int match(struct cds_lfht_node *ht_node, const void *_key) 32 caa_container_of(ht_node, struct mynode, node);
|
| /src/external/gpl3/gcc.old/dist/gcc/ |
| stringpool.cc | 95 hashnode ht_node = ht_lookup (ident_hash, local 99 /* ht_node can't be NULL here. */ 100 return HT_IDENT_TO_GCC_IDENT (ht_node); 109 hashnode ht_node = ht_lookup (ident_hash, local 113 /* ht_node can't be NULL here. */ 114 return HT_IDENT_TO_GCC_IDENT (ht_node); 124 hashnode ht_node; local 126 ht_node = ht_lookup (ident_hash, (const unsigned char *) text, 128 if (ht_node) 129 return HT_IDENT_TO_GCC_IDENT (ht_node); [all...] |
| /src/external/gpl3/gcc/dist/gcc/ |
| stringpool.cc | 66 return HT_NODE (ggc_cleared_alloc<cpp_hashnode_extra> ()); 107 hashnode ht_node = ht_lookup (ident_hash, local 111 /* ht_node can't be NULL here. */ 112 return HT_IDENT_TO_GCC_IDENT (ht_node); 121 hashnode ht_node = ht_lookup (ident_hash, local 125 /* ht_node can't be NULL here. */ 126 return HT_IDENT_TO_GCC_IDENT (ht_node); 136 hashnode ht_node; local 138 ht_node = ht_lookup (ident_hash, (const unsigned char *) text, 140 if (ht_node) [all...] |
| /src/external/mpl/bind/dist/lib/dns/ |
| badcache.c | 67 struct cds_lfht_node ht_node; member in struct:dns_bcentry 114 cds_lfht_for_each_entry(bc->ht, &iter, bad, ht_node) { 115 INSIST(!cds_lfht_del(bc->ht, &bad->ht_node)); 126 bcentry_match(struct cds_lfht_node *ht_node, const void *key0) { 128 dns_bcentry_t *bad = caa_container_of(ht_node, dns_bcentry_t, ht_node); 150 ht_node); 183 if (!cds_lfht_del(bc->ht, &bad->ht_node)) { 198 if (cds_lfht_is_node_deleted(&bad->ht_node)) { 256 struct cds_lfht_node *ht_node; local [all...] |
| db.c | 1035 ht_node) { 1036 if (!cds_lfht_is_node_deleted(&listener->ht_node)) { 1052 updatenotify_match(struct cds_lfht_node *ht_node, const void *_key) { 1054 caa_container_of(ht_node, dns_dbonupdatelistener_t, ht_node); 1083 struct cds_lfht_node *ht_node = local 1085 &key, &listener->ht_node); 1088 if (ht_node != &listener->ht_node) { 1110 struct cds_lfht_node *ht_node = cds_lfht_iter_get_node(&iter) local [all...] |
| dispatch.c | 116 struct cds_lfht_node ht_node; member in struct:dns_dispentry 148 struct cds_lfht_node ht_node; member in struct:dns_dispatch 407 caa_container_of(node, dns_dispentry_t, ht_node); 1218 dns_dispatch_t *disp = caa_container_of(node, dns_dispatch_t, ht_node); 1252 ht_node) { 1343 &disp->ht_node); 1484 (void)cds_lfht_del(mgr->tcps[tid], &disp->ht_node); 1601 resp, &resp->ht_node); 1603 if (node != &resp->ht_node) { 1648 (void)cds_lfht_del(disp->mgr->tcps[isc_tid()], &disp->ht_node); [all...] |
| /src/external/mpl/bind/dist/tests/bench/ |
| load-names.c | 42 struct cds_lfht_node ht_node; member in struct:item_s 114 lfht_match(struct cds_lfht_node *ht_node, const void *_key) { 115 const struct item_s *i = caa_container_of(ht_node, struct item_s, 116 ht_node); 126 struct cds_lfht_node *ht_node = cds_lfht_add_unique( local 128 &item[count].ht_node); 130 if (ht_node != &item[count].ht_node) { 144 struct cds_lfht_node *ht_node = cds_lfht_iter_get_node(&iter); local 145 if (ht_node == NULL) [all...] |
| /src/external/mpl/bind/dist/lib/dns/include/dns/ |
| db.h | 241 struct cds_lfht_node ht_node; member in struct:dns_dbonupdatelistener
|