Lines Matching refs:newp
156 struct hashentry *newp; in cache_add() local
158 newp = mempool_alloc (table, sizeof (struct hashentry), 0); in cache_add()
160 if (newp == NULL) in cache_add()
170 newp->type = type; in cache_add()
171 newp->first = first; in cache_add()
172 newp->len = len; in cache_add()
173 newp->key = (char *) key - table->data; in cache_add()
174 assert (newp->key + newp->len <= table->head->first_free); in cache_add()
175 newp->owner = owner; in cache_add()
176 newp->packet = (char *) packet - table->data; in cache_add()
177 assert ((newp->packet & BLOCK_ALIGN_M1) == 0); in cache_add()
181 newp->next = atomic_load_relaxed (&table->head->array[hash]); in cache_add()
183 (ref_t *) &newp->next, in cache_add()
184 (ref_t) ((char *) newp in cache_add()