Lines Matching defs:new
43 struct iodev_snapshot *new;
45 new = safe_alloc(sizeof (struct iodev_snapshot));
46 (void) memset(new, 0, sizeof (struct iodev_snapshot));
47 new->is_type = IODEV_CONTROLLER;
48 new->is_id.id = cid;
49 new->is_parent_id.id = IODEV_NO_ID;
51 (void) snprintf(new->is_name, sizeof (new->is_name), "c%d", cid);
53 return (new);
226 struct iodev_snapshot *new)
229 new->is_prev = new->is_next = NULL;
230 *list = new;
231 ix_new_list(new);
235 new->is_next = pos;
236 new->is_prev = pos->is_prev;
238 pos->is_prev->is_next = new;
240 *list = new;
241 pos->is_prev = new;
243 ix_insert_here(pos, new, AVL_BEFORE);
248 struct iodev_snapshot *new)
251 new->is_prev = new->is_next = NULL;
252 *list = new;
253 ix_new_list(new);
257 new->is_next = pos->is_next;
258 new->is_prev = pos;
260 pos->is_next->is_prev = new;
261 pos->is_next = new;
263 ix_insert_here(pos, new, AVL_AFTER);
807 * Create a new synthetic device entry of the specified type. The supported
838 /* make new synthetic entry that is the LT */
852 /* make new synthetic entry that is the LI */