ioport_entry_t
sizeof (ioport_entry_t) * cfg->iop_count);
vm_inout_remove_at(uint_t idx, uint_t old_count, ioport_entry_t *old_ents,
ioport_entry_t *new_ents)
bcopy(old_ents, new_ents, sizeof (ioport_entry_t) * idx);
sizeof (ioport_entry_t) * (new_count - idx));
vm_inout_insert_space_at(uint_t idx, uint_t old_count, ioport_entry_t *old_ents,
ioport_entry_t *new_ents)
bcopy(old_ents, new_ents, sizeof (ioport_entry_t) * idx);
sizeof (ioport_entry_t) * (old_count - idx));
ioport_entry_t *old_ents;
const ioport_entry_t *compare = &old_ents[i];
ioport_entry_t *new_ents;
new_ents = kmem_alloc(new_count * sizeof (ioport_entry_t), KM_SLEEP);
kmem_free(old_ents, old_count * sizeof (ioport_entry_t));
ioport_entry_t *old_ents;
const ioport_entry_t *compare = &old_ents[i];
ioport_entry_t *new_ents;
new_ents = kmem_alloc(new_count * sizeof (ioport_entry_t), KM_SLEEP);
kmem_free(old_ents, old_count * sizeof (ioport_entry_t));
static ioport_entry_t *
ioport_entry_t *entries = cfg->iop_entries;
const ioport_entry_t *ent;
vm_inout_def(ioport_entry_t *entries, uint_t i, uint16_t port,
ioport_entry_t *ent = &entries[i];
const ioport_entry_t *prev = &entries[i - 1];
ioport_entry_t *ents;
ents = kmem_zalloc(ndefault * sizeof (ioport_entry_t), KM_SLEEP);