Home
last modified time | relevance | path

Searched refs:mi (Results 1 – 25 of 117) sorted by relevance

12345

/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_client.c997 argop[1].nfs_argop4_u.opgetattr.mi = mi; in nfs4_attr_otw()
1194 cv_wait(&mi->mi_async_reqs_cv, &mi->mi_async_lock); in nfs4_async_manager()
1240 cv_wait(&mi->mi_async_cv, &mi->mi_async_lock); in nfs4_async_manager_stop()
1563 cv_wait(&mi->mi_inact_req_cv, &mi->mi_async_lock); in nfs4_inactive_thread()
1615 cv_wait(&mi->mi_async_cv, &mi->mi_async_lock); in nfs4_async_stop()
1626 cv_wait(&mi->mi_async_cv, &mi->mi_async_lock); in nfs4_async_stop()
2640 mi->mi_io_kstats->ks_lock = &mi->mi_lock; in nfs4_mnt_kstat_init()
2908 cv_wait(&mi->mi_async_cv, &mi->mi_async_lock); in nfs4_mi_shutdown()
2919 cv_wait(&mi->mi_cv_in_recov, &mi->mi_lock); in nfs4_mi_shutdown()
3140 kmem_free(mi, sizeof (*mi)); in nfs_free_mi4()
[all …]
H A Dnfs4_recovery.c197 mntinfo4_t *mi; in nfs4_needs_recovery() local
205 mi = VFTOMI4(vfsp); in nfs4_needs_recovery()
207 recov = FAILOVER_MOUNT4(mi) && !(mi->mi_flags & MI4_MOUNTING); in nfs4_needs_recovery()
426 MI4_HOLD(mi); in start_recovery()
635 MI4_RELE(mi); in start_recovery()
1068 if (cv_wait_sig(&mi->mi_failover_cv, &mi->mi_lock) == 0) { in wait_for_recovery()
1214 nfs4_queue_event(RE_START, mi, NULL, mi->mi_recovflags, in nfs4_recov_thread()
1522 MI4_RELE(mi); in nfs4_recov_thread()
1681 rp = r4find(&rtable4[index], mi->mi_rootfh, mi->mi_vfsp); in recov_newserver()
2972 mntinfo4_t *mi; in flush_reinstate() local
[all …]
H A Dnfs_client.c763 mntinfo_t *mi; in nfs_attrcache_va() local
870 mntinfo_t *mi; in nfs_getattr_otw() local
1241 mntinfo_t *mi; in nfs_async_manager() local
1326 cv_wait(&mi->mi_async_reqs_cv, &mi->mi_async_lock); in nfs_async_manager()
1359 cv_wait(&mi->mi_async_cv, &mi->mi_async_lock); in nfs_async_manager_stop()
2193 cv_wait(&mi->mi_async_cv, &mi->mi_async_lock); in nfs_async_stop()
2224 if (!cv_wait_sig(&mi->mi_async_cv, &mi->mi_async_lock)) in nfs_async_stop_sig()
2688 for (mi = list_head(&mig->mig_list); mi != NULL; in nfs_mi_shutdown()
2689 mi = list_next(&mig->mig_list, mi)) { in nfs_mi_shutdown()
3244 kmem_free(mi, sizeof (*mi)); in nfs_free_mi()
[all …]
H A Dnfs_vfsops.c623 mi = NULL; in nfs_mount()
1148 mntinfo_t *mi; in nfsrootvp() local
1163 mi = kmem_zalloc(sizeof (*mi), KM_SLEEP); in nfsrootvp()
1301 mi->mi_stsize = MIN(mi->mi_stsize, fs.fs_tsize); in nfsrootvp()
1304 mi->mi_curr_serv = mi->mi_servers; in nfsrootvp()
1305 mi->mi_curread = mi->mi_tsize; in nfsrootvp()
1306 mi->mi_curwrite = mi->mi_stsize; in nfsrootvp()
1362 mntinfo_t *mi; in nfs_unmount() local
1526 mi->mi_stsize = MIN(mi->mi_stsize, fs.fs_tsize); in nfs_statvfs()
1529 mi->mi_curwrite = mi->mi_stsize; in nfs_statvfs()
[all …]
H A Dnfs4_vfsops.c1769 lookuparg.mi = mi; in nfs4getfh_otw()
2297 mi = kmem_zalloc(sizeof (*mi), KM_SLEEP); in nfs4rootvp()
2344 mi->mi_stsize = mi->mi_tsize; in nfs4rootvp()
2561 mi->mi_rootfh = sfh4_get(&fh, mi); in nfs4rootvp()
2564 mi->mi_srvparentfh = sfh4_get(&fh, mi); in nfs4rootvp()
2570 mi->mi_fname = fn_get(NULL, ".", mi->mi_rootfh); in nfs4rootvp()
2581 mi->mi_curread = mi->mi_tsize; in nfs4rootvp()
2582 mi->mi_curwrite = mi->mi_stsize; in nfs4rootvp()
3436 argop[1].nfs_argop4_u.opgetattr.mi = mi; in nfs4setclientid_otw()
3850 for (mi = sp->mntinfo4_list; mi != NULL; mi = mi->mi_clientid_next) { in nfs4_fs_active()
[all …]
H A Dnfs3_vfsops.c597 mi = NULL; in nfs3_mount()
1034 mi = kmem_zalloc(sizeof (*mi), KM_SLEEP); in nfs3rootvp()
1151 mi->mi_stsize = mi->mi_tsize; in nfs3rootvp()
1154 mi->mi_curwrite = mi->mi_curread; in nfs3rootvp()
1171 mi->mi_tsize = MIN(max_transfer_size, mi->mi_tsize); in nfs3rootvp()
1225 mi->mi_tsize = MIN(res.resok.rtmax, mi->mi_tsize); in nfs3rootvp()
1234 mi->mi_tsize = MIN(res.resok.rtpref, mi->mi_tsize); in nfs3rootvp()
1250 mi->mi_stsize = MIN(res.resok.wtmax, mi->mi_stsize); in nfs3rootvp()
1290 mi->mi_maxfilesize = MIN(mi->mi_maxfilesize, in nfs3rootvp()
1302 mi->mi_curr_serv = mi->mi_servers; in nfs3rootvp()
[all …]
H A Dnfs_subr.c805 if (mi->mi_curread >= mi->mi_tsize) in nfs_feedback()
808 if (mi->mi_curread > mi->mi_tsize/2) in nfs_feedback()
809 mi->mi_curread = mi->mi_tsize; in nfs_feedback()
811 if (mi->mi_curwrite >= mi->mi_stsize) in nfs_feedback()
814 if (mi->mi_curwrite > mi->mi_stsize/2) in nfs_feedback()
815 mi->mi_curwrite = mi->mi_stsize; in nfs_feedback()
1087 &(mi->mi_timers[mi->mi_timer_type[which]]), in rfscall()
1308 mi->mi_vers, mi->mi_rfsnames[which], bufp); in rfscall()
1312 mi->mi_vers, mi->mi_rfsnames[which], in rfscall()
1906 mi->mi_vers, mi->mi_aclnames[which], in aclcall()
[all …]
H A Dnfs4_common.c120 mi = VTOMI4(vp); in nfs4_setopts()
124 mutex_enter(&mi->mi_lock); in nfs4_setopts()
125 mi->mi_flags |= MI4_NOAC; in nfs4_setopts()
126 mutex_exit(&mi->mi_lock); in nfs4_setopts()
130 mutex_enter(&mi->mi_lock); in nfs4_setopts()
132 mi->mi_flags |= MI4_NOCTO; in nfs4_setopts()
137 mutex_exit(&mi->mi_lock); in nfs4_setopts()
152 mi->mi_tsize = MIN(mi->mi_tsize, STRUCT_FGET(args, rsize)); in nfs4_setopts()
153 mi->mi_curread = MIN(mi->mi_curread, mi->mi_tsize); in nfs4_setopts()
158 mi->mi_stsize = MIN(mi->mi_stsize, STRUCT_FGET(args, wsize)); in nfs4_setopts()
[all …]
H A Dnfs_common.c485 mi = VTOMI(vp); in nfs_setopts()
488 mi->mi_flags |= MI_NOAC; in nfs_setopts()
492 mi->mi_flags |= MI_NOCTO; in nfs_setopts()
519 mi->mi_tsize = MIN(mi->mi_tsize, STRUCT_FGET(args, rsize)); in nfs_setopts()
520 mi->mi_curread = MIN(mi->mi_curread, mi->mi_tsize); in nfs_setopts()
525 mi->mi_stsize = MIN(mi->mi_stsize, STRUCT_FGET(args, wsize)); in nfs_setopts()
526 mi->mi_curwrite = MIN(mi->mi_curwrite, mi->mi_stsize); in nfs_setopts()
534 mi->mi_acregmin = SEC2HR(mi->mi_acregmin); in nfs_setopts()
542 mi->mi_acregmax = SEC2HR(mi->mi_acregmax); in nfs_setopts()
550 mi->mi_acdirmin = SEC2HR(mi->mi_acdirmin); in nfs_setopts()
[all …]
H A Dnfs4_client_debug.c97 ep->re_mi = mi; in set_event()
126 ep->re_mi = mi; in set_event()
168 ep->re_mi = mi; in set_event()
230 ep->re_mi = mi; in set_event()
266 ep->re_mi = mi; in set_event()
495 mntinfo4_t *mi) in get_facts() argument
585 mntinfo4_t *mi) in facts_same() argument
663 mntinfo4_t *mi) in events_same() argument
1394 if (events_same(list_tail(&mi->mi_msg_list), msg, mi)) { in nfs4_queue_event()
1461 if (facts_same(list_tail(&mi->mi_msg_list), msg, mi)) { in nfs4_queue_fact()
[all …]
H A Dnfs4_subr.c467 mutex_enter(&mi->mi_lock); in nfs4_log_badowner()
473 mutex_exit(&mi->mi_lock); in nfs4_log_badowner()
1011 if (!(mi->mi_flags & MI4_HARD) && (mi->mi_flags & MI4_DOWN)) in nfs_clget4()
1257 svp = mi->mi_curr_serv; in nfs4_rfscall()
1397 mi->mi_noresponse++; in nfs4_rfscall()
1423 if (mi->mi_vers == 4 && FAILOVER_MOUNT4(mi) && in nfs4_rfscall()
1499 mi->mi_vers, mi->mi_rfsnames[which], bufp); in nfs4_rfscall()
1503 mi->mi_vers, mi->mi_rfsnames[which], in nfs4_rfscall()
1672 mntinfo4_t *mi; in remap_lookup() local
1677 mi = VTOMI4(rootvp); in remap_lookup()
[all …]
H A Dnfs4_stub_vnops.c808 MI4_HOLD(mi); in nfs4_trigger_mount()
1452 argop[2].nfs_argop4_u.opgetattr.mi = mi; in nfs4_fetch_locations()
1536 mntinfo4_t *mi; in find_referral_stubvp() local
1546 mi = VTOMI4(dvp); in find_referral_stubvp()
1714 mntinfo4_t *mi; in nfs4_trigger_esi_create_referral() local
2202 MI4_HOLD(mi); in nfs4_record_ephemeral_mount()
2239 MI4_RELE(mi); in nfs4_record_ephemeral_mount()
2332 mntinfo4_t *mi; in nfs4_ephemeral_unmount_engine() local
2497 kmem_free(mi->mi_ephemeral, sizeof (*mi->mi_ephemeral)); in nfs4_ephemeral_umount_activate()
2500 MI4_RELE(mi); in nfs4_ephemeral_umount_activate()
[all …]
H A Dnfs4_client_state.c78 ASSERT(mi != NULL); in lock_bucket()
308 ASSERT(mi != NULL); in find_open_owner_nolock()
1318 mntinfo4_t *mi; in nfs4_find_or_create_lock_owner() local
1490 if (mi->mi_foo_num < mi->mi_foo_max) { in nfs4_free_open_owner()
1494 mi->mi_foo_num, mi->mi_foo_max, (void *)oop, in nfs4_free_open_owner()
1802 mntinfo4_t *mi; in nfs4_open_downgrade() local
1836 mi = VTOMI4(vp); in nfs4_open_downgrade()
1941 argop[1].nfs_argop4_u.opgetattr.mi = mi; in nfs4_open_downgrade()
2034 mntinfo4_t *mi; in nfs4_resend_open_otw() local
2089 mi = VTOMI4(vp); in nfs4_resend_open_otw()
[all …]
H A Dnfs4_rnode.c337 fh = mi->mi_rootfh; in badrootfh_check()
580 mntinfo4_t *mi; in make_rnode4() local
584 mi = VFTOMI4(vfsp); in make_rnode4()
972 mntinfo4_t *mi; in rp4_addhash() local
990 mi = VTOMI4(RTOV4(rp)); in rp4_addhash()
1004 mntinfo4_t *mi; in rp4_rmhash_locked() local
1016 mi = VTOMI4(RTOV4(rp)); in rp4_rmhash_locked()
1131 mntinfo4_t *mi; in check_rtable4() local
1134 mi = VFTOMI4(vfsp); in check_rtable4()
1164 mntinfo4_t *mi; in destroy_rtable4() local
[all …]
H A Dnfs4_client_secinfo.c490 if (secinfo_check(mi->mi_curr_serv)) in secinfo_tryroot_otw()
655 lookuparg.mi = mi; in nfs4secinfo_otw()
748 abort = nfs4_start_recovery(&e, mi, NULL, in nfs4secinfo_otw()
844 servinfo4_t *svp = mi->mi_curr_serv; in nfs4_secinfo_path()
966 svp = mi->mi_curr_serv; in nfs4_secinfo_fh_otw()
968 if (mi->mi_curr_serv->sv_secinfo == NULL) { in nfs4_secinfo_fh_otw()
1041 servinfo4_t *svp = mi->mi_curr_serv; in nfs4_secinfo_recov()
1063 error = nfs4_secinfo_path(mi, cr, TRUE); in nfs4_secinfo_recov()
1080 mutex_enter(&mi->mi_lock); in nfs4_secinfo_recov()
1081 mi->mi_recovflags &= ~MI4R_NEED_SECINFO; in nfs4_secinfo_recov()
[all …]
/illumos-gate/usr/src/cmd/modload/
H A Dmodinfo.c154 print_cinfo(struct modinfo *mi) in print_cinfo() argument
156 (void) printf("%3d %10d %-32s", mi->mi_id, mi->mi_loadcnt, mi->mi_name); in print_cinfo()
172 print_info(struct modinfo *mi) in print_info() argument
181 (void) printf("%3d ", mi->mi_id); in print_info()
190 (void) printf("%6lx ", mi->mi_size); in print_info()
192 (void) printf("%6x ", mi->mi_size); in print_info()
195 p0 = mi->mi_msinfo[n].msi_p0; in print_info()
202 (void) printf(" %d ", mi->mi_rev); in print_info()
204 mi->mi_name[MODMAXNAMELEN - 1] = '\0'; in print_info()
209 mi->mi_msinfo[n].msi_linkinfo); in print_info()
[all …]
/illumos-gate/usr/src/cmd/sgs/prof/common/
H A Dprofv.c207 mi = NULL; in print_profile_data()
271 for (mi = &modules; mi; mi = mi->next) in print_profile_data()
273 mi->id, mi->path); in print_profile_data()
364 for (mi = &modules; mi; mi = mi->next) in collect_profsyms()
375 for (mi = &modules; mi; mi = mi->next) { in collect_profsyms()
496 for (mi = &modules; mi; mi = mi->next) { in process_pcsamples()
529 for (mi = &modules; mi; mi = mi->next) { in process_cgraph()
582 return (mi); in get_shobj_syms()
802 mi->id = 1; in get_aout_syms()
803 mi->load_base = mi->txt_origin; in get_aout_syms()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_subr2.c222 smbmntinfo_t *mi, in smbfs_node_findcreate() argument
322 smbmntinfo_t *mi, in make_smbnode() argument
434 np->n_mount = mi; in make_smbnode()
509 smbmntinfo_t *mi; in smbfs_addfree() local
517 mi = VFTOSMI(vfsp); in smbfs_addfree()
719 smbmntinfo_t *mi, in sn_hashfind() argument
826 smbmntinfo_t *mi; in smbfs_attrcache_prune() local
878 smbmntinfo_t *mi; in smbfs_check_table() local
942 smbmntinfo_t *mi; in smbfs_destroy_table() local
1049 smbmntinfo_t *mi; in smbfs_rflush() local
[all …]
/illumos-gate/usr/src/cmd/genmsg/
H A Dutil.c178 mi = mi->next; in write_msgfile()
205 mi->id, pquote, mi->msg, pquote); in write_msgfile()
208 if (mi->line && mi->file && in write_msgfile()
212 basename(mi->file), mi->line); in write_msgfile()
228 if (mi->line && mi->file && in write_msgfile()
232 basename(mi->file), mi->line); in write_msgfile()
247 mi = mi->next; in write_msgfile()
282 mi->msg, mi->file, mi->line); in lookup_msgid()
286 mi = mi->next; in lookup_msgid()
319 mi = mi->next; in add_msgid()
[all …]
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Darcs.c245 mod_info_t *mi; in cyclelink() local
251 for (mi = &modules; mi; mi = mi->next) { in cyclelink()
252 for (nlp = mi->nl; nlp < mi->npe; nlp++) { in cyclelink()
279 for (mi = &modules; mi; mi = mi->next) { in cyclelink()
280 for (nlp = mi->nl; nlp < mi->npe; nlp++) { in cyclelink()
591 for (mi = &modules; mi; mi = mi->next) { in doarcs()
592 for (parentp = mi->nl; parentp < mi->npe; parentp++) { in doarcs()
626 for (mi = &modules; mi; mi = mi->next) { in doarcs()
627 for (parentp = mi->nl; parentp < mi->npe; parentp++) { in doarcs()
647 for (mi = &modules; mi; mi = mi->next) { in doarcs()
[all …]
H A Dgprof.c293 for (mi = &modules; mi; mi = mi->next) { in dump_callgraph()
294 for (nlp = mi->nl; nlp < mi->npe; nlp++) { in dump_callgraph()
421 for (mi = &modules; mi; mi = mi->next) { in dump_pcsamples()
422 for (nlp = mi->nl; nlp < mi->npe; nlp++) { in dump_pcsamples()
479 for (mi = modules.next; mi; mi = mi->next) { in dump_modules()
531 for (mi = &modules; mi; mi = mi->next) { in fixup_maps()
536 if (mi == &modules || mi->load_base < lbase) in fixup_maps()
557 for (mi = modules.next; mi; mi = mi->next) { in fixup_maps()
945 for (mi = &modules; mi; mi = mi->next) { in process_pcsamples()
969 for (mi = &modules; mi; mi = mi->next) { in find_module()
[all …]
/illumos-gate/usr/src/boot/i386/libi386/
H A Dvbe.c121 v86.es = VTOPSEG(mi); in biosvbe_get_mode_info()
122 v86.edi = VTOPOFF(mi); in biosvbe_get_mode_info()
410 struct modeinfoblock mi; in vbe_set_mode() local
452 shadow_fb = malloc(mi.XResolution * mi.YResolution * in vbe_set_mode()
462 switch (mi.MemoryModel) { in vbe_set_mode()
487 mi.BytesPerScanLine; in vbe_set_mode()
489 mi.RedFieldPosition; in vbe_set_mode()
505 if (mi.BitsPerPixel == 15 || mi.BitsPerPixel == 16) { in vbe_set_mode()
528 struct modeinfoblock mi; in vbe_find_mode_xydm() local
597 mi->XResolution, mi->YResolution, mi->BitsPerPixel); in vbe_dump_mode()
[all …]
/illumos-gate/usr/src/uts/sun/io/
H A Dms.c467 struct mouseinfo *mi; in msrserv() local
518 *cp++ = mi->mi_x; in msrserv()
519 *cp++ = -mi->mi_y; in msrserv()
1173 if (mi->mi_x == 0 && mi->mi_y == 0) { in msinput()
1233 mi->mi_x = 0; in msincr()
1235 mi->mi_y = 0; in msincr()
1248 mi = b->mb_info; in msincr()
1250 mi++; in msincr()
1263 mi = b->mb_info; in msincr()
1268 mi->mi_x = (char)xc; in msincr()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbms/
H A Dusbms.c593 if (mi->mi_z) { in usbms_rserv_vuid_event_wheel()
1677 mi->mi_buttons = mi->mi_buttons & USB_LEFT_BUT_PRESSED; in usbms_input()
1683 mi->mi_buttons = mi->mi_buttons & USB_RIGHT_BUT_PRESSED; in usbms_input()
1689 mi->mi_buttons = mi->mi_buttons & in usbms_input()
1699 mi->mi_buttons = mi->mi_buttons & in usbms_input()
1743 mi->mi_z = 0; in usbms_input()
1754 if (mi->mi_x == 0 && mi->mi_y == 0) { in usbms_input()
1878 mi++; in usbms_incr()
1897 mi->mi_x = xc; in usbms_incr()
1898 mi->mi_y = yc; in usbms_incr()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dfmtdev.c40 unsigned int mi; in fmtdev() local
45 mi = minor(mm); in fmtdev()
47 if (ma == '#' && isalnum(mi)) in fmtdev()
54 buf[1] = mi; in fmtdev()
58 sfsprintf(buf, z, "%03d,%03d", ma, mi); in fmtdev()

12345