Lines Matching refs:new_val
1576 struct val_list *new_val;
1581 new_val = kmem_alloc(sizeof (struct val_list), KM_SLEEP);
1582 new_val->val_next = NULL;
1583 if ((new_val->val_type = val_type) == VAL_STRING) {
1584 new_val->val_size = strlen((char *)val) + 1;
1585 new_val->val.string = kmem_alloc(new_val->val_size, KM_SLEEP);
1586 (void) strcpy(new_val->val.string, (char *)val);
1588 new_val->val_size = sizeof (int);
1589 new_val->val.integer = (int)(uintptr_t)val;
1597 tail->val_next = new_val;
1599 *val_listp = new_val;
1602 return (new_val);