Lines Matching defs:ipath

25  * ipath.c -- instanced pathname module
39 #include "ipath.h"
48 static struct lut *Ipaths; /* the ipath cache itself */
51 * ipath_init -- initialize the ipath module
56 Nipath = stats_new_counter("ievent.nipath", "ipath cache entries", 1);
61 * ipath_cmp -- compare two ipath entries
66 * to test if two ipaths are same. but when inserting a new ipath
72 ipath_cmp(struct ipath *ipp1, struct ipath *ipp2)
94 * ipath_epnamecmp -- compare an ipath with a struct node *epname list
103 ipath_epnamecmp(struct ipath *ipp, struct node *np)
151 const struct ipath *ipp;
167 struct ipath *
168 ipath_dummy(struct node *np, struct ipath *ipp)
170 struct ipath *ret;
189 stats_counter_add(Nbytes, 2 * sizeof (struct ipath));
193 struct ipath *
196 struct ipath *ret, *ipp;
215 stats_counter_add(Nbytes, (i + 1) * sizeof (struct ipath));
220 * ipath -- find instanced path in cache, or add it if necessary
222 const struct ipath *
223 ipath(struct node *np)
225 struct ipath *ret;
252 /* fill in ipath entry */
272 stats_counter_add(Nbytes, (count + 1) * sizeof (struct ipath));
278 * ipath2str -- convert ename and ipath to class@path string
287 ipath2str(const char *ename, const struct ipath *ipp)
342 ipathlastcomp(const struct ipath *ipp)
358 ipath2strlen(const char *ename, const struct ipath *ipp)
384 * ipath_print -- print out an ename, ipath, or both with '@' between them
387 ipath_print(int flags, const char *ename, const struct ipath *ipp)
409 struct ipath *ipp = (struct ipath *)right;
415 * ipath_fini -- free the ipath cache