/osnet-11/usr/src/lib/libsmedia/plugins/blkdev/common/ |
H A D | b_generic.c | 79 smmedium_prop_t *mp = (smmedium_prop_t *)ip; local 104 mp->sm_media_type = SM_NOT_PRESENT; 105 mp->sm_version = SMMEDIA_PROP_V_1; 121 mp->sm_media_type = SM_BLOCK; 122 mp->sm_blocksize = minfo.dki_lbsize; 123 mp->sm_capacity = minfo.dki_capacity; 124 mp->sm_pcyl = dkg.dkg_pcyl; 125 mp->sm_nhead = dkg.dkg_nhead; 126 mp->sm_nsect = dkg.dkg_nsect; 137 smdevice_info_t *mp local [all...] |
/osnet-11/usr/src/lib/libsmedia/plugins/pcata/common/ |
H A D | a_generic.c | 172 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/efcode/engine/ |
H A D | mcookie.c | 75 struct map_table *mp; local 77 for (i = 0, mp = map_table; i < MAX_MAPS; i++, mp++) 78 if ((mp->map_flags & MAP_IS_VALID) == 0) 86 mp->map_flags |= MAP_IS_VALID; 87 mp->map_add = req_add; 88 mp->map_size = req_size; 89 mp->adj_virt = adj_virt; 90 mp->adj_length = adj_length; 91 if (mp 101 struct map_table *mp; local 125 struct map_table *mp; local 146 struct map_table *mp; local 165 struct map_table *mp; local [all...] |
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | fmd.c | 108 fmd_release(topo_mod_t *mp, tnode_t *node) argument 110 topo_method_unregister_all(mp, node);
|
H A D | legacy_hc.c | 105 legacy_hc_release(topo_mod_t *mp, tnode_t *node) argument 107 topo_method_unregister_all(mp, node);
|
H A D | topo_module.c | 335 topo_mod_t **pp, *mp; local 350 for (mp = *pp; mp != NULL; mp = mp->tm_next) { 351 if (mp == mod) 354 pp = &mp->tm_next; 357 if (mp != NULL) { 379 topo_mod_t *mp, **pp; local 387 mp [all...] |
H A D | topo_parse.c | 34 tf_info_new(topo_mod_t *mp, xmlDocPtr doc, xmlChar *scheme) argument 38 if ((r = topo_mod_zalloc(mp, sizeof (tf_info_t))) == NULL) { 39 (void) topo_mod_seterrno(mp, ETOPO_NOMEM); 43 if ((r->tf_scheme = topo_mod_strdup(mp, (char *)scheme)) == NULL) { 44 tf_info_free(mp, r); 45 (void) topo_mod_seterrno(mp, ETOPO_NOMEM); 53 tf_info_free(topo_mod_t *mp, tf_info_t *p) argument 58 topo_mod_strfree(mp, p->tf_scheme); 59 tf_rdata_free(mp, p->tf_rd); 60 topo_mod_free(mp, 64 tf_rdata_new(topo_mod_t *mp, tf_info_t *xinfo, xmlNodePtr n, tnode_t *troot) argument 111 tf_rdata_free(topo_mod_t *mp, tf_rdata_t *p) argument 125 tf_idata_new(topo_mod_t *mp, topo_instance_t i, tnode_t *tn) argument 138 tf_idata_free(topo_mod_t *mp, tf_idata_t *p) argument 177 tf_pad_new(topo_mod_t *mp, int pcnt, int dcnt) argument 191 tf_pad_free(topo_mod_t *mp, tf_pad_t *p) argument 209 tf_edata_free(topo_mod_t *mp, tf_edata_t *p) argument [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did_hash.c | 130 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);
|
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...] |
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/cpuboard/common/ |
H A D | cpuboard_hostbridge.c | 40 cpuboard_node_create(topo_mod_t *mp, tnode_t *parent, const char *name, argument 45 nvlist_t *auth = topo_mod_auth(mp, parent); 47 topo_mod_dprintf(mp, "cpuboard_node_create:\n"); 54 if ((fmri = topo_mod_hcfmri(mp, parent, FM_HC_SCHEME_VERSION, name, 56 topo_mod_dprintf(mp, "create of tnode for %s failed: %s", 57 name, topo_strerror(topo_mod_errno(mp))); 64 node = topo_node_bind(mp, parent, name, inst, fmri); 67 topo_mod_dprintf(mp, "unable to bind root complex: %s\n", 68 topo_strerror(topo_mod_errno(mp))); 83 * mp 90 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...] |
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/ |
H A D | mpool.c | 65 MPOOL *mp; local 82 if ((mp = (MPOOL *)calloc(1, sizeof(MPOOL))) == NULL) 84 CIRCLEQ_INIT(&mp->lqh); 86 CIRCLEQ_INIT(&mp->hqh[entry]); 87 mp->maxcache = maxcache; 88 mp->npages = sb.st_size / pagesize; 89 mp->pagesize = pagesize; 90 mp->fd = fd; 91 return (mp); 99 mpool_filter(mp, pgi [all...] |
/osnet-11/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_fopen.c | 23 #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...] |
H A D | mp_pr.c | 26 #include "mp.h" 62 **gspp = dbmp->mp->stat; 63 (*gspp)->st_hash_buckets = dbmp->mp->htab_buckets; 65 dbmp->mp->rlayout.lock.mutex_set_wait; 67 dbmp->mp->rlayout.lock.mutex_set_nowait; 68 (*gspp)->st_refcnt = dbmp->mp->rlayout.refcnt; 69 (*gspp)->st_regsize = dbmp->mp->rlayout.size; 81 mfp = SH_TAILQ_FIRST(&dbmp->mp->mpfq, __mpoolfile); 100 mfp = SH_TAILQ_FIRST(&dbmp->mp->mpfq, __mpoolfile); 174 MPOOL *mp; local [all...] |
H A D | mp_sync.c | 23 #include "mp.h" 40 MPOOL *mp; local 47 mp = dbmp->mp; 63 nalloc = mp->stat.st_page_dirty + mp->stat.st_page_dirty / 2 + 10; 79 if (!F_ISSET(mp, MP_LSN_RETRY) && log_compare(lsnp, &mp->lsn) <= 0) { 80 if (mp->lsn_cnt == 0) { 81 *lsnp = mp 320 MPOOL *mp; local 447 MPOOL *mp; local [all...] |
H A D | mp_bh.c | 24 #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...] |
/osnet-11/usr/src/lib/libumem/common/ |
H A D | stub_stand.c | 82 mutex_init(mutex_t *mp, int type, void *arg) argument 84 (void) memcpy(mp, &_mp, sizeof (mutex_t)); 90 mutex_destroy(mutex_t *mp) argument 97 _mutex_held(void *mp) argument 104 mutex_lock(mutex_t *mp) argument 111 mutex_trylock(mutex_t *mp) argument 118 mutex_unlock(mutex_t *mp) argument
|
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | getnetgrent_r.c | 67 NGR_R_CONST char *mp, *up, *dp; local 68 int res = getnetgrent(&mp, &up, &dp); 74 mp, up, dp, NGR_R_COPY)); 151 NGR_R_CONST char **domainp, const char *mp, const char *up, 163 if (mp != NULL) len += strlen(mp) + 1; 189 if (mp != NULL) { 190 n = strlen(mp) + 1; 191 strcpy(cp, mp); 150 copy_protoent(NGR_R_CONST char **machinep, NGR_R_CONST char **userp, NGR_R_CONST char **domainp, const char *mp, const char *up, const char *dp, NGR_R_COPY_ARGS) argument
|
/osnet-11/usr/src/lib/libnsctl/common/ |
H A D | machdep.c | 165 nsc_release_t *mp; local 195 for (mp = map; mp->build != NULL && mp->runtime != NULL; mp++) { 196 if (strcmp(mp->build, build_rel) == 0) { 204 *reqd = (char *)mp->runtime; 210 tofree = cp = strdup(mp->runtime);
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | paste.c | 85 static int paste(int nstream,Sfio_t* streams[],Sfio_t *out, register const char *delim, int dsiz, int dlen, Delim_t* mp) argument 111 if(mp) 113 z += mp[i].len; 132 if(mp) 133 sfwrite(out,mp[d].chr,mp[d].len); 148 static int spaste(Sfio_t *in,register Sfio_t* out,register const char *delim,int dsiz,int dlen,Delim_t* mp) argument 161 if(mp) 162 sfwrite(out,mp[d].chr,mp[ 181 Delim_t *mp; local [all...] |
H A D | uniq.c | 88 register char *cp, *ep, *mp, *bufp, *outp; local 135 mp = cp; 136 while (reclen < width && mp < ep) 139 mbchar(mp); 141 reclen = mp - cp;
|
/osnet-11/usr/src/lib/libdscfg/common/ |
H A D | cfg_lockdmsg.c | 85 read_msg(struct lock_msg *mp) argument 111 rc = recvfrom(lock_soc, mp, sizeof (*mp), 0, &from, &len);
|
/osnet-11/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/common/ |
H A D | opl_hostbridge.c | 65 opl_node_create(topo_mod_t *mp, tnode_t *parent, const char *name, int inst, argument 70 nvlist_t *auth = topo_mod_auth(mp, parent); 77 if ((fmri = topo_mod_hcfmri(mp, parent, FM_HC_SCHEME_VERSION, name, 79 topo_mod_dprintf(mp, "create of tnode for %s failed: %s", 80 name, topo_strerror(topo_mod_errno(mp))); 87 node = topo_node_bind(mp, parent, name, inst, fmri); 90 topo_mod_dprintf(mp, "unable to bind root complex: %s\n", 91 topo_strerror(topo_mod_errno(mp))); 105 opl_rc_node_create(topo_mod_t *mp, tnode_t *parent, di_node_t dnode, int inst) argument 113 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...] |
/osnet-11/usr/src/lib/fm/topo/modules/common/xfp/common/ |
H A D | xfp.c | 131 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/ast/msgcc/ |
H A D | msggen.c | 222 Sfio_t* mp; local 359 if (!(mp = sfopen(NiL, msgfile, "r"))) 375 while (s = sfgetr(mp, '\n', 1)) 413 t = s + sfvalue(mp); 428 while (s = sfgetr(mp, '\n', 0)) 431 t = s + sfvalue(mp);
|
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | au_open.c | 117 token_t *mp; local 146 for (mp = au_d[d]; mp->tt_next != NULL; mp = mp->tt_next) { 149 mp->tt_next = m;
|