| /openbsd-src/sbin/unwind/libunbound/util/storage/ |
| H A D | lruhash.c | 67 struct lruhash* table = (struct lruhash*)calloc(1, in lruhash_create() local 99 bin_delete(struct lruhash* table, struct lruhash_bin* bin) in bin_delete() 118 bin_split(struct lruhash* table, struct lruhash_bin* newa, in bin_split() 154 lruhash_delete(struct lruhash* table) in lruhash_delete() 183 reclaim_space(struct lruhash* table, struct lruhash_entry** list) in reclaim_space() 219 bin_find_entry(struct lruhash* table, in bin_find_entry() 236 table_grow(struct lruhash* table) in table_grow() 271 lru_front(struct lruhash* table, struct lruhash_entry* entry) in lru_front() 282 lru_remove(struct lruhash* table, struct lruhash_entry* entry) in lru_remove() 293 lru_touch(struct lruhash* table, struct lruhash_entry* entry) in lru_touch() [all …]
|
| /openbsd-src/usr.sbin/unbound/util/storage/ |
| H A D | lruhash.c | 67 struct lruhash* table = (struct lruhash*)calloc(1, in lruhash_create() local 99 bin_delete(struct lruhash* table, struct lruhash_bin* bin) in bin_delete() 118 bin_split(struct lruhash* table, struct lruhash_bin* newa, in bin_split() 154 lruhash_delete(struct lruhash* table) in lruhash_delete() 183 reclaim_space(struct lruhash* table, struct lruhash_entry** list) in reclaim_space() 219 bin_find_entry(struct lruhash* table, in bin_find_entry() 236 table_grow(struct lruhash* table) in table_grow() 271 lru_front(struct lruhash* table, struct lruhash_entry* entry) in lru_front() 282 lru_remove(struct lruhash* table, struct lruhash_entry* entry) in lru_remove() 293 lru_touch(struct lruhash* table, struct lruhash_entry* entry) in lru_touch() [all …]
|
| /openbsd-src/usr.sbin/unbound/testcode/ |
| H A D | unitslabhash.c | 83 test_short_table(struct slabhash* table) in test_short_table() 109 testadd(struct slabhash* table, testdata_type* ref[]) in testadd() 121 testremove(struct slabhash* table, testdata_type* ref[]) in testremove() 132 testlookup(struct slabhash* table, testdata_type* ref[]) in testlookup() 151 check_lru_table(struct lruhash* table) in check_lru_table() 187 check_table(struct slabhash* table) in check_table() 196 testadd_unlim(struct slabhash* table, testdata_type** ref) in testadd_unlim() 209 testremove_unlim(struct slabhash* table, testdata_type** ref) in testremove_unlim() 221 testlookup_unlim(struct slabhash* table, testdata_type** ref) in testlookup_unlim() 243 test_long_table(struct slabhash* table) in test_long_table() [all …]
|
| H A D | unitlruhash.c | 81 test_bin_find_entry(struct lruhash* table) in test_bin_find_entry() 162 static void test_lru(struct lruhash* table) in test_lru() 209 test_short_table(struct lruhash* table) in test_short_table() 235 testadd(struct lruhash* table, testdata_type* ref[]) in testadd() 247 testremove(struct lruhash* table, testdata_type* ref[]) in testremove() 258 testlookup(struct lruhash* table, testdata_type* ref[]) in testlookup() 277 check_table(struct lruhash* table) in check_table() 313 testadd_unlim(struct lruhash* table, testdata_type** ref) in testadd_unlim() 326 testremove_unlim(struct lruhash* table, testdata_type** ref) in testremove_unlim() 338 testlookup_unlim(struct lruhash* table, testdata_type** ref) in testlookup_unlim() [all …]
|
| /openbsd-src/usr.bin/tmux/ |
| H A D | key-bindings.c | 105 struct key_table table_find, *table; in key_bindings_get_table() local 130 key_bindings_next_table(struct key_table * table) key_bindings_next_table() argument 136 key_bindings_unref_table(struct key_table * table) key_bindings_unref_table() argument 158 key_bindings_get(struct key_table * table,key_code key) key_bindings_get() argument 167 key_bindings_get_default(struct key_table * table,key_code key) key_bindings_get_default() argument 176 key_bindings_first(struct key_table * table) key_bindings_first() argument 182 key_bindings_next(__unused struct key_table * table,struct key_binding * bd) key_bindings_next() argument 191 struct key_table *table; key_bindings_add() local 232 struct key_table *table; key_bindings_remove() local 259 struct key_table *table; key_bindings_reset() local 291 struct key_table *table; key_bindings_remove_table() local 308 struct key_table *table; key_bindings_reset_table() local 325 struct key_table *table; key_bindings_init_done() local [all...] |
| /openbsd-src/sys/dev/pci/drm/include/linux/ |
| H A D | hashtable.h | 27 __hash_init(struct hlist_head *table, u_int size) in __hash_init() 36 __hash_empty(struct hlist_head *table, u_int size) in __hash_empty() 48 #define __hash(table, key) &table[key % (nitems(table) - 1)] argument 50 #define hash_init(table) __hash_init(table, nitems(table)) argument 51 #define hash_add(table, node, key) \ argument 54 #define hash_empty(table) __hash_empty(table, nitems(table)) argument 55 #define hash_for_each_possible(table, obj, member, key) \ argument 57 #define hash_for_each_safe(table, i, tmp, obj, member) \ argument
|
| /openbsd-src/gnu/usr.bin/binutils/bfd/ |
| H A D | hash.c | 303 bfd_hash_table_init_n (table, newfunc, size) in bfd_hash_table_init_n() argument 336 bfd_hash_table_init (table, newfunc) in bfd_hash_table_init() argument 348 bfd_hash_table_free (table) in bfd_hash_table_free() argument 358 bfd_hash_lookup (table, string, create, copy) in bfd_hash_lookup() argument 424 bfd_hash_replace (table, old, nw) in bfd_hash_replace() argument 450 bfd_hash_newfunc (entry, table, string) in bfd_hash_newfunc() argument 464 bfd_hash_allocate (table, size) in bfd_hash_allocate() argument 479 bfd_hash_traverse (table, func, info) in bfd_hash_traverse() argument 525 struct bfd_hash_table table; member 543 strtab_hash_newfunc (entry, table, string) in strtab_hash_newfunc() argument [all …]
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/bfd/ |
| H A D | hash.c | 307 bfd_hash_table_init_n (struct bfd_hash_table *table, in bfd_hash_table_init_n() 340 bfd_hash_table_init (struct bfd_hash_table *table, in bfd_hash_table_init() 353 bfd_hash_table_free (struct bfd_hash_table *table) in bfd_hash_table_free() 362 bfd_hash_lookup (struct bfd_hash_table *table, in bfd_hash_lookup() 426 bfd_hash_replace (struct bfd_hash_table *table, in bfd_hash_replace() 451 bfd_hash_allocate (struct bfd_hash_table *table, in bfd_hash_allocate() 466 struct bfd_hash_table *table, in bfd_hash_newfunc() 477 bfd_hash_traverse (struct bfd_hash_table *table, in bfd_hash_traverse() 538 struct bfd_hash_table table; member 554 struct bfd_hash_table *table, in strtab_hash_newfunc() [all …]
|
| /openbsd-src/usr.sbin/smtpd/ |
| H A D | table_proc.c | 46 table_proc_nextid(struct table *table) in table_proc_nextid() 59 table_proc_send(struct table *table, const char *type, int service, in table_proc_send() 83 table_proc_recv(struct table *table, const char *type) in table_proc_recv() 123 table_proc_open(struct table *table) in table_proc_open() 182 table_proc_update(struct table *table) in table_proc_update() 205 table_proc_close(struct table *table) in table_proc_close() 220 table_proc_lookup(struct table *table, enum table_service s, const char *k, char **dst) in table_proc_lookup() 269 table_proc_fetch(struct table *table, enum table_service s, char **dst) in table_proc_fetch()
|
| H A D | ruleset.c | 30 struct table *table; in ruleset_match_tag() local 51 struct table *table; in ruleset_match_from() local 95 struct table *table; in ruleset_match_to() local 114 struct table *table; in ruleset_match_smtp_helo() local 143 struct table *table; in ruleset_match_smtp_auth() local 172 struct table *table; in ruleset_match_smtp_mail_from() local 195 struct table *table; in ruleset_match_smtp_rcpt_to() local
|
| H A D | table_db.c | 76 table_db_config(struct table *table) in table_db_config() 89 table_db_update(struct table *table) in table_db_update() 103 table_db_open(struct table *table) in table_db_open() 112 table_db_close(struct table *table) in table_db_close() 119 table_db_open2(struct table *table) in table_db_open2() 155 table_db_lookup(struct table *table, enum table_service service, const char *key, in table_db_lookup() 196 table_db_fetch(struct table *table, enum table_service service, char **dst) in table_db_fetch()
|
| H A D | table_static.c | 188 table_static_add(struct table *table, const char *key, const char *val) in table_static_add() 217 table_static_dump(struct table *table) in table_static_dump() 234 table_static_update(struct table *table) in table_static_update() 246 table_static_open(struct table *table) in table_static_open() 254 table_static_close(struct table *table) in table_static_close() 264 table_static_lookup(struct table *table, enum table_service service, const char *key, in table_static_lookup()
|
| /openbsd-src/sys/netinet/ |
| H A D | in_pcb.c | 150 in_pcbhash(struct inpcbtable *table, u_int rdomain, in in_pcbhash() argument 167 in_pcblhash(struct inpcbtable *table, u_int rdomain, u_short lport) in in_pcblhash() argument 179 in_pcbinit(struct inpcbtable *table, int hashsize) in in_pcbinit() argument 231 in_pcballoc(struct socket * so,struct inpcbtable * table,int wait) in_pcballoc() argument 352 struct inpcbtable *table = inp->inp_table; in_pcbbind() local 368 struct inpcbtable *table = inp->inp_table; in_pcbaddrisavail_lock() local 446 struct inpcbtable *table = inp->inp_table; in_pcbpickport() local 507 struct inpcbtable *table = inp->inp_table; in_pcbconnect() local 585 struct inpcbtable *table = inp->inp_table; in_pcbdetach() local 720 in_pcbnotifyall(struct inpcbtable * table,const struct sockaddr_in * dst,u_int rtable,int errno,void (* notify)(struct inpcb *,int)) in_pcbnotifyall() argument 821 in_pcblookup_local_lock(struct inpcbtable * table,const void * laddrp,u_int lport_arg,int flags,u_int rtable,int lock) in_pcblookup_local_lock() argument 1014 struct inpcbtable *table = inp->inp_table; in_pcbhash_insert() local 1038 in_pcbhash_lookup(struct inpcbtable * table,uint64_t hash,u_int rdomain,const struct in_addr * faddr,u_short fport,const struct in_addr * laddr,u_short lport) in_pcbhash_lookup() argument 1073 in_pcbresize(struct inpcbtable * table,int hashsize) in_pcbresize() argument 1125 in_pcblookup_lock(struct inpcbtable * table,struct in_addr faddr,u_int fport,struct in_addr laddr,u_int lport,u_int rtable,int lock) in_pcblookup_lock() argument 1159 in_pcblookup(struct inpcbtable * table,struct in_addr faddr,u_int fport,struct in_addr laddr,u_int lport,u_int rtable) in_pcblookup() argument 1174 in_pcblookup_listen(struct inpcbtable * table,struct in_addr laddr,u_int lport_arg,struct mbuf * m,u_int rtable) in_pcblookup_listen() argument 1243 struct inpcbtable *table = inp->inp_table; in_pcbset_rtableid() local 1264 struct inpcbtable *table = inp->inp_table; in_pcbset_laddr() local 1293 struct inpcbtable *table = inp->inp_table; in_pcbunset_faddr() local 1310 struct inpcbtable *table = inp->inp_table; in_pcbunset_laddr() local [all...] |
| /openbsd-src/gnu/gcc/libcpp/ |
| H A D | symtab.c | 57 hash_table *table; in ht_create() local 77 ht_destroy (hash_table *table) in ht_destroy() 94 ht_lookup (hash_table *table, const unsigned char *str, size_t len, in ht_lookup() 102 ht_lookup_with_hash (hash_table *table, const unsigned char *str, in ht_lookup_with_hash() 179 ht_expand (hash_table *table) in ht_expand() 221 ht_forall (hash_table *table, ht_cb cb, const void *v) in ht_forall() 253 ht_dump_statistics (hash_table *table) in ht_dump_statistics()
|
| /openbsd-src/usr.sbin/nsd/ |
| H A D | namedb.c | 24 allocate_domain_info(domain_table_type* table, in allocate_domain_info() 65 allocate_domain_nsec3(domain_table_type* table, domain_type* result) in allocate_domain_nsec3() 86 numlist_make_last(domain_table_type* table, domain_type* domain) in numlist_make_last() 127 numlist_pop_last(domain_table_type* table) in numlist_pop_last() 153 int domain_is_prehash(domain_table_type* table, domain_type* domain) in domain_is_prehash() 173 void prehash_clear(domain_table_type* table) in prehash_clear() 187 prehash_add(domain_table_type* table, domain_type* domain) in prehash_add() 200 prehash_del(domain_table_type* table, domain_type* domain) in prehash_del() 366 domain_table_search(domain_table_type *table, in domain_table_search() 405 domain_table_find(domain_table_type* table, in domain_table_find() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/gas/ |
| H A D | hash.c | 54 struct hash_entry **table; member 138 hash_die (struct hash_control *table) in hash_die() 154 hash_lookup (struct hash_control *table, const char *key, size_t len, in hash_lookup() 226 hash_insert (struct hash_control *table, const char *key, PTR value) in hash_insert() 256 hash_jam (struct hash_control *table, const char *key, PTR value) in hash_jam() 294 hash_replace (struct hash_control *table, const char *key, PTR value) in hash_replace() 318 hash_find (struct hash_control *table, const char *key) in hash_find() 333 hash_find_n (struct hash_control *table, const char *key, size_t len) in hash_find_n() 348 hash_delete (struct hash_control *table, const char *key) in hash_delete() 377 hash_traverse (struct hash_control *table, in hash_traverse()
|
| /openbsd-src/gnu/usr.bin/binutils/gas/ |
| H A D | hash.c | 58 struct hash_entry **table; member 108 hash_die (struct hash_control *table) in hash_die() 129 hash_lookup (struct hash_control *table, const char *key, in hash_lookup() 204 hash_insert (struct hash_control *table, const char *key, PTR value) in hash_insert() 234 hash_jam (struct hash_control *table, const char *key, PTR value) in hash_jam() 272 hash_replace (struct hash_control *table, const char *key, PTR value) in hash_replace() 296 hash_find (struct hash_control *table, const char *key) in hash_find() 311 hash_delete (struct hash_control *table, const char *key) in hash_delete() 340 hash_traverse (struct hash_control *table, in hash_traverse()
|
| /openbsd-src/sys/dev/pci/drm/radeon/ |
| H A D | mkregtable.c | 111 struct table { struct 115 unsigned *table; argument 131 static void table_offset_add(struct table *t, struct offset *offset) in table_offset_add() argument
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/ |
| H A D | hashtable.c | 83 hash_table *table; local 100 ht_destroy (table) in ht_destroy() argument 117 ht_lookup (table, str, len, insert) in ht_lookup() argument 181 ht_expand (table) in ht_expand() argument 223 ht_forall (table, cb, v) in ht_forall() argument 244 ht_dump_statistics (table) in ht_dump_statistics() argument
|
| /openbsd-src/sys/netinet6/ |
| H A D | in6_pcb.c | 136 in6_pcbhash(struct inpcbtable *table, u_int rdomain, in in6_pcbhash() argument 157 struct inpcbtable *table = inp->inp_table; in in6_pcbaddrisavail_lock() local 260 struct inpcbtable *table = inp->inp_table; in in6_pcbconnect() local 426 in6_pcbnotify(struct inpcbtable * table,const struct sockaddr_in6 * dst,uint fport_arg,const struct sockaddr_in6 * src,uint lport_arg,u_int rtable,int cmd,void * cmdarg,void (* notify)(struct inpcb *,int)) in6_pcbnotify() argument 570 in6_pcbhash_lookup(struct inpcbtable * table,uint64_t hash,u_int rdomain,const struct in6_addr * faddr,u_short fport,const struct in6_addr * laddr,u_short lport) in6_pcbhash_lookup() argument 606 in6_pcblookup_lock(struct inpcbtable * table,const struct in6_addr * faddr,u_int fport,const struct in6_addr * laddr,u_int lport,u_int rtable,int lock) in6_pcblookup_lock() argument 640 in6_pcblookup(struct inpcbtable * table,const struct in6_addr * faddr,u_int fport,const struct in6_addr * laddr,u_int lport,u_int rtable) in6_pcblookup() argument 648 in6_pcblookup_listen(struct inpcbtable * table,struct in6_addr * laddr,u_int lport,struct mbuf * m,u_int rtable) in6_pcblookup_listen() argument [all...] |
| /openbsd-src/sys/dev/pci/drm/i915/gt/ |
| H A D | intel_mocs.c | 25 const struct drm_i915_mocs_entry *table; member 491 struct drm_i915_mocs_table *table) in get_mocs_settings() 591 static u32 get_entry_control(const struct drm_i915_mocs_table *table, in get_entry_control() 605 const struct drm_i915_mocs_table *table, in __init_mocs_table() 633 const struct drm_i915_mocs_table *table) in init_mocs_table() 643 static u16 get_entry_l3cc(const struct drm_i915_mocs_table *table, in get_entry_l3cc() 665 const struct drm_i915_mocs_table *table) in init_l3cc_table() 682 struct drm_i915_mocs_table table; in intel_mocs_init_engine() local 707 struct drm_i915_mocs_table table; in intel_set_mocs_index() local 717 struct drm_i915_mocs_table table; in intel_mocs_init() local
|
| /openbsd-src/usr.sbin/relayd/ |
| H A D | hce.c | 80 struct table *table; in hce_setup_events() local 105 struct table *table; in hce_disable_events() local 132 struct table *table; in hce_launch_checks() local 196 struct table *table; in hce_notify_done() local 289 struct table *table; in hce_dispatch_pfe() local
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | frame-unwind.c | 48 struct frame_unwind_table *table in frame_unwind_init() local 63 struct frame_unwind_table *table = gdbarch_data (gdbarch, frame_unwind_data); in frame_unwind_append_sniffer() local 76 struct frame_unwind_table *table = gdbarch_data (gdbarch, frame_unwind_data); in frame_unwind_prepend_unwinder() local 91 struct frame_unwind_table *table = gdbarch_data (gdbarch, frame_unwind_data); in frame_unwind_find_by_frame() local
|
| H A D | frame-base.c | 76 struct frame_base_table *table in frame_base_init() local 87 struct frame_base_table *table = gdbarch_data (gdbarch, frame_base_data); in frame_base_append_sniffer() local 97 struct frame_base_table *table = gdbarch_data (gdbarch, frame_base_data); in frame_base_set_default() local 105 struct frame_base_table *table = gdbarch_data (gdbarch, frame_base_data); in frame_base_find_by_frame() local
|
| /openbsd-src/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/ |
| H A D | smu_helper.c | 53 uint32_t *table; in phm_copy_clock_limits_array() local 75 uint32_t *table; in phm_copy_overdrive_settings_limits_array() local 209 struct pp_atomctrl_voltage_table *table; in phm_trim_voltage_table() local 346 int phm_reset_single_dpm_table(void *table, in phm_reset_single_dpm_table() 362 void *table, in phm_setup_pcie_table_entry() 372 int32_t phm_get_dpm_level_enable_mask_value(void *table) in phm_get_dpm_level_enable_mask_value() 443 int phm_find_boot_level(void *table, in phm_find_boot_level() 549 struct phm_clock_voltage_dependency_table *table = in phm_apply_dal_min_voltage_request() local 674 void *smu_atom_get_data_table(void *dev, uint32_t table, uint16_t *size, in smu_atom_get_data_table() 719 struct watermarks *table = wt_table; in smu_set_watermarks_for_clocks_ranges() local
|