Searched refs:TABLE_SIZE (Results 1 – 12 of 12) sorted by relevance
54 #define TABLE_SIZE 0x40 macro61 static unsigned char encode_table[TABLE_SIZE];137 for (i = 0; i < TABLE_SIZE; i++) in main()
54 #define TABLE_SIZE 0x40 macro218 for (i = 0; i <= TABLE_SIZE; i++) in main()
35 static hash_obj_t *hash_table[TABLE_SIZE];43 for (count = 0; count < TABLE_SIZE; count++) { in initialize_raw_access()56 index_to_hash = (handle % TABLE_SIZE); in lookup_handle_object()79 index_to_hash = ((hash_obj->obj_hdl) % TABLE_SIZE); in add_hashobject_to_hashtable()272 hash_table[(free_obj->obj_hdl % TABLE_SIZE)] = in free_pkt_object_list()318 hash_table[(seg_hash->obj_hdl % TABLE_SIZE)] = seg_hash->next; in free_segment_hash()1187 hash_table[(sec_hash_obj->obj_hdl % TABLE_SIZE)] = in fru_close_container()1208 hash_table[(hash_obj->obj_hdl % TABLE_SIZE)] = in fru_close_container()
56 #define TABLE_SIZE 64 /* hash table size */ macro
49 static container_tbl_t *container_table[TABLE_SIZE];162 index_to_hash = (parenthdl % TABLE_SIZE); in lookup_container_table()220 index_to_hash = (nodehdl % TABLE_SIZE); in lookup_node_object()245 index_to_hash = ((cont_tbl->picl_hdl) % TABLE_SIZE); in add_tblobject_to_container_tbl()253 for (cnt = 0; cnt < TABLE_SIZE; cnt++) { in add_tblobject_to_container_tbl()269 index_to_hash = ((hash_obj->picl_hdl) % TABLE_SIZE); in add_nodeobject_to_hashtable()292 cont_tbl->hash_obj = malloc(sizeof (hash_obj_t[TABLE_SIZE])); in alloc_container_table()541 TABLE_SIZE)].next = free_obj->next; in free_packet_list()598 cont_tbl->hash_obj[(next_obj->picl_hdl % TABLE_SIZE)].next = in free_segment_node()2063 cont_tbl->hash_obj[(sec_hash->picl_hdl % TABLE_SIZE)].next = in free_section_node()[all …]
46 #define TABLE_SIZE 64 /* hash table size */ macro
41 #define TABLE_SIZE 11 macro
44 return (a % TABLE_SIZE); in ht_hash()
80 static ht_node_t proto_table[TABLE_SIZE]; /* protocol table */81 static ht_node_t uid_table[TABLE_SIZE]; /* IPGPC_UID table */82 static ht_node_t projid_table[TABLE_SIZE]; /* IPGPC_PROJID table */83 static ht_node_t if_table[TABLE_SIZE]; /* Interface ID table */84 static ht_node_t dir_table[TABLE_SIZE]; /* packet direction table */
58 #define TABLE_SIZE 64 /* hash table size */ macro
32 static hash_obj_t *hash_table[TABLE_SIZE];47 for (count = 0; count < TABLE_SIZE; count++) { in initialize_fruaccess()64 index_to_hash = (handle % TABLE_SIZE); in lookup_handle_object()206 index_to_hash = ((hash_obj->obj_hdl) % TABLE_SIZE); in add_hashobject_to_hashtable()1485 hash_table[(free_obj->obj_hdl % TABLE_SIZE)] = in free_pkt_object_list()1530 hash_table[(seg_hash->obj_hdl % TABLE_SIZE)] = seg_hash->next; in free_segment_hash()2584 hash_table[(pkt_hash->obj_hdl % TABLE_SIZE)] = pkt_hash->next; in free_packet_object()2779 hash_table[(sec_hash_obj->obj_hdl % TABLE_SIZE)] = in fru_close_container()2801 hash_table[(hash_obj->obj_hdl % TABLE_SIZE)] = hash_obj->next; in fru_close_container()
413 #define TABLE_SIZE 512 macro418 static file_list_t *exclude_tbl[TABLE_SIZE],419 *include_tbl[TABLE_SIZE];5615 return (h % TABLE_SIZE); in hash()