Searched refs:mp (Results 76 - 100 of 214) sorted by relevance

123456789

/osnet-11/usr/src/lib/fm/topo/modules/common/usb/common/
H A Dusb.c75 usb_tnode_create(topo_mod_t *mp, tnode_t *pn, char *name,
750 get_usb_vpid(topo_mod_t *mp, di_node_t dn, char *tname, char **serial, argument
767 topo_mod_dprintf(mp,
772 (usb_promprop2int(mp, dn, "vendor-id", &vid) < 0)) {
773 topo_mod_dprintf(mp,
779 (usb_promprop2int(mp, dn, "device-id", &pid) < 0)) {
780 topo_mod_dprintf(mp,
786 topo_mod_dprintf(mp,
791 topo_mod_dprintf(mp,
798 topo_mod_dprintf(mp,
838 usb_tnode_create(topo_mod_t *mp, tnode_t *pn, char *name, topo_instance_t i, void *priv) argument
[all...]
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dppp-comp.h62 int (*decompress) __P((void *state, u_char *mp, int inlen,
65 void (*incomp) __P((void *state, u_char *mp, int len));
/osnet-11/usr/src/lib/libc/port/threads/
H A Dpthr_mutex.c243 mutex_t *mp = (mutex_t *)mutex; local
247 if (!(mp->mutex_type & PTHREAD_PRIO_PROTECT) ||
250 error = mutex_lock_internal(mp, NULL, MUTEX_LOCK | MUTEX_NOCEIL);
253 *oceil = mp->mutex_ceiling;
254 mp->mutex_ceiling = ceil;
255 error = mutex_unlock_internal(mp, 1);
265 pthread_mutex_getprioceiling(const pthread_mutex_t *mp, int *ceiling) argument
267 *ceiling = ((mutex_t *)mp)->mutex_ceiling;
/osnet-11/usr/src/lib/scsi/libses/common/
H A Dses_enclosure.c188 const struct config_member *mp; local
194 for (mp = &config_members[0]; mp->name != NULL; mp++) {
195 if (mp->func != NULL && tp->st_hdr.sehi_ed_len >= mp->minsz) {
196 err = mp->func(tp, nvl, mp->name);
/osnet-11/usr/src/lib/libsmedia/plugins/pcata/common/
H A Da_generic.c172 smdevice_info_t *mp = (smdevice_info_t *)ip; local
218 mp->sm_interface_type = IF_PCMCIA;
219 mp->sm_vendor_name = vendor_name;
220 mp->sm_product_name = product_name;
221 mp->sm_firmware_version = fw_version;
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus.c108 pci_label(topo_mod_t *mp, tnode_t *node, topo_version_t version, argument
112 return (topo_mod_seterrno(mp, EMOD_VER_NEW));
113 return (platform_pci_label(mp, node, in, out));
116 pci_fru(topo_mod_t *mp, tnode_t *node, topo_version_t version, argument
120 return (topo_mod_seterrno(mp, EMOD_VER_NEW));
121 return (platform_pci_fru(mp, node, in, out));
633 pciexbus_enum(topo_mod_t *mp, tnode_t *ptn, char *pnm, topo_instance_t min, argument
652 topo_mod_dprintf(mp,
657 if (did_hash_init(mp) != 0)
659 if ((did_create(mp, pd
670 pcibus_enum(topo_mod_t *mp, tnode_t *ptn, char *pnm, topo_instance_t min, topo_instance_t max, void *data) argument
759 pci_release(topo_mod_t *mp, tnode_t *node) argument
[all...]
H A Ddid_hash.c130 did_hash_insert(topo_mod_t *mp, di_node_t key, did_t *new) argument
132 did_hash_t *tab = (did_hash_t *)topo_mod_getspecific(mp);
157 did_hash_lookup(topo_mod_t *mp, di_node_t key) argument
160 did_hash_t *tab = (did_hash_t *)topo_mod_getspecific(mp);
/osnet-11/usr/src/lib/fm/topo/modules/common/xfp/common/
H A Dxfp.c131 xfp_fru_set(topo_mod_t *mp, tnode_t *tn) argument
138 topo_mod_dprintf(mp, "FRU_fmri_set error: %s\n",
139 topo_strerror(topo_mod_errno(mp)));
140 return (topo_mod_seterrno(mp, err));
145 return (topo_mod_seterrno(mp, err));
/osnet-11/usr/src/cmd/sendmail/db/db/
H A Ddb_pr.c186 BTMETA *mp; local
203 if ((ret = memp_fget(dbp->mpf, &i, 0, (PAGE **)&mp)) != 0) {
209 (u_long)LSN(mp).file, (u_long)LSN(mp).offset);
210 (void)fprintf(fp, "magic %#lx\n", (u_long)mp->magic);
211 (void)fprintf(fp, "version %#lx\n", (u_long)mp->version);
212 (void)fprintf(fp, "pagesize %lu\n", (u_long)mp->pagesize);
214 (u_long)mp->maxkey, (u_long)mp->minkey);
216 (void)fprintf(fp, "free list: %lu", (u_long)mp
815 BTMETA *mp; local
[all...]
/osnet-11/usr/src/cmd/sendmail/db/mp/
H A Dmp_bh.c24 #include "mp.h"
239 ++dbmp->mp->stat.st_page_create;
242 ++dbmp->mp->stat.st_page_in;
267 MPOOL *mp; local
275 mp = dbmp->mp;
395 --mp->lsn_cnt;
401 ++mp->stat.st_page_clean;
402 --mp->stat.st_page_dirty;
405 ++mp
[all...]
H A Dmp_fopen.c23 #include "mp.h"
317 for (mfp = SH_TAILQ_FIRST(&dbmp->mp->mpfq, __mpoolfile);
390 SH_TAILQ_INSERT_HEAD(&dbmp->mp->mpfq, mfp, q, __mpoolfile);
502 MPOOL *mp; local
506 mp = dbmp->mp;
524 for (bhp = SH_TAILQ_FIRST(&mp->bhq, __bh); bhp != NULL; bhp = nbhp) {
538 ++mp->stat.st_page_clean;
539 --mp->stat.st_page_dirty;
542 SH_TAILQ_INSERT_HEAD(&mp
[all...]
/osnet-11/usr/src/lib/libast/common/misc/
H A Doptget.c2310 register Sfio_t* mp; local
2378 if (!(mp = state.mp) && !(mp = state.mp = sfstropen()))
2472 sfputc(mp, '\f');
2509 sfputc(mp, '\n');
2562 sfputc(mp, c);
2565 sfputc(mp, '\\');
2566 sfputc(mp,
4034 register Sfio_t* mp; local
5500 register Sfio_t* mp; local
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dnvtree.c89 static Namfun_t *clone_tree(Namval_t *np, Namval_t *mp, int flags, Namfun_t *fp){ argument
96 walk_tree(np,mp,flags);
579 Namval_t *mp; local
600 mp = nv_opensub(np);
603 if(mp && special && nv_isvtree(mp))
607 mp = nv_opensub(np);
620 if(mp && nv_isarray(mp))
622 nv_outnode(mp, ou
959 Namval_t *mp=0; local
1105 Namval_t *mp = val?nv_open(val,shp->var_tree,NV_VARNAME|NV_NOADD|NV_NOASSIGN|NV_ARRAY|NV_NOFAIL):0; local
[all...]
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_set_med.c149 mddb_med_parm_t mp; local
395 (void) memset(&mp, '\0', sizeof (mddb_med_parm_t));
396 mp.med_setno = sp->setno;
399 if (meta_h2hi(&sd->sd_med, &mp.med, ep)) {
405 if (meta_med_hnm2ip(&mp.med, ep)) {
504 if (metaioctl(MD_MED_SET_LST, &mp, &mp.med_mde,
506 (void) mdstealerror(ep, &mp.med_mde);
605 (void) memset(&mp, '\0', sizeof (mddb_med_parm_t));
606 mp
733 mddb_med_parm_t mp; local
[all...]
H A Dmeta_sp.c121 static void meta_sp_printunit(mp_unit_t *mp);
126 static int meta_sp_setgeom(mdname_t *np, mdname_t *compnp, mp_unit_t *mp,
194 static void meta_sp_fillextarray(mp_unit_t *mp, sp_ext_node_t *extlist);
276 meta_sp_printunit(mp_unit_t *mp) argument
280 if (mp == NULL)
284 (void) fprintf(stderr, "\tmp->c.un_type: %d\n", mp->c.un_type);
285 (void) fprintf(stderr, "\tmp->c.un_size: %u\n", mp->c.un_size);
286 (void) fprintf(stderr, "\tmp->c.un_self_id: %lu\n", MD_SID(mp));
289 (void) fprintf(stderr, "\tmp->un_status: %u\n", mp->un_status);
290 (void) fprintf(stderr, "\tmp->un_numexts: %u\n", mp
421 meta_sp_setgeom( mdname_t *np, mdname_t *compnp, mp_unit_t *mp, md_error_t *ep ) argument
668 md_mirror_t *mp; local
3446 meta_sp_fillextarray( mp_unit_t *mp, sp_ext_node_t *extlist ) argument
3501 mp_unit_t *mp; local
3640 mp_unit_t *mp; local
4253 mp_unit_t *mp = NULL; local
4871 mp_unit_t *mp, *new_un; local
5918 mp_unit_t *mp; local
[all...]
/osnet-11/usr/src/lib/libldap4/common/
H A Dregex.c293 #define store(x) *mp++ = x
299 register CHAR *mp=nfa; /* nfa pointer */ local
318 lp = mp;
403 for (sp = mp; lp < sp; lp++)
408 sp = mp;
409 while (--mp > lp)
410 *mp = mp[-1];
412 mp = sp;
/osnet-11/usr/src/lib/libast/common/port/
H A Dlcgen.c276 Map_t* mp; local
560 if (!(mp = newof(0, Map_t, 1, s - b + 1)))
565 b = (char*)(mp + 1);
566 mp->link.code = copy(&b, arg[0]);
572 if (!(mp->language = (Language_t*)lookup(&state.language, arg[1])))
577 if (!(mp->territory = (Territory_t*)lookup(&state.territory, arg[2])))
583 mp->charset = 0;
584 else if (!(mp->charset = (Charset_t*)lookup(&state.charset, arg[3])))
589 mp->attribute = 0;
592 for (al = mp
[all...]
H A Dmc.c213 register char** mp; local
290 if (!(mp = vmnewof(vm, 0, char*, mc->nmsgs + mc->num + 1, 0)))
305 mc->set[i].msg = mp;
306 mp += n + 1;
378 register char** mp; local
407 mp = mc->set[set].msg + num;
408 while (num && !mp[--num]);
459 if (!(mp = vmnewof(mc->vm, 0, char*, i + 1, 0)))
462 sp->msg = mp;
464 mp[
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/common/
H A Dopl_topo.h82 int opl_hb_enum(topo_mod_t *mp, const ioboard_contents_t *iob,
/osnet-11/usr/src/lib/libbe/common/
H A Dbe_rename.c72 char *mp = NULL; local
229 if (zfs_is_mounted(zhp, &mp) && mp == NULL) {
240 bt.nbe_zpool, &fld, mp)) != BE_SUCCESS) {
/osnet-11/usr/src/lib/libc/i386/sys/
H A D_lwp_mutex_unlock.s44 SYSTRAP_RVAL1(lwp_mutex_wakeup) / lwp_mutex_wakeup(mp, 0)
/osnet-11/usr/src/lib/libc/sparc/sys/
H A D_lwp_mutex_unlock.s48 SYSTRAP_RVAL1(lwp_mutex_wakeup) ! lwp_mutex_wakeup(mp, 0)
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/platform-mem/common/
H A Dmem.c551 mem_dimm_map_t *mp; local
560 for (mp = mem->mem_dm; mp != NULL; mp = mp->dm_next) {
575 for (mp = mem->mem_dm, i = 0; mp != NULL; mp = mp->dm_next, i++) {
577 mp
[all...]
/osnet-11/usr/src/lib/libbsm/common/
H A Dau_open.c117 token_t *mp; local
146 for (mp = au_d[d]; mp->tt_next != NULL; mp = mp->tt_next) {
149 mp->tt_next = m;
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Ddev.c442 dev_fmri_create(topo_mod_t *mp, const char *id, const char *path) argument
447 if (topo_mod_nvalloc(mp, &out, NV_UNIQUE_NAME) != 0) {
448 (void) topo_mod_seterrno(mp, EMOD_FMRI_NVL);
461 topo_mod_dprintf(mp, "construction of dev nvl failed");
462 (void) topo_mod_seterrno(mp, EMOD_FMRI_NVL);
469 dev_fmri_create_meth(topo_mod_t *mp, tnode_t *node, topo_version_t version, argument
476 return (topo_mod_seterrno(mp, EMOD_VER_NEW));
480 topo_mod_dprintf(mp, "no path string in method argument\n");
481 return (topo_mod_seterrno(mp, EMOD_METHOD_INVAL));
486 if ((*out = dev_fmri_create(mp, i
[all...]

Completed in 1392 milliseconds

123456789