Lines Matching full:hash
40 /** Hash the transient parameters for lookup. */
57 /* cookie meaningless for kernel, shouldn't hash */
163 create_sfile(unsigned long hash, struct transient const * trans,
171 sf->hashval = hash;
225 unsigned long hash;
242 /* we might need a kernel image start/end to hash on */
260 hash = sfile_hash(trans, ki);
261 list_for_each(pos, &hashes[hash]) {
262 sf = list_entry(pos, struct sfile, hash);
269 sf = create_sfile(hash, trans, ki);
270 list_add(&sf->hash, &hashes[hash]);
292 list_init(&to->hash);
303 unsigned long hash;
320 hash = last->hashval & (CG_HASH_SIZE - 1);
323 * 'last', we use its hash.
325 list_for_each(pos, &sf->cg_hash[hash]) {
326 cg = list_entry(pos, struct cg_entry, hash);
335 list_add(&cg->hash, &sf->cg_hash[hash]);
494 list_del(&sf->hash);
537 list_entry(pos, struct cg_entry, hash);
540 list_del(&cg->hash);