Home
last modified time | relevance | path

Searched refs:ipath (Results 1 – 19 of 19) sorted by relevance

/titanic_41/usr/src/cmd/fm/modules/common/eversholt/
H A Dipath.c72 ipath_cmp(struct ipath *ipp1, struct ipath *ipp2) in ipath_cmp()
103 ipath_epnamecmp(struct ipath *ipp, struct node *np) in ipath_epnamecmp()
151 const struct ipath *ipp; in ipath_dummy_lut()
167 struct ipath *
168 ipath_dummy(struct node *np, struct ipath *ipp) in ipath_dummy()
170 struct ipath *ret; in ipath_dummy()
189 stats_counter_add(Nbytes, 2 * sizeof (struct ipath)); in ipath_dummy()
193 struct ipath *
196 struct ipath *ret, *ipp; in ipath_for_usednames()
215 stats_counter_add(Nbytes, (i + 1) * sizeof (struct ipath)); in ipath_for_usednames()
[all …]
H A Dipath.h37 const struct ipath *ipath(struct node *np);
38 void ipathlastcomp(const struct ipath *ipp);
39 char *ipath2str(const char *ename, const struct ipath *ipp);
40 size_t ipath2strlen(const char *ename, const struct ipath *ipp);
41 void ipath_print(int flags, const char *ename, const struct ipath *ipp);
H A Deft_mdb.c169 struct ipath *ipath; in ipath_walk_init() local
171 ipath = mdb_alloc(sizeof (struct ipath), UM_SLEEP); in ipath_walk_init()
173 if (mdb_vread((void *)ipath, sizeof (struct ipath), in ipath_walk_init()
174 wsp->walk_addr) != sizeof (struct ipath)) { in ipath_walk_init()
178 wsp->walk_data = (void *)ipath; in ipath_walk_init()
180 if (ipath->s == NULL) in ipath_walk_init()
189 mdb_free(wsp->walk_data, sizeof (struct ipath)); in ipath_walk_fini()
196 struct ipath *ipath = (struct ipath *)wsp->walk_data; in ipath_walk_step() local
197 struct ipath *ip = (struct ipath *)wsp->walk_addr; in ipath_walk_step()
199 if (ip == NULL || ipath->s == NULL) in ipath_walk_step()
[all …]
H A Dfme.h109 const struct ipath *ipath; member
117 const struct ipath *ipath; member
H A Ditree.h82 const struct ipath *ipp; /* instanced version of event */
83 const struct ipath *ipp_un; /* full version for Usednames */
143 const char *ename, const struct ipath *ipp);
H A Dfme.c151 const char *eventstring, const struct ipath *ipp, nvlist_t *nvl);
153 struct stats *statp, const struct ipath *ipp);
157 const struct ipath *ipp);
217 extern struct lut *itree_create_dummy(const char *, const struct ipath *);
259 prune_propagations(const char *e0class, const struct ipath *e0ipp) in prune_propagations()
325 newfme(const char *e0class, const struct ipath *e0ipp, fmd_hdl_t *hdl, in newfme()
501 serialize_observation(struct fme *fp, const char *cls, const struct ipath *ipp) in serialize_observation()
634 stable(estr), ipath(epnamenp)); in reconstitute_observations()
639 tmpbuf, ipath2str(estr, ipath(epnamenp))); in reconstitute_observations()
799 (void) prune_propagations(stable(estr), ipath(epnamenp)); in fme_restart()
[all …]
H A Dipath_impl.h40 struct ipath { struct
H A Dplatform.h66 const struct ipath *platform_fault2ipath(nvlist_t *flt);
H A DMakefile39 fme.c iexpr.c io.c ipath.c itree.c lut.c literals.c out.c platform.c \
H A Deval.c271 path = ipath2str(NULL, ipath(nodep)); in eval_func()
351 path = ipath2str(NULL, ipath(lhs)); in eval_func()
358 path = ipath2str(NULL, ipath(rhs)); in eval_func()
422 path = ipath2str(NULL, ipath(nodep)); in eval_func()
460 path = ipath2str(NULL, ipath(nodep)); in eval_func()
497 path = ipath2str(NULL, ipath(nodep)); in eval_func()
521 path = ipath2str(NULL, ipath(nodep)); in eval_func()
561 ent.ipath = ipath(nodep); in eval_func()
616 ipath((struct node *) in eval_func()
1296 ipath((struct node *)(uintptr_t)lp->v)); in check_expr_args()
[all …]
H A Ditree.c491 itree_lookup(struct lut *itp, const char *ename, const struct ipath *ipp) in itree_lookup()
515 searchevent.ipp = ipath(np->u.event.epname); in find_or_add_event()
1443 add_event_dummy(struct node *np, const struct ipath *ipp) in add_event_dummy()
1447 extern struct ipath *ipath_dummy(struct node *, struct ipath *); in add_event_dummy()
1448 struct ipath *ipp_un; in add_event_dummy()
1449 extern struct ipath *ipath_for_usednames(struct node *); in add_event_dummy()
1452 searchevent.ipp = ipath_dummy(np->u.event.epname, (struct ipath *)ipp); in add_event_dummy()
1471 itree_create_dummy(const char *e0class, const struct ipath *e0ipp) in itree_create_dummy()
H A Dplatform.c1173 addthisarg = ipath2str(NULL, ipath(namep)); in arglist2argv()
1192 addthisarg = ipath2str(NULL, ipath(np)); in arglist2argv()
1196 ipath(np->u.event.epname)); in arglist2argv()
2203 const struct ipath *
2209 const struct ipath *ip; in platform_fault2ipath()
2229 ip = ipath(np); in platform_fault2ipath()
/titanic_41/usr/src/lib/libc/port/gen/
H A Diconv.c90 char *ipath; in iconv_open() local
98 ipath = malloc(MAXPATHLEN); in iconv_open()
99 if (ipath == NULL) { in iconv_open()
104 cd->_conv = iconv_open_all(tocode, fromcode, ipath); in iconv_open()
107 free(ipath); in iconv_open()
114 cd->_conv = iconv_search_alias(tocode, fromcode, ipath); in iconv_open()
115 free(ipath); in iconv_open()
232 iconv_open_all(const char *to, const char *from, char *ipath) in iconv_open_all() argument
247 len = snprintf(ipath, MAXPATHLEN, _GENICONVTBL_PATH, from, to); in iconv_open_all()
248 if ((len <= MAXPATHLEN) && (access(ipath, R_OK) == 0)) { in iconv_open_all()
[all …]
/titanic_41/usr/src/cmd/sgs/librtld/common/
H A Ddldump.c162 char *shstr, *_shstr, *ipath = NAME(lmp); in rt_dldump() local
191 eprintf(lml, ERR_FATAL, MSG_INTL(MSG_SYS_PROC), ipath, in rt_dldump()
209 ipath, strerror(err)); in rt_dldump()
222 if ((fd = open(ipath, O_RDONLY, 0)) == -1) { in rt_dldump()
224 eprintf(lml, ERR_FATAL, MSG_INTL(MSG_SYS_OPEN), ipath, in rt_dldump()
236 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_BEGIN), ipath); in rt_dldump()
245 eprintf(lml, ERR_FATAL, MSG_INTL(MSG_IMG_ELF), ipath); in rt_dldump()
272 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_GETPHDR), ipath); in rt_dldump()
304 eprintf(lml, ERR_WARNING, MSG_INTL(MSG_IMG_DATASEG), ipath); in rt_dldump()
313 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_GETSHDRSTRNDX), ipath); in rt_dldump()
[all …]
/titanic_41/usr/src/cmd/sgs/rtld/common/
H A Ddlfcns.c1652 dldump_core(Rt_map *clmp, Rt_map *lmp, const char *ipath, const char *opath, in dldump_core() argument
1662 ((lmp == NULL) && (ipath[0] == '\0'))) { in dldump_core()
1676 if ((lmp = is_so_loaded(&lml_main, ipath, NULL)) == NULL) { in dldump_core()
1678 ipath); in dldump_core()
1682 eprintf(lml, ERR_FATAL, MSG_INTL(MSG_GEN_ALTER), ipath); in dldump_core()
1687 ipath); in dldump_core()
1717 dldump(const char *ipath, const char *opath, int flags) in dldump() argument
1726 if (ipath) { in dldump()
1730 ipath = NAME(lmp); in dldump()
1733 DBG_CALL(Dbg_dl_dldump(clmp, ipath, opath, flags)); in dldump()
[all …]
/titanic_41/usr/src/cmd/sgs/liblddbg/common/
H A Ddlfcns.c124 Dbg_dl_dldump(Rt_map *clmp, const char *ipath, const char *opath, int flags) in Dbg_dl_dldump() argument
133 dbg_print(lml, MSG_INTL(MSG_DL_DLDUMP), ipath, NAME(clmp), in Dbg_dl_dldump()
/titanic_41/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/
H A Dttymux_dacf.c796 char *dname, *nname, *ipath, *opath; in validate_reservation() local
814 ipath = prom_stdinpath(); in validate_reservation()
818 if (ipath != NULL && strstr(ipath, nname) != 0) in validate_reservation()
/titanic_41/usr/src/uts/common/os/
H A Dinstance.c418 char *ipath; in in_assign_instance_block() local
506 ipath = kmem_alloc(MAXPATHLEN, KM_SLEEP); in in_assign_instance_block()
510 (void) strcpy(ipath, path); in in_assign_instance_block()
511 (void) strcpy(ipath + splice, ibp[ibpi]); in in_assign_instance_block()
512 (void) in_pathin(ipath, in in_assign_instance_block()
517 kmem_free(ipath, MAXPATHLEN); in in_assign_instance_block()
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_cc.c1809 char ipath[20], opath[20]; /* big enough for /dev/fd/ + INT_MAX + \0 */ in dt_preproc() local
1844 (void) snprintf(ipath, sizeof (ipath), "/dev/fd/%d", fileno(ifp)); in dt_preproc()
1863 argv[argc++] = ipath; in dt_preproc()