/illumos-gate/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_menu.c | 48 append_line(grub_menu_t *mp, grub_line_t *lp) argument 50 if (mp->gm_start == NULL) { 51 mp->gm_start = lp; 53 mp->gm_end->gl_next = lp; 54 lp->gl_prev = mp->gm_end; 56 mp->gm_end = lp; 57 lp->gl_line_num = ++mp->gm_line_num; 62 process_line(grub_menu_t *mp) argument 67 lp = mp->gm_end; 107 add_entry(grub_menu_t *mp, grub_line_ argument 130 default_entry(grub_menu_t *mp) argument 182 free_entries(grub_menu_t *mp) argument 198 grub_menu_append_line(grub_menu_t *mp, const char *line) argument 261 grub_menu_process(grub_menu_t *mp) argument 349 grub_menu_t *mp; local 434 grub_menu_fini(grub_menu_t *mp) argument 446 grub_menu_next_line(const grub_menu_t *mp, const grub_line_t *lp) argument 456 grub_menu_prev_line(const grub_menu_t *mp, const grub_line_t *lp) argument 466 grub_menu_get_line(const grub_menu_t *mp, int num) argument 480 grub_menu_get_cmdline(const grub_menu_t *mp, int num, char *cmdl, size_t size) argument 492 grub_menu_next_entry(const grub_menu_t *mp, const grub_entry_t *ent) argument 504 grub_menu_prev_entry(const grub_menu_t *mp, const grub_entry_t *ent) argument 516 grub_menu_get_entry(const grub_menu_t *mp, int num) argument [all...] |
/illumos-gate/usr/src/uts/sparc/krtld/ |
H A D | kobj_isa.c | 63 struct module *mp; local 65 mp = (struct module *)xmp; 67 if ((adr >= mp->text && adr < mp->text + mp->text_size) || 68 (adr >= mp->data && adr < mp->data + mp->data_size)) 70 if (mp->bss && adr >= (caddr_t)mp 100 get_progbits_size(struct module *mp, struct proginfo *tp, struct proginfo *dp, struct proginfo *sdp) argument [all...] |
/illumos-gate/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_isa.c | 56 struct module *mp; local 58 mp = (struct module *)xmp; 60 if ((adr >= mp->text && adr < mp->text + mp->text_size) || 61 (adr >= mp->data && adr < mp->data + mp->data_size)) 63 if (mp->bss && adr >= (caddr_t)mp 84 get_progbits_size(struct module *mp, struct proginfo *tp, struct proginfo *dp, struct proginfo *sdp) argument [all...] |
/illumos-gate/usr/src/uts/intel/ia32/krtld/ |
H A D | kobj_isa.c | 56 struct module *mp; local 58 mp = (struct module *)xmp; 60 if ((adr >= mp->text && adr < mp->text + mp->text_size) || 61 (adr >= mp->data && adr < mp->data + mp->data_size)) 63 if (mp->bss && adr >= (caddr_t)mp 84 get_progbits_size(struct module *mp, struct proginfo *tp, struct proginfo *dp, struct proginfo *sdp) argument [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | util.c | 38 child_range_add(topo_mod_t *mp, tnode_t *tn, const char *cnm, argument 43 e = topo_node_range_create(mp, tn, cnm, imin, imax); 45 topo_mod_dprintf(mp, "add child range (%s) failed: %s\n", 46 cnm, topo_strerror(topo_mod_errno(mp))); 53 strtonum(topo_mod_t *mp, char *str, int *err) argument 60 topo_mod_dprintf(mp, 70 get_pci_vpd_sn_pn(topo_mod_t *mp, di_node_t dn, char **serial, char **part) argument 75 if ((promtree = topo_mod_prominfo(mp)) == DI_PROM_HANDLE_NIL) { 76 topo_mod_dprintf(mp, 84 *serial = topo_mod_strdup(mp, 94 tnode_create(topo_mod_t *mp, tnode_t *parent, const char *name, topo_instance_t i, void *priv) argument 141 labelmethod_inherit(topo_mod_t *mp, tnode_t *tn, nvlist_t *in, nvlist_t **out) argument [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/cpuboard/ |
H A D | cpuboard_hostbridge.c | 41 cpuboard_node_create(topo_mod_t *mp, tnode_t *parent, const char *name, argument 46 nvlist_t *auth = topo_mod_auth(mp, parent); 48 topo_mod_dprintf(mp, "cpuboard_node_create:\n"); 55 if ((fmri = topo_mod_hcfmri(mp, parent, FM_HC_SCHEME_VERSION, name, 57 topo_mod_dprintf(mp, "create of tnode for %s failed: %s", 58 name, topo_strerror(topo_mod_errno(mp))); 65 node = topo_node_bind(mp, parent, name, inst, fmri); 68 topo_mod_dprintf(mp, "unable to bind root complex: %s\n", 69 topo_strerror(topo_mod_errno(mp))); 84 * mp 91 cpuboard_rc_node_create(topo_mod_t *mp, tnode_t *parent, di_node_t dnode, char *rcpath, int inst) argument 209 cpuboard_hb_node_create(topo_mod_t *mp, tnode_t *parent, int inst) argument 241 cpuboard_hb_enum(topo_mod_t *mp, di_node_t dnode, char *rcpath, tnode_t *cpubn, int brd) argument [all...] |
/illumos-gate/usr/src/lib/libfstyp/common/ |
H A D | libfstyp.c | 98 fstyp_module_t *mp); 102 fstyp_module_t *mp); 180 fstyp_module_t *mp; local 187 for (mp = h->modules; mp != NULL; mp = mp->next) { 188 if ((fstyp_load_module(h, mp) == 0) && 189 (mp->ops.fstyp_ident(mp 210 fstyp_module_t *mp; local 249 fstyp_module_t *mp = h->ident; local 264 fstyp_module_t *mp = h->ident; local 344 fstyp_module_t *mp; local 364 fstyp_module_t *mp; local 412 fstyp_fini_module(struct fstyp_handle *h, fstyp_module_t *mp) argument 465 fstyp_module_t *mp, *mp_next; local 479 fstyp_load_module(struct fstyp_handle *h, fstyp_module_t *mp) argument 521 fstyp_unload_module(struct fstyp_handle *h, fstyp_module_t *mp) argument [all...] |
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | cond.c | 71 cv_wait(kcondvar_t *cv, kmutex_t *mp) argument 73 (void) cv__wait(cv, mp, 0); 77 cv_wait_sig(kcondvar_t *cv, kmutex_t *mp) argument 79 return (cv__wait(cv, mp, 1)); 83 cv__wait(kcondvar_t *cv, kmutex_t *mp, int sigok) argument 88 ASSERT(mp->m_owner == _curthread()); 89 mp->m_owner = _KTHREAD_INVALID; 90 err = _lwp_cond_wait(cv, &mp->m_lock); 91 mp->m_owner = _curthread(); 104 cv_timedwait(kcondvar_t *cv, kmutex_t *mp, clock_ argument 113 cv_timedwait_sig(kcondvar_t *cv, kmutex_t *mp, clock_t abstime) argument 122 cv_reltimedwait(kcondvar_t *cv, kmutex_t *mp, clock_t delta, time_res_t res) argument 130 cv_reltimedwait_sig(kcondvar_t *cv, kmutex_t *mp, clock_t delta, time_res_t res) argument 146 cv__twait(kcondvar_t *cv, kmutex_t *mp, clock_t delta, int sigok) argument [all...] |
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | lwp_cond.c | 37 _lwp_cond_wait(cond_t *cv, mutex_t *mp) argument 41 error = ___lwp_cond_wait(cv, mp, NULL, 0); 42 if (mp->mutex_type & (PTHREAD_PRIO_INHERIT|PTHREAD_PRIO_PROTECT)) 43 (void) ___lwp_mutex_timedlock(mp, NULL, NULL); 45 (void) _lwp_mutex_lock(mp); 50 _lwp_cond_reltimedwait(cond_t *cv, mutex_t *mp, timespec_t *relts) argument 57 error = ___lwp_cond_wait(cv, mp, relts, 0); 58 if (mp->mutex_type & (PTHREAD_PRIO_INHERIT|PTHREAD_PRIO_PROTECT)) 59 (void) ___lwp_mutex_timedlock(mp, NULL, NULL); 61 (void) _lwp_mutex_lock(mp); 66 _lwp_cond_timedwait(cond_t *cv, mutex_t *mp, timespec_t *absts) argument [all...] |
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_api.c | 92 fmd_api_vxerror(fmd_module_t *mp, int err, const char *format, va_list ap) argument 135 if (mp != fmd.d_self && (raw_err != EFMD_HDL_ABORT || fmd.d_running)) { 139 nvl = fmd_protocol_moderror(mp, err, msg); 168 fmd.d_pname, mp->mod_name, msg); 174 fmd.d_pname, mp->mod_name, msg); 182 fmd_api_xerror(fmd_module_t *mp, int err, const char *format, ...) argument 187 fmd_api_vxerror(mp, err, format, ap); 198 fmd_api_verror(fmd_module_t *mp, int err, const char *format, va_list ap) argument 200 if (fmd_module_locked(mp)) 201 fmd_module_unlock(mp); 209 fmd_api_error(fmd_module_t *mp, int err, const char *format, ...) argument 226 fmd_module_t *mp; local 279 fmd_module_t *mp = fmd_api_module(hdl); local 296 fmd_api_case_impl(fmd_module_t *mp, fmd_case_t *cp) argument 319 fmd_module_t *mp = fmd_api_module(hdl); local 338 fmd_hdl_register_error(fmd_module_t *mp, int err) argument 357 fmd_module_t *mp = tp->thr_mod; local 543 fmd_module_thrcancel(fmd_idspace_t *ids, id_t id, fmd_module_t *mp) argument 577 fmd_module_unregister(fmd_module_t *mp) argument 649 fmd_module_t *mp = fmd_api_module_lock(hdl); local 657 fmd_module_t *mp = fmd_api_module_lock(hdl); local 672 fmd_module_t *mp = fmd_api_module_lock(hdl); local 687 fmd_module_t *mp = fmd_api_module_lock(hdl); local 696 fmd_module_t *mp = fmd_api_module_lock(hdl); local 706 fmd_module_t *mp = fmd_api_module_lock(hdl); local 734 fmd_module_t *mp = fmd_api_module_lock(hdl); local 752 fmd_module_t *mp = fmd_api_module_lock(hdl); local 762 fmd_hdl_alloc_locked(fmd_module_t *mp, size_t size, int flags) argument 783 fmd_module_t *mp = fmd_api_module_lock(hdl); local 804 fmd_hdl_free_locked(fmd_module_t *mp, void *data, size_t size) argument 813 fmd_module_t *mp = fmd_api_module_lock(hdl); local 853 fmd_module_t *mp = fmd_api_module_lock(hdl); local 864 fmd_module_t *mp = fmd_api_module_lock(hdl); local 883 fmd_module_t *mp = fmd_api_module_lock(hdl); local 938 fmd_module_t *mp = fmd_api_module_lock(hdl); local 960 fmd_module_t *mp = fmd_api_module_lock(hdl); local 982 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1005 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1013 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1034 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1043 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1060 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1069 fmd_module_t *mp; local 1102 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1117 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1132 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1143 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1154 fmd_module_t *cmp, *mp = fmd_api_module_lock(hdl); local 1170 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1184 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1201 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1223 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1240 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1263 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1276 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1299 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1400 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1413 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1428 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1441 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1456 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1470 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1486 fmd_buf_gethash(fmd_module_t *mp, fmd_case_t *cp) argument 1494 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1531 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1552 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1571 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1612 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1630 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1646 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1656 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1666 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1682 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1703 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1720 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1737 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1764 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1811 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1826 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1846 fmd_module_t *mp; local 1902 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1930 fmd_module_t *mp = fmd_api_module_lock(hdl); local 1960 fmd_module_t *mp; local 2003 fmd_module_t *mp = fmd_api_module_lock(hdl); local 2016 fmd_module_t *mp = fmd_api_module_lock(hdl); local 2030 fmd_module_t *mp = fmd_api_module_lock(hdl); local 2044 fmd_module_t *mp = fmd_api_module_lock(hdl); local 2060 fmd_module_t *mp = fmd_api_module_lock(hdl); local 2082 fmd_module_t *mp = fmd_api_module_lock(hdl); local 2099 fmd_module_t *mp = fmd_api_module_lock(hdl); local 2121 fmd_module_t *mp = fmd_api_module_lock(hdl); local 2138 fmd_module_t *mp = fmd_api_module_lock(hdl); local 2155 fmd_module_t *mp = fmd_api_module_lock(hdl); local 2202 fmd_module_t *mp = fmd_api_module_lock(hdl); local 2245 fmd_module_t *mp = fmd_api_module_lock(hdl); local 2267 fmd_module_t *mp = fmd_api_module_lock(hdl); local 2283 fmd_module_t *mp = va_arg(ap, fmd_module_t *); local 2293 fmd_module_t *mp = ops->nva_arg; local 2301 fmd_module_t *mp = ops->nva_arg; local 2309 fmd_module_t *mp = ops->nva_arg; local 2333 fmd_module_t *mp = fmd_api_module_lock(hdl); local 2356 fmd_module_t *mp = fmd_api_module_lock(hdl); local 2427 fmd_module_t *mp = fmd_api_module_lock(hdl); local 2458 fmd_module_t *mp = fmd_api_module_lock(hdl); local 2481 fmd_module_t *mp = fmd_api_module(hdl); local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/ |
H A D | opl_hostbridge.c | 66 opl_node_create(topo_mod_t *mp, tnode_t *parent, const char *name, int inst, argument 71 nvlist_t *auth = topo_mod_auth(mp, parent); 78 if ((fmri = topo_mod_hcfmri(mp, parent, FM_HC_SCHEME_VERSION, name, 80 topo_mod_dprintf(mp, "create of tnode for %s failed: %s", 81 name, topo_strerror(topo_mod_errno(mp))); 88 node = topo_node_bind(mp, parent, name, inst, fmri); 91 topo_mod_dprintf(mp, "unable to bind root complex: %s\n", 92 topo_strerror(topo_mod_errno(mp))); 106 opl_rc_node_create(topo_mod_t *mp, tnode_t *parent, di_node_t dnode, int inst) argument 114 rcn = opl_node_create(mp, paren 234 opl_hb_node_create(topo_mod_t *mp, tnode_t *parent, int inst) argument 259 opl_hb_enum(topo_mod_t *mp, const ioboard_contents_t *iob, tnode_t *ion, int brd) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | pckt.c | 317 mblk_t *mp) /* Pointer to the current message block */ 322 switch (mp->b_datap->db_type) { 329 if ((*mp->b_rptr & FLUSHRW) != FLUSHRW) 330 if ((*mp->b_rptr & FLUSHRW) == FLUSHR) 331 *mp->b_rptr = FLUSHW; 332 else if ((*mp->b_rptr & FLUSHRW) == FLUSHW) 333 *mp->b_rptr = FLUSHR; 335 pckt_msgp = copymsg(mp); 336 if (*mp->b_rptr & FLUSHW) { 345 *mp 315 pcktrput( queue_t *q, mblk_t *mp) argument 422 mblk_t *mp; local 480 pcktwput( queue_t *q, mblk_t *mp) argument 545 add_ctl_info( queue_t *q, mblk_t *mp) argument [all...] |
H A D | sundlpi.c | 44 mblk_t *mp, 55 if ((mp = mexchange(wq, mp, size, M_PCPROTO, DL_BIND_ACK)) == NULL) 58 dlp = (union DL_primitives *)mp->b_rptr; 65 bcopy(addrp, mp->b_rptr + sizeof (dl_bind_ack_t), addrlen); 66 qreply(wq, mp); 72 mblk_t *mp, 77 if ((mp = mexchange(wq, mp, sizeof (dl_ok_ack_t), M_PCPROTO, 80 dlp = (union DL_primitives *)mp 42 dlbindack( queue_t *wq, mblk_t *mp, t_scalar_t sap, const void *addrp, t_uscalar_t addrlen, t_uscalar_t maxconind, t_uscalar_t xidtest) argument 70 dlokack( queue_t *wq, mblk_t *mp, t_uscalar_t correct_primitive) argument 86 dlerrorack( queue_t *wq, mblk_t *mp, t_uscalar_t error_primitive, t_uscalar_t error, t_uscalar_t unix_errno) argument 106 dluderrorind( queue_t *wq, mblk_t *mp, const void *addrp, t_uscalar_t addrlen, t_uscalar_t error, t_uscalar_t unix_errno) argument 132 dlphysaddrack( queue_t *wq, mblk_t *mp, const void *addrp, t_uscalar_t len) argument 175 dlnotifyack( queue_t *wq, mblk_t *mp, uint32_t notifications) argument 196 mblk_t *mp = *mpp; local 286 mblk_t *mp; local 312 mblk_t *mp; local 353 mblk_t *mp; local 407 mblk_t *mp; local 451 mblk_t *mp; local [all...] |
H A D | telmod.c | 134 static int rcv_parse(queue_t *q, mblk_t *mp); 135 static int snd_parse(queue_t *q, mblk_t *mp); 308 mblk_t *mp; local 316 while (mp = getq(WR(q))) 317 putnext(WR(q), mp); local 356 telmodrput(queue_t *q, mblk_t *mp) argument 362 if ((mp->b_datap->db_type < QPCTL) && 365 (void) putq(q, mp); 369 switch (mp->b_datap->db_type) { 375 * create a M_CTL message block with the mp 513 mblk_t *mp, *newmp; local 651 telmodwput( queue_t *q, mblk_t *mp) argument 861 mblk_t *mp, *savemp; local 940 rcv_parse(queue_t *q, mblk_t *mp) argument 1127 snd_parse(queue_t *q, mblk_t *mp) argument 1235 recover(queue_t *q, mblk_t *mp, size_t size) argument [all...] |
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/ |
H A D | med_synch.c | 60 mutex_t *mp 65 assert(MUTEX_HELD(mp)); 66 if (((err = cond_wait(cvp, mp)) != 0) && 77 mutex_t *mp, 85 assert(MUTEX_HELD(mp)); 99 if (((err = cond_wait(cvp, mp)) != 0) && 135 mutex_t *mp 138 if (mutex_init(mp, USYNC_THREAD, NULL) != 0) { 146 mutex_t *mp 149 if (mutex_destroy(mp) ! 75 med_cv_timedwait( cond_t *cvp, mutex_t *mp, med_msec_t to ) argument [all...] |
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/ |
H A D | mhd_synch.c | 59 mutex_t *mp 64 assert(MUTEX_HELD(mp)); 65 if (((err = cond_wait(cvp, mp)) != 0) && 76 mutex_t *mp, 84 assert(MUTEX_HELD(mp)); 98 if (((err = cond_wait(cvp, mp)) != 0) && 134 mutex_t *mp 137 if (mutex_init(mp, USYNC_THREAD, NULL) != 0) { 145 mutex_t *mp 148 if (mutex_destroy(mp) ! 74 mhd_cv_timedwait( cond_t *cvp, mutex_t *mp, mhd_msec_t to ) argument [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | calloc.c | 50 ptr_t mp; local 54 mp = malloc(num); 55 if (mp == NULL) 57 bzero(mp, num); 58 return ((ptr_t)(mp));
|
/illumos-gate/usr/src/lib/libmapmalloc/common/ |
H A D | calloc.c | 38 void *mp; local 53 mp = malloc(total); 54 if (mp == NULL) 56 (void) memset(mp, 0, total); 57 return (mp);
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_parse.c | 35 tf_info_new(topo_mod_t *mp, xmlDocPtr doc, xmlChar *scheme) argument 39 if ((r = topo_mod_zalloc(mp, sizeof (tf_info_t))) == NULL) 42 if ((r->tf_scheme = topo_mod_strdup(mp, (char *)scheme)) == NULL) { 43 tf_info_free(mp, r); 51 tf_info_free(topo_mod_t *mp, tf_info_t *p) argument 56 topo_mod_strfree(mp, p->tf_scheme); 57 tf_rdata_free(mp, p->tf_rd); 58 topo_mod_free(mp, p, sizeof (tf_info_t)); 62 tf_rdata_new(topo_mod_t *mp, tf_info_t *xinfo, xmlNodePtr n, tnode_t *troot) argument 68 topo_dprintf(mp 109 tf_rdata_free(topo_mod_t *mp, tf_rdata_t *p) argument 123 tf_idata_new(topo_mod_t *mp, topo_instance_t i, tnode_t *tn) argument 136 tf_idata_free(topo_mod_t *mp, tf_idata_t *p) argument 175 tf_pad_new(topo_mod_t *mp, int pcnt, int dcnt) argument 189 tf_pad_free(topo_mod_t *mp, tf_pad_t *p) argument 206 tf_edata_free(topo_mod_t *mp, tf_edata_t *p) argument [all...] |
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_dma.c | 53 * right after (accessed through (ddi_dma_attr_t *)(mp + 1)) is used 62 register ddi_dma_impl_t *mp; local 66 if ((mp = kmem_alloc(sizeof (px_dma_hdl_t), sleep)) == 0) { 72 return (mp); 75 mp->dmai_rdip = rdip; 76 mp->dmai_flags = 0; 77 mp->dmai_pfnlst = NULL; 78 mp->dmai_winlst = NULL; 82 * mp->dmai_mapping = 0; 83 * mp 132 px_dma_freemp(ddi_dma_impl_t *mp) argument 143 px_dma_freepfn(ddi_dma_impl_t *mp) argument 179 ddi_dma_impl_t *mp; local 267 px_dma_attr2hdl(px_t *px_p, ddi_dma_impl_t *mp) argument 386 px_dma_type(px_t *px_p, ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp) argument 471 px_dma_pgpfn(px_t *px_p, ddi_dma_impl_t *mp, uint_t npages) argument 517 px_dma_vapfn(px_t *px_p, ddi_dma_impl_t *mp, uint_t npages) argument 550 px_dma_pfn(px_t *px_p, ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp) argument 630 px_dvma_win(px_t *px_p, ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp) argument 700 px_dvma_map_fast(px_mmu_t *mmu_p, ddi_dma_impl_t *mp) argument 770 mp->dmai_size, mp); local 779 px_dvma_map(ddi_dma_impl_t *mp, ddi_dma_req_t *dmareq, px_mmu_t *mmu_p) argument 856 px_dvma_unmap(px_mmu_t *mmu_p, ddi_dma_impl_t *mp) argument 895 px_dvma_ctl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_impl_t *mp, enum ddi_dma_ctlops cmd, off_t *offp, size_t *lenp, caddr_t *objp, uint_t cache_flags) argument 909 px_dma_freewin(ddi_dma_impl_t *mp) argument 952 px_dma_newwin(dev_info_t *dip, ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp, uint32_t cookie_no, uint32_t start_idx, uint32_t end_idx, px_dma_win_t **win_pp, uint64_t count_max, uint64_t bypass) argument 1047 px_dma_adjust(ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp, px_dma_win_t *win_p) argument 1126 px_dma_physwin(px_t *px_p, ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp) argument 1243 px_dma_ctl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_impl_t *mp, enum ddi_dma_ctlops cmd, off_t *offp, size_t *lenp, caddr_t *objp, uint_t cache_flags) argument 1306 px_dvma_alloc_debug(px_mmu_t *mmu_p, char *address, uint_t len, ddi_dma_impl_t *mp) argument 1339 px_dvma_free_debug(px_mmu_t *mmu_p, char *address, uint_t len, ddi_dma_impl_t *mp) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/dlpistub/ |
H A D | dlpistub.c | 181 ds_badprim(queue_t *q, mblk_t *mp, t_scalar_t prim) argument 183 dlerrorack(q, mp, prim, DL_BADPRIM, 0); 188 ds_outstate(queue_t *q, mblk_t *mp, t_scalar_t prim) argument 190 dlerrorack(q, mp, prim, DL_OUTSTATE, 0); 195 ds_wput(queue_t *q, mblk_t *mp) argument 202 switch (DB_TYPE(mp)) { 205 if (MBLKL(mp) < sizeof (t_scalar_t)) { 206 dlerrorack(q, mp, DL_PRIM_INVAL, DL_UNSUPPORTED, 0); 210 dlp = (void *)mp->b_rptr; 214 if (MBLKL(mp) < DL_ATTACH_REQ_SIZ [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | squeue.h | 39 #define SET_SQUEUE(mp, proc, arg) { \ 40 ASSERT((mp)->b_prev == NULL); \ 41 ASSERT((mp)->b_next == NULL); \ 42 (mp)->b_queue = (queue_t *)(proc); \ 43 (mp)->b_prev = (mblk_t *)(arg); \ 54 #define SQUEUE_ENTER_ONE(sqp, mp, proc, arg, ira, flag, tag) { \ 55 ASSERT(mp->b_next == NULL); \ 56 ASSERT(mp->b_prev == NULL); \ 57 SET_SQUEUE(mp, proc, arg); \ 58 SQUEUE_ENTER(sqp, mp, m [all...] |
H A D | mnttab.h | 48 #define mntnull(mp)\ 49 ((mp)->mnt_special = (mp)->mnt_mountp = \ 50 (mp)->mnt_fstype = (mp)->mnt_mntopts = \ 51 (mp)->mnt_time = NULL) 53 #define putmntent(fd, mp) (-1)
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | stub_stand.c | 86 mutex_init(mutex_t *mp, int type, void *arg) argument 88 (void) memcpy(mp, &_mp, sizeof (mutex_t)); 94 mutex_destroy(mutex_t *mp) argument 101 _mutex_held(void *mp) argument 108 mutex_lock(mutex_t *mp) argument 115 mutex_trylock(mutex_t *mp) argument 122 mutex_unlock(mutex_t *mp) argument
|
/illumos-gate/usr/src/uts/common/io/softmac/ |
H A D | softmac_pkt.c | 31 softmac_m_tx(void *arg, mblk_t *mp) argument 38 if (mp->b_next == NULL) { 40 return (mp); 42 mp->b_flag |= MSGNOLOOP; 43 putnext(wq, mp); 47 while (mp != NULL) { 48 mblk_t *next = mp->b_next; 52 mp->b_next = NULL; 53 mp->b_flag |= MSGNOLOOP; 54 putnext(wq, mp); 61 softmac_rput_process_data(softmac_lower_t *slp, mblk_t *mp) argument 100 softmac_output(softmac_lower_t *slp, mblk_t *mp, t_uscalar_t dl_prim, t_uscalar_t ack, mblk_t **mpp) argument 163 softmac_ioctl_tx(softmac_lower_t *slp, mblk_t *mp, mblk_t **mpp) argument 210 softmac_proto_tx(softmac_lower_t *slp, mblk_t *mp, mblk_t **mpp) argument [all...] |