Lines Matching refs:hd
155 struct hash_data *hd = arg;
159 if (hd->hd_hash->h_cmp(hd->hd_key, node) == 0) {
160 if ((cbrc = hd->hd_fun(node, hd->hd_private)) < 0)
173 struct hash_data hd;
175 hd.hd_hash = hash;
176 hd.hd_fun = fun;
177 hd.hd_key = key;
178 hd.hd_private = private;
181 &hd));
188 struct hash_data *hd = arg;
189 if (hd->hd_hash->h_cmp(hd->hd_key, node) == 0) {
190 hd->hd_ret = node;
201 struct hash_data hd;
203 hd.hd_hash = hash;
204 hd.hd_fun = hash_find_first_cb;
205 hd.hd_key = key;
207 ret = hash_match(hash, key, hash_find_first_cb, &hd);
209 *value = hd.hd_ret;