Home
last modified time | relevance | path

Searched refs:p_table (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_hash.c104 #define DAPL_HASHLOOKUP(p_table, in_key, out_datum, bucket_head) \ argument
107 &((p_table)->table)[DAPL_DOHASH(in_key, (p_table)->tbl_size)]; \
179 DAPL_HASH_TABLEP p_table, in dapli_hash_add() argument
206 DAPL_HASHLOOKUP(p_table, key, olddatum, found); in dapli_hash_add()
224 hashValue = DAPL_DOHASH(key, p_table->tbl_size); in dapli_hash_add()
225 if (NO_DATUM(p_table->table[hashValue].datum)) { in dapli_hash_add()
229 p_table->table[hashValue].key = key; in dapli_hash_add()
230 p_table->table[hashValue].datum = datum; in dapli_hash_add()
231 p_table->table[hashValue].next_element = 0; in dapli_hash_add()
232 p_table->num_entries++; in dapli_hash_add()
[all …]
/titanic_50/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl_hash.h89 IN DAPL_HASH_TABLE *p_table);
93 IN DAPL_HASH_TABLE *p_table,
98 IN DAPL_HASH_TABLE *p_table,
104 IN DAPL_HASH_TABLE *p_table,
110 IN DAPL_HASH_TABLE *p_table,
116 IN DAPL_HASH_TABLE *p_table,