Lines Matching defs:modinfo
81 static int modinfo(modid_t, struct modinfo *);
84 static int mod_getinfo(struct modctl *, struct modinfo *);
409 modctl_modinfo(modid_t id, struct modinfo *umodi)
412 struct modinfo modi;
419 if (copyin(umodi, &modi, sizeof (struct modinfo)) != 0)
438 retval = modinfo(id, &modi);
443 if (copyout(&modi, umodi, sizeof (struct modinfo)) != 0)
2381 error = modctl_modinfo((modid_t)a1, (struct modinfo *)a2);
2877 modinfo(modid_t id, struct modinfo *modinfop)
3239 mod_getinfo(struct modctl *modp, struct modinfo *modinfop)
3241 int (*func)(struct modinfo *);
3250 func = (int (*)(struct modinfo *))kobj_lookup(modp->mod_mp, "_info");
3392 struct modinfo *modinfop = NULL;
3445 modinfop = kmem_zalloc(sizeof (struct modinfo), KM_SLEEP);
3467 kmem_free(modinfop, sizeof (struct modinfo));