Lines Matching refs:tpc_name_hash
49 static mod_hash_t *tpc_name_hash; /* hash of cache entries by name */ variable
138 tpc_name_hash = mod_hash_create_extended("tnrhtpc_by_name", 256, in tcache_init()
416 if ((tpc = tnrhtp_find(rhent->rh_template, tpc_name_hash)) == NULL) { in tnrh_load()
578 if (mod_hash_find(tpc_name_hash, (mod_hash_key_t)tpent->name, in tnrhtp_create()
583 (void) mod_hash_destroy(tpc_name_hash, in tnrhtp_create()
591 (void) mod_hash_insert(tpc_name_hash, (mod_hash_key_t)tpc->tpc_tp.name, in tnrhtp_create()
607 if (mod_hash_find(tpc_name_hash, (mod_hash_key_t)tname, &hv) == 0) { in tnrhtp_delete()
611 (void) mod_hash_destroy(tpc_name_hash, in tnrhtp_delete()
636 mod_hash_walk(tpc_name_hash, tpc_delete, NULL); in tnrhtp_flush()
637 mod_hash_clear(tpc_name_hash); in tnrhtp_flush()
691 tpc = tnrhtp_find(rhtpent.name, tpc_name_hash); in tnrhtp()
1135 tpc = tnrhtp_find(rh->rhc_tpc->tpc_tp.name, tpc_name_hash); in find_rhc()