Searched refs:TABLE_SIZE (Results 1 – 16 of 16) 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()
56 #define TABLE_SIZE 0x40 macro220 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 …]
48 #define TABLE_SIZE 64 /* hash table size */ macro
43 #define TABLE_SIZE 11 macro
46 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 */
59 #define TABLE_SIZE 64 /* hash table size */ macro
35 static hash_obj_t *hash_table[TABLE_SIZE];50 for (count = 0; count < TABLE_SIZE; count++) { in initialize_fruaccess()67 index_to_hash = (handle % TABLE_SIZE); in lookup_handle_object()209 index_to_hash = ((hash_obj->obj_hdl) % TABLE_SIZE); in add_hashobject_to_hashtable()1415 hash_table[(free_obj->obj_hdl % TABLE_SIZE)] = in free_pkt_object_list()1458 hash_table[(seg_hash->obj_hdl % TABLE_SIZE)] = seg_hash->next; in free_segment_hash()2491 hash_table[(pkt_hash->obj_hdl % TABLE_SIZE)] = pkt_hash->next; in free_packet_object()2686 hash_table[(sec_hash_obj->obj_hdl % TABLE_SIZE)] in fru_close_container()2709 hash_table[(sec_hash_obj->obj_hdl % TABLE_SIZE)] = in fru_close_container()
60 #define TABLE_SIZE 64 /* hash table size */ macro
34 static hash_obj_t *hash_table[TABLE_SIZE];49 for (count = 0; count < TABLE_SIZE; count++) { in initialize_fruaccess()66 index_to_hash = (handle % TABLE_SIZE); in lookup_handle_object()208 index_to_hash = ((hash_obj->obj_hdl) % TABLE_SIZE); in add_hashobject_to_hashtable()1487 hash_table[(free_obj->obj_hdl % TABLE_SIZE)] = in free_pkt_object_list()1532 hash_table[(seg_hash->obj_hdl % TABLE_SIZE)] = seg_hash->next; in free_segment_hash()2586 hash_table[(pkt_hash->obj_hdl % TABLE_SIZE)] = pkt_hash->next; in free_packet_object()2781 hash_table[(sec_hash_obj->obj_hdl % TABLE_SIZE)] = in fru_close_container()2803 hash_table[(hash_obj->obj_hdl % TABLE_SIZE)] = hash_obj->next; in fru_close_container()
118 #define TABLE_SIZE 64 /* hash table size */ macro
184 static hash_obj_t *hash_table[TABLE_SIZE];190 for (count = 0; count < TABLE_SIZE; count++) { in initialize_fruaccess()208 index_to_hash = (handle % TABLE_SIZE); in lookup_handle_object()347 index_to_hash = ((hash_obj->obj_hdl) % TABLE_SIZE); in add_hashobject_to_hashtable()771 hash_table[(free_obj->obj_hdl % TABLE_SIZE)] = in free_pkt_object_list()815 hash_table[(seg_hash->obj_hdl % TABLE_SIZE)] = seg_hash->next; in free_segment_hash()861 hash_table[(sec_hash_obj->obj_hdl % TABLE_SIZE)] in ipmi_fru_close_container()884 hash_table[(sec_hash_obj->obj_hdl % TABLE_SIZE)] = in ipmi_fru_close_container()2799 hash_table[(pkt_hash->obj_hdl % TABLE_SIZE)] = pkt_hash->next; in free_packet_object()2995 hash_table[(sec_hash_obj->obj_hdl % TABLE_SIZE)] in sun_fru_close_container()[all …]
419 #define TABLE_SIZE 512 macro424 static file_list_t *exclude_tbl[TABLE_SIZE],425 *include_tbl[TABLE_SIZE];5577 return (h % TABLE_SIZE); in hash()