Lines Matching refs:modi
412 struct modinfo modi;
419 if (copyin(umodi, &modi, sizeof (struct modinfo)) != 0)
424 bzero(&modi, sizeof (modi));
427 modi.mi_info = modi32.mi_info;
428 modi.mi_id = modi32.mi_id;
429 modi.mi_nextid = modi32.mi_nextid;
430 nobase = modi.mi_info & MI_INFO_NOBASE;
436 modi.mi_info &= ~MI_INFO_LINKAGE;
438 retval = modinfo(id, &modi);
443 if (copyout(&modi, umodi, sizeof (struct modinfo)) != 0)
449 if (!nobase && (uintptr_t)modi.mi_base > UINT32_MAX)
452 modi32.mi_info = modi.mi_info;
453 modi32.mi_state = modi.mi_state;
454 modi32.mi_id = modi.mi_id;
455 modi32.mi_nextid = modi.mi_nextid;
456 modi32.mi_base = (caddr32_t)(uintptr_t)modi.mi_base;
457 modi32.mi_size = modi.mi_size;
458 modi32.mi_rev = modi.mi_rev;
459 modi32.mi_loadcnt = modi.mi_loadcnt;
460 bcopy(modi.mi_name, modi32.mi_name, sizeof (modi32.mi_name));
462 modi32.mi_msinfo[i].msi_p0 = modi.mi_msinfo[i].msi_p0;
463 bcopy(modi.mi_msinfo[i].msi_linkinfo,