iodev_snapshot
struct iodev_snapshot *tmp = ss->s_iodevs;
struct iodev_snapshot *pos;
struct iodev_snapshot *pos;
struct iodev_snapshot *list = NULL;
struct iodev_snapshot *pos2;
if ((pos = malloc(sizeof (struct iodev_snapshot))) == NULL) {
(void) memset(pos, 0, sizeof (struct iodev_snapshot));
free_iodev(struct iodev_snapshot *iodev)
struct iodev_snapshot *tmp = iodev->is_children;
int c = iodev_cmp((struct iodev_snapshot *)is1,
(struct iodev_snapshot *)is2);
ix_new_list(struct iodev_snapshot *elem)
avl_create(l, avl_iodev_cmp, sizeof (struct iodev_snapshot),
offsetof(struct iodev_snapshot, avl_link));
ix_list_del(struct iodev_snapshot *elem)
ix_insert_here(struct iodev_snapshot *pos, struct iodev_snapshot *elem, int ba)
list_del(struct iodev_snapshot **list, struct iodev_snapshot *pos)
insert_before(struct iodev_snapshot **list, struct iodev_snapshot *pos,
struct iodev_snapshot *new)
insert_after(struct iodev_snapshot **list, struct iodev_snapshot *pos,
struct iodev_snapshot *new)
insert_into(struct iodev_snapshot **list, struct iodev_snapshot *iodev)
struct iodev_snapshot *tmp = *list;
tmp = (struct iodev_snapshot *)p;
insert_iodev(struct snapshot *ss, struct iodev_snapshot *iodev)
struct iodev_snapshot *parent = find_parent(ss, iodev);
struct iodev_snapshot **list;
iodev_match(struct iodev_snapshot *dev, struct iodev_filter *df)
static void insert_iodev(struct snapshot *ss, struct iodev_snapshot *iodev);
iodev_path_match(struct iodev_snapshot *dev, struct iodev_snapshot *path)
static struct iodev_snapshot *
choose_iodevs(struct snapshot *ss, struct iodev_snapshot *iodevs,
struct iodev_snapshot *pos, *ppos, *tmp, *ptmp;
struct iodev_snapshot *new;
new = safe_alloc(sizeof (struct iodev_snapshot));
(void) memset(new, 0, sizeof (struct iodev_snapshot));
struct iodev_snapshot *tmp = pos;
collate_controller(struct iodev_snapshot *controller,
struct iodev_snapshot *disk)
acquire_iodev_stats(struct iodev_snapshot *list, kstat_ctl_t *kc)
struct iodev_snapshot *pos;
struct iodev_snapshot *pos2 = pos->is_children;
struct iodev_snapshot *iodev;
static struct iodev_snapshot *
find_iodev_by_name(struct iodev_snapshot *list, const char *name)
get_ids(struct iodev_snapshot *iodev, const char *pretty)
struct iodev_snapshot *pos;
struct iodev_snapshot *pos2;
get_pretty_name(enum snapshot_types types, struct iodev_snapshot *iodev,
get_path_info(struct iodev_snapshot *io, char *mod, size_t modlen, int *type,
iodev_cmp(struct iodev_snapshot *io1, struct iodev_snapshot *io2)
update_target(struct iodev_snapshot *tgt, struct iodev_snapshot *path)
static struct iodev_snapshot *
make_extended_device(int type, struct iodev_snapshot *old)
struct iodev_snapshot *tptr = NULL;
create_li_delete_lti(struct snapshot *ss, struct iodev_snapshot *list)
struct iodev_snapshot *pos, *entry, *parent;
create_lt(struct snapshot *ss, struct iodev_snapshot *list)
struct iodev_snapshot *entry, *parent, *pos;
static struct iodev_snapshot *
find_parent(struct snapshot *ss, struct iodev_snapshot *iodev)
iodevs_is_name_maxlen(struct iodev_snapshot *list)
struct iodev_snapshot *entry;
struct iodev_snapshot *is_children;
struct iodev_snapshot *is_prev;
struct iodev_snapshot *is_next;
struct iodev_snapshot *s_iodevs;
void free_iodev(struct iodev_snapshot *iodev);
int iodev_cmp(struct iodev_snapshot *io1, struct iodev_snapshot *io2);
iodev_walk(struct iodev_snapshot *d1, struct iodev_snapshot *d2,
get_child_list(struct iodev_snapshot *iodev, char *buf)
struct iodev_snapshot *pos = iodev->is_children;
iodev_changed(struct iodev_snapshot *iodev, int added)
iodev_report(struct iodev_snapshot *d1, struct iodev_snapshot *d2)
struct iodev_snapshot *dev = (struct iodev_snapshot *)v2;
struct iodev_snapshot *old = (struct iodev_snapshot *)v1;
struct iodev_snapshot *new = (struct iodev_snapshot *)v2;
struct iodev_snapshot *disk = (struct iodev_snapshot *)v2;
struct iodev_snapshot *old = (struct iodev_snapshot *)v1;
struct iodev_snapshot *new = (struct iodev_snapshot *)v2;
struct iodev_snapshot *iodev = (struct iodev_snapshot *)v2;