Lines Matching refs:new_hdr
314 list_hdr_t *new_hdr;
320 new_hdr = (list_hdr_t *)kmem_zalloc(FLOWACCT_HDR_SZ, KM_NOSLEEP);
321 if (new_hdr == NULL) {
325 gethrestime(&new_hdr->last_seen);
326 new_hdr->objp = obj;
331 tophdr->head = new_hdr;
332 tophdr->tail = new_hdr;
333 return (new_hdr);
336 new_hdr->next = tophdr->head;
337 tophdr->head->prev = new_hdr;
338 tophdr->head = new_hdr;
339 return (new_hdr);
343 tophdr->tail->next = new_hdr;
344 new_hdr->prev = tophdr->tail;
345 tophdr->tail = new_hdr;
346 return (new_hdr);
349 new_hdr->next = insert_point->next;
350 new_hdr->prev = insert_point;
351 insert_point->next->prev = new_hdr;
352 insert_point->next = new_hdr;
353 return (new_hdr);