Lines Matching defs:key
45 * Use the first element in the key for the hash.
83 * passes back the size of the generated key in *keylenp. This routine
87 * _absolutely_ guarantee that the key below uniquely identifies an
99 static uintptr_t *key = NULL;
113 if (key == NULL)
114 key = kmem_alloc((nstrpush + 1) * sizeof (uintptr_t), KM_SLEEP);
116 ASSERT(key != NULL);
125 key[i] = (uintptr_t)q->q_qinfo->qi_minfo;
129 * Allocate the actual key with the proper length, and pass it
133 return ((void *)key);
147 void *key;
157 key = tpi_makekey(WR(q), &keylen);
168 for (tpp = &tpi_provinfo_table[TPI_HASH(key)]; *tpp != NULL;
171 bcmp((*tpp)->tpi_key, key, keylen) == 0) {
182 bcopy(key, (*tpp)->tpi_key, keylen);