Searched refs:hash_obj (Results 1 – 9 of 9) sorted by relevance
222 first_hash = &cont_tbl->hash_obj[index_to_hash]; in lookup_node_object()249 hash_ptr = cont_tbl->hash_obj; in add_tblobject_to_container_tbl()264 add_nodeobject_to_hashtable(hash_obj_t *hash_obj, container_tbl_t *cont_tbl) in add_nodeobject_to_hashtable() argument269 index_to_hash = ((hash_obj->picl_hdl) % TABLE_SIZE); in add_nodeobject_to_hashtable()270 hash_table = &cont_tbl->hash_obj[index_to_hash]; in add_nodeobject_to_hashtable()272 hash_obj->next = hash_table->next; in add_nodeobject_to_hashtable()273 hash_table->next = hash_obj; in add_nodeobject_to_hashtable()275 if (hash_obj->next != NULL) { in add_nodeobject_to_hashtable()276 hash_obj->next->prev = hash_obj; in add_nodeobject_to_hashtable()292 cont_tbl->hash_obj = malloc(sizeof (hash_obj_t[TABLE_SIZE])); in alloc_container_table()[all …]
61 struct hash_obj;67 struct hash_obj *next;74 struct hash_obj *packet_list;75 struct hash_obj *next;82 struct hash_obj *segment_list;83 struct hash_obj *next;89 struct hash_obj *section_list;92 typedef struct hash_obj { struct101 struct hash_obj *next; argument102 struct hash_obj *prev; argument[all …]
71 add_hashobject_to_hashtable(hash_obj_t *hash_obj) in add_hashobject_to_hashtable() argument76 hash_obj->obj_hdl = ++handle_count; /* store the handle */ in add_hashobject_to_hashtable()79 index_to_hash = ((hash_obj->obj_hdl) % TABLE_SIZE); in add_hashobject_to_hashtable()81 hash_obj->next = hash_table[index_to_hash]; in add_hashobject_to_hashtable()82 hash_table[index_to_hash] = hash_obj; /* hash obj. added */ in add_hashobject_to_hashtable()84 if (hash_obj->next != NULL) { in add_hashobject_to_hashtable()85 hash_obj->next->prev = hash_obj; in add_hashobject_to_hashtable()93 hash_obj_t *hash_obj; in create_container_hash_object() local101 hash_obj = malloc(sizeof (hash_obj_t)); in create_container_hash_object()102 if (hash_obj == NULL) { in create_container_hash_object()[all …]
143 struct hash_obj;153 struct hash_obj *next;162 struct hash_obj *pkt_obj_list; /* packet object list */163 struct hash_obj *next;172 struct hash_obj *seg_obj_list; /* points to segment objects list */173 struct hash_obj *next;180 struct hash_obj *sec_obj_list; /* points to section objects list */184 typedef struct hash_obj { struct193 struct hash_obj *next; argument194 struct hash_obj *prev; argument
147 struct hash_obj;157 struct hash_obj *next;166 struct hash_obj *pkt_obj_list; /* packet object list */167 struct hash_obj *next;176 struct hash_obj *seg_obj_list; /* points to segment objects list */177 struct hash_obj *next;184 struct hash_obj *sec_obj_list; /* points to section objects list */188 typedef struct hash_obj { struct197 struct hash_obj *next; argument198 struct hash_obj *prev; argument
82 hash_obj_t *hash_obj; in create_container_hash_object() local90 hash_obj = malloc(sizeof (hash_obj_t)); in create_container_hash_object()91 if (hash_obj == NULL) { in create_container_hash_object()98 hash_obj->object_type = CONTAINER_TYPE; in create_container_hash_object()99 hash_obj->u.cont_obj = cont_obj; in create_container_hash_object()100 hash_obj->next = NULL; in create_container_hash_object()101 hash_obj->prev = NULL; in create_container_hash_object()103 return (hash_obj); in create_container_hash_object()111 hash_obj_t *hash_obj; in create_section_hash_object() local119 hash_obj = malloc(sizeof (hash_obj_t)); in create_section_hash_object()[all …]
42 typedef struct hash_obj Hash_obj;56 struct hash_obj { struct
92 #define hash_obj u.data macro
433 n->hash_obj = obj_val; in hash_newobj()557 return (tmp->hash_obj); in hash_lookup_obj()