Home
last modified time | relevance | path

Searched refs:mp (Results 1 – 25 of 1057) sorted by relevance

12345678910>>...43

/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_module.c106 if (mp->mod_ops->mop_init(mp) != 0 || mp->mod_error != 0) { in fmd_module_start()
163 if (mp->mod_ops->mop_fini(mp) != 0 && mp->mod_error == 0) in fmd_module_start()
920 (void *)mp, mp->mod_name, mp->mod_refs)); in fmd_module_hold()
934 (void *)mp, mp->mod_name, mp->mod_refs)); in fmd_module_rele()
1039 for (mp = mhp->mh_hash[i]; mp != NULL; mp = nmp) { in fmd_modhash_destroy()
1101 for (mp = mhp->mh_hash[i]; mp != NULL; mp = np) { in fmd_modhash_apply()
1120 for (mp = mhp->mh_hash[i]; mp != NULL; mp = np) { in fmd_modhash_tryapply()
1139 for (mp = mhp->mh_hash[i]; mp != NULL; mp = mp->mod_next) { in fmd_modhash_dispatch()
1179 for (mp = mhp->mh_hash[h]; mp != NULL; mp = mp->mod_next) { in fmd_modhash_lookup()
1212 for (mp = mhp->mh_hash[h]; mp != NULL; mp = mp->mod_next) { in fmd_modhash_load()
[all …]
H A Dfmd_api.c226 fmd_module_t *mp; in fmd_api_module() local
266 return (mp); in fmd_api_module()
288 return (mp); in fmd_api_module_lock()
442 mp->mod_argc = i; in fmd_hdl_register()
471 mp->mod_argc, mp->mod_argv, 0)) == NULL) in fmd_hdl_register()
474 fmd_conf_propagate(fmd.d_conf, mp->mod_conf, mp->mod_name); in fmd_hdl_register()
514 mp->mod_fmri = fmd_protocol_fmri_module(mp); in fmd_hdl_register()
632 mp->mod_argc = 0; in fmd_module_unregister()
1745 mp->mod_name, mp->mod_stats->ms_thrlimit.fmds_value.ui32); in fmd_thr_create()
1912 t->mt_mod = mp; in fmd_timer_install()
[all …]
/illumos-gate/usr/src/man/man3mp/
H A DMakefile40 mp_gcd.3mp := LINKSRC = mp.3mp
41 mp_itom.3mp := LINKSRC = mp.3mp
42 mp_madd.3mp := LINKSRC = mp.3mp
43 mp_mcmp.3mp := LINKSRC = mp.3mp
44 mp_mdiv.3mp := LINKSRC = mp.3mp
45 mp_mfree.3mp := LINKSRC = mp.3mp
46 mp_min.3mp := LINKSRC = mp.3mp
47 mp_mout.3mp := LINKSRC = mp.3mp
49 mp_msub.3mp := LINKSRC = mp.3mp
50 mp_mtox.3mp := LINKSRC = mp.3mp
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/event-transport/
H A Detm.c440 fmd_xprt_setspecific(hdl, mp->epm_xprthdl, mp); in etm_handle_startup()
512 for (mp = Epmap_head; mp != NULL; mp = mp->epm_next) in etm_check_dup_ep_str()
531 mp->epm_timer_id = fmd_timer_install(hdl, mp, in etm_reconnect()
583 mp->epm_timer_id = fmd_timer_install(hdl, mp, NULL, in etm_suspend_reconnect()
603 (void) pthread_cond_wait(&mp->epm_tx_cv, &mp->epm_lock); in etm_reinit()
716 mp->epm_xprtflags, mp->epm_ep_nvl, NULL)) == NULL) { in etm_recv()
720 fmd_xprt_setspecific(hdl, mp->epm_xprthdl, mp); in etm_recv()
750 mp->epm_timer_id = fmd_timer_install(hdl, mp, NULL, in etm_recv()
1411 mp->epm_timer_id = fmd_timer_install(hdl, mp, NULL, in etm_timeout()
1498 while (mp) { in _fmd_fini()
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/
H A Dmpool.c239 if ((nr = read(mp->fd, bp->page, mp->pagesize)) != mp->pagesize) {
269 (mp->pgin)(mp->pgcookie, bp->pgno, bp->page);
357 if (mp->curcache < mp->maxcache)
433 if (write(mp->fd, bp->page, mp->pagesize) != mp->pagesize)
482 mp->pagesize, mp->curcache, mp->maxcache);
484 mp->pageput, mp->pageget, mp->pagenew);
486 mp->pagealloc, mp->pageflush);
487 if (mp->cachehit + mp->cachemiss)
490 ((double)mp->cachehit / (mp->cachehit + mp->cachemiss))
491 * 100, mp->cachehit, mp->cachemiss);
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dmagic.c294 if (off < mp->xoff || off + siz > mp->xoff + mp->xbsz) in getdata()
301 if ((mp->xbsz = sfread(mp->fp, mp->xbuf, sizeof(mp->xbuf) - 1)) < 0) in getdata()
307 mp->xbuf[mp->xbsz] = 0; in getdata()
387 (*mp->disc->errorf)(mp, mp->disc, 3, "regex: %s", buf); in regmessage()
496 mp->mime = mp->cap[0] = 0; in ckmagic()
509 mp->mime = mp->cap[0]; in ckmagic()
1022 if ((mp->count['>'] + mp->count['<'] + mp->count['/']) > mp->count['E'] + mp->count['e']) in ckenglish()
1110 mp->mime = mp->mbuf; in cklang()
1615 mp->fbsz = sfread(mp->fp, mp->fbuf, sizeof(mp->fbuf) - 1); in type()
1622 mp->fbuf[mp->fbsz] = 0; in type()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dmnt.c290 mp->last = mp->next + n;
302 if (mp->next < mp->last)
309 …set(&mp->hdr, mp->next->f_mntfromname, mp->next->f_mntonname, TYPE(mp->next), n ? (mp->opt + 1) : …
367 mp->next = mp->info;
656 if ((mp->count = w_getmntent(mp->buf, sizeof(mp->buf))) > 0)
660 mp->mnt = (struct mntent*)mp->buf;
679 if ((mp->count = w_getmntent(mp->buf, sizeof(mp->buf))) <= 0)
684 set(&mp->hdr, mp->mnt->mnt_fsname, mp->mnt->mnt_dir, mp->mnt->mnt_type, OPTIONS(mp->mnt));
692 while (sfread(mp->fp, &mp->buf, sizeof(mp->buf)) == sizeof(mp->buf))
702 set(&mp->hdr, mp->mnt->mnt_fsname, mp->mnt->mnt_dir, mp->mnt->mnt_type, OPTIONS(mp->mnt));
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_dma.h97 #define MP_PFN0(mp) ((iopfn_t)(mp)->dmai_pfn0) argument
103 #define WINLST(mp) ((pci_dma_win_t *)(mp)->dmai_winlst) argument
104 #define DEV_ATTR(mp) (&((pci_dma_hdl_t *)(mp))->pdh_attr_dev) argument
144 #define PCI_DMA_CANFAST(mp) (((mp)->dmai_ndvmapages + HAS_REDZONE(mp) \ argument
146 #define PCI_DMA_WINNPGS(mp) IOMMU_BTOP((mp)->dmai_winsize) argument
147 #define PCI_DMA_CANCACHE(mp) (!HAS_REDZONE(mp) && \ argument
148 (PCI_DMA_WINNPGS(mp) == 1) && HAS_NOSYSLIMIT(mp))
191 (((mp)->dmai_offset + (mp)->dmai_roffset) / (mp)->dmai_winsize)
263 #define PCI_GET_MP_NCOOKIES(mp) ((mp)->dmai_ncookies) argument
275 (iopfn_t)(mp)->dmai_pfnlst : PCI_GET_MP_PFN1(mp, page_no))
[all …]
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_dma.h96 #define PX_MP_PFN0(mp) ((px_iopfn_t)(mp)->dmai_pfn0) argument
97 #define PX_WINLST(mp) ((px_dma_win_t *)(mp)->dmai_winlst) argument
98 #define PX_DEV_ATTR(mp) ((ddi_dma_attr_t *)(mp + 1)) argument
143 #define PX_DMA_ISPTP(mp) (PX_DMA_TYPE(mp) == PX_DMAI_FLAGS_PTP) argument
146 #define PX_DMA_CANFAST(mp) (((mp)->dmai_ndvmapages + PX_HAS_REDZONE(mp) \ argument
148 #define PX_DMA_WINNPGS(mp) MMU_BTOP((mp)->dmai_winsize) argument
149 #define PX_DMA_CANCACHE(mp) (!PX_HAS_REDZONE(mp) && \ argument
150 (PX_DMA_WINNPGS(mp) == 1) && PX_HAS_NOSYSLIMIT(mp))
168 (((mp)->dmai_offset + (mp)->dmai_roffset) / (mp)->dmai_winsize)
232 #define PX_GET_MP_NCOOKIES(mp) ((mp)->dmai_ncookies) argument
[all …]
H A Dpx_dma.c130 return (mp); in px_dma_allocmp()
136 ndi_fmc_remove(mp->dmai_rdip, DMA_HANDLE, mp); in px_dma_freemp()
568 mp, PX_MP_PFN0(mp) - pfn_adj); in px_dma_pfn()
571 PX_SET_MP_PFN(mp, 0, PX_MP_PFN0(mp) - pfn_adj); in px_dma_pfn()
772 mp->dmai_size, mp); in px_dvma_map_fast()
1142 ASSERT(PX_DMA_ISPTP(mp) || PX_DMA_ISBYPASS(mp)); in px_dma_physwin()
1228 px_dma_adjust(dmareq, mp, mp->dmai_winlst); in px_dma_physwin()
1236 mp->dmai_ncookies = PX_WINLST(mp)->win_ncookies; in px_dma_physwin()
1326 ptr->mp = mp; in px_dvma_alloc_debug()
1333 ptr->mp = mp; in px_dvma_alloc_debug()
[all …]
/illumos-gate/usr/src/uts/common/inet/
H A Dmi.c675 mp = mp->b_cont; in mi_mpprintf_putc()
678 mp = mp->b_cont; in mi_mpprintf_putc()
894 for (; mp; mp = mp->b_cont) { in mi_offset_paramc()
1159 mp->b_wptr = mp->b_rptr + size; in mi_timer_alloc()
1197 if (!mp || (mp->b_rptr - mp->b_datap->db_base) != sizeof (MTB)) in mi_timer_free()
1205 mp->b_prev || mp->b_next); in mi_timer_free()
1213 mp->b_prev || mp->b_next); in mi_timer_free()
1248 mp->b_prev || mp->b_next); in mi_timer_move()
1265 mp->b_prev || mp->b_next); in mi_timer_move()
1284 if (!mp || (mp->b_rptr - mp->b_datap->db_base) != sizeof (MTB)) in mi_timer_stop()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dtirdwr.c210 mblk_t *mp; in tirdwrclose() local
296 mp->b_wptr = mp->b_rptr; in tirdwrrput()
308 mp->b_wptr = mp->b_rptr; in tirdwrrput()
368 mp->b_rptr = mp->b_datap->db_base; in send_fatal()
369 mp->b_wptr = mp->b_datap->db_base + sizeof (char); in send_fatal()
380 mblk_t *mp; in check_strhead() local
383 for (mp = q->q_next->q_first; mp != NULL; mp = mp->b_next) { in check_strhead()
420 mblk_t *mp; in strip_strhead() local
427 for (mp = q->q_first; mp != NULL; ) { in strip_strhead()
456 mp = mp->b_next; in strip_strhead()
[all …]
H A Dptem.c280 freemsg(mp); in ptemrput()
373 freemsg(mp); in ptemrput()
396 freemsg(mp); in ptemrput()
409 freemsg(mp); in ptemrput()
559 if ((mp->b_wptr - mp->b_rptr) < 0) { in ptemwput()
565 } else if ((mp->b_wptr - mp->b_rptr) == 0) { in ptemwput()
589 mblk_t *mp; in ptemwsrv() local
592 if (!bcanputnext(q, mp->b_band) || !ptemwmsg(q, mp)) { in ptemwsrv()
855 freemsg(mp); in ptemwmsg()
859 if ((mp->b_wptr - mp->b_rptr) < 0) { in ptemwmsg()
[all …]
H A Dtelmod.c378 recover(q, mp, msgdsize(mp)); in telmodrput()
440 mp->b_wptr = mp->b_rptr; in telmodrput()
529 recover(q, mp, msgdsize(mp)); in telmodrsrv()
568 mp->b_wptr = mp->b_rptr; in telmodrsrv()
681 if (((mp->b_wptr - mp->b_rptr) == 1) && in telmodwput()
889 if (((mp->b_wptr - mp->b_rptr) == 1) && in telmodwsrv()
957 if (mp->b_rptr == mp->b_wptr) { in rcv_parse()
959 mp = mp->b_cont; in rcv_parse()
971 if (mp->b_wptr == (mp->b_rptr + 1)) { in rcv_parse()
1108 mp = mp->b_cont; in rcv_parse()
[all …]
H A Dstrsun.c45 if ((mp = mexchange(wq, mp, 1, M_ERROR, -1)) == NULL) in merror()
95 if (mp == NULL || MBLKSIZE(mp) < size || DB_REF(mp) > 1) { in mexchange()
107 mp->b_rptr = DB_BASE(mp); in mexchange()
108 mp->b_wptr = mp->b_rptr + size; in mexchange()
112 return (mp); in mexchange()
120 for (; mp != NULL; mp = mp->b_cont) in msgsize()
139 freemsg(mp); in mcopymsg()
161 mp->b_wptr = mp->b_rptr + sizeof (struct copyreq); in mcopyin()
188 mp->b_wptr = mp->b_rptr + sizeof (struct copyreq); in mcopyout()
194 mp->b_cont->b_wptr = mp->b_cont->b_rptr + size; in mcopyout()
[all …]
H A Drlmod.c313 mblk_t *mp; in rlmodclose() local
399 mp->b_wptr = mp->b_rptr; in rlmodrput()
473 freemsg(mp); in rlmodrput()
486 mblk_t *mp; in rlmodrsrv() local
526 mp->b_wptr = mp->b_rptr; in rlmodrsrv()
806 mblk_t *mp; in make_expmblk() local
828 mp->b_wptr = mp->b_rptr + 1; in make_expmblk()
866 newmp = mp; in rlmodrmsg()
868 while (mp) { in rlmodrmsg()
964 newcount += (mp->b_wptr - mp->b_rptr); in rlmodrmsg()
[all …]
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-library.man3mp.inc18 link path=usr/share/man/man3mp/mp_gcd.3mp target=mp.3mp
19 link path=usr/share/man/man3mp/mp_itom.3mp target=mp.3mp
20 link path=usr/share/man/man3mp/mp_madd.3mp target=mp.3mp
21 link path=usr/share/man/man3mp/mp_mcmp.3mp target=mp.3mp
22 link path=usr/share/man/man3mp/mp_mdiv.3mp target=mp.3mp
23 link path=usr/share/man/man3mp/mp_mfree.3mp target=mp.3mp
24 link path=usr/share/man/man3mp/mp_min.3mp target=mp.3mp
25 link path=usr/share/man/man3mp/mp_mout.3mp target=mp.3mp
27 link path=usr/share/man/man3mp/mp_msub.3mp target=mp.3mp
28 link path=usr/share/man/man3mp/mp_mtox.3mp target=mp.3mp
[all …]
/illumos-gate/usr/src/lib/libfstyp/common/
H A Dlibfstyp.c187 for (mp = h->modules; mp != NULL; mp = mp->next) { in fstyp_ident_all()
189 (mp->ops.fstyp_ident(mp->mod_handle) == 0)) { in fstyp_ident_all()
255 return (mp->ops.fstyp_get_attr(mp->mod_handle, attr)); in fstyp_get_attr()
274 return (mp->ops.fstyp_dump(mp->mod_handle, fout, ferr)); in fstyp_dump()
346 for (mp = h->modules; mp != NULL; mp = mp->next) { in fstyp_find_module_by_name()
369 *mpp = mp; in fstyp_init_module()
392 (void) strlcpy(mp->fsname, fsname, sizeof (mp->fsname)); in fstyp_init_module()
403 *mpp = mp; in fstyp_init_module()
421 free(mp); in fstyp_fini_module()
467 for (mp = h->modules; mp != NULL; mp = mp_next) { in fstyp_fini_all_modules()
[all …]
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_menu.c359 if ((mp = calloc(1, sizeof (*mp))) == NULL) { in grub_menu_init()
378 (void) snprintf(mp->gm_path, sizeof (mp->gm_path), in grub_menu_init()
427 mp = NULL; in grub_menu_init()
442 free(mp); in grub_menu_fini()
448 assert(mp); in grub_menu_next_line()
458 assert(mp); in grub_menu_prev_line()
470 assert(mp); in grub_menu_get_line()
484 assert(mp); in grub_menu_get_cmdline()
494 assert(mp); in grub_menu_next_entry()
506 assert(mp); in grub_menu_prev_entry()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dmacro.c175 mp->quoted = mp->lit = mp->split = mp->quote = 0; in sh_mactrim()
178 mp->ifs = *mp->ifsp; in sh_mactrim()
183 copyto(mp,0,mp->arith); in sh_mactrim()
213 mp->ifs = *mp->ifsp; in sh_macexpand()
221 mp->quoted = mp->lit = mp->quote = 0; in sh_macexpand()
255 endfield(mp,mp->quoted|mp->atmode); in sh_macexpand()
283 mp->split = mp->assign = mp->pattern = mp->patfound = mp->lit = mp->arith = mp->let = 0; in sh_machere()
746 if(mp->pattern && !(mp->quote || mp->lit)) in copyto()
768 if(mp->pattern==4 && (mp->quote || mp->lit)) in copyto()
785 if(!mp->pattern || !(mp->quote || mp->lit)) in copyto()
[all …]
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c65 mp->dmai_offset + mp->dmai_size); in pci_sc_pg_inv()
161 mp->dmai_mapping, mp->dmai_size, off, len); in pci_dma_sync()
316 ndi_fmc_remove(mp->dmai_rdip, DMA_HANDLE, mp); in pci_dma_freemp()
775 mp, MP_PFN0(mp) - pfn_adj); in pci_dma_pfn()
778 PCI_SET_MP_PFN(mp, 0, MP_PFN0(mp) - pfn_adj); in pci_dma_pfn()
978 mp->dmai_size, mp); in pci_dvma_map_fast()
1406 pci_dma_adjust(dmareq, mp, mp->dmai_winlst); in pci_dma_physwin()
1417 mp->dmai_ncookies = WINLST(mp)->win_ncookies; in pci_dma_physwin()
1566 ptr->mp = mp; in pci_dvma_alloc_debug()
1573 ptr->mp = mp; in pci_dvma_alloc_debug()
[all …]
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj.c835 mp->symhdr->sh_size = mp->nsyms * mp->symhdr->sh_entsize; in load_exec()
937 mp->nsyms = mp->symhdr->sh_size / mp->symhdr->sh_entsize; in load_linker()
940 (mp->shdrs + mp->symhdr->sh_link * mp->hdr.e_shentsize); in load_linker()
1561 mp->shdrs = mp->symspace; in kobj_export_ksyms()
1566 mp->chains = (symid_t *)(mp->buckets + mp->hashsize); in kobj_export_ksyms()
1903 kobj_free(mp, sizeof (*mp)); in kobj_load_module()
2552 mp->nsyms = mp->symhdr->sh_size / mp->symhdr->sh_entsize; in get_syms()
2562 mp->symtbl = mp->symspace; in get_syms()
2564 mp->chains = mp->buckets + mp->hashsize; in get_syms()
2565 mp->strings = (char *)(mp->chains + mp->nsyms); in get_syms()
[all …]
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfake_stream.c319 mp->b_next = mp->b_prev = mp->b_cont = NULL; in allocb()
401 mp = mp->b_cont; in msg_getcred()
436 mp = mp->b_cont; in msg_extractcred()
514 mp->b_wptr = mp->b_rptr = mp->b_datap->db_base; in reallocb()
653 mp->b_next = mp->b_prev = mp->b_cont = NULL; in gesballoc()
769 mp->b_next = mp->b_prev = mp->b_cont = NULL; in bcache_allocb()
863 mp->b_next = mp->b_prev = mp->b_cont = NULL; in allocb_wait()
1078 for (; mp->b_cont; mp = mp->b_cont) in linkb()
1176 mp->b_datap->db_mblk = mp; in pullupmsg()
1249 mp = mp->b_cont; in msgpullup()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_mem_acpi.c101 if (mp->sbm_mlist) { in dr_get_memlist()
181 ml = dr_get_memlist(mp); in dr_attach_mem()
231 dr_init_mem_unit_data(mp); in dr_attach_mem()
263 mp->phys_pages = 0; in dr_del_mlist_query()
264 mp->managed = 0; in dr_del_mlist_query()
265 mp->nonrelocatable = 0; in dr_del_mlist_query()
283 dr_mem_unit_t *mp; in dr_mem_status() local
334 p_mp = mp->sbm_peer; in dr_mem_status()
530 if (mp->sbm_mlist) { in dr_post_attach_mem()
532 mp->sbm_mlist = NULL; in dr_post_attach_mem()
[all …]
/illumos-gate/usr/src/lib/efcode/engine/
H A Dmcookie.c75 for (i = 0, mp = map_table; i < MAX_MAPS; i++, mp++) in mapping_to_mcookie()
101 for (i = 0, mp = map_table; i < MAX_MAPS; i++, mp++) { in delete_mapping()
104 mcookie < mp->map_add + mp->map_size) { in delete_mapping()
109 mp->map_add = 0; in delete_mapping()
110 mp->map_size = 0; in delete_mapping()
126 for (i = 0, mp = map_table; i < MAX_MAPS; i++, mp++) in is_mcookie()
129 mcookie < mp->map_add + mp->map_size) in is_mcookie()
146 for (i = 0, mp = map_table; i < MAX_MAPS; i++, mp++) { in mcookie_to_rlen()
149 mcookie < mp->map_add + mp->map_size) { in mcookie_to_rlen()
165 for (i = 0, mp = map_table; i < MAX_MAPS; i++, mp++) { in mcookie_to_rvirt()
[all …]

12345678910>>...43