Home
last modified time | relevance | path

Searched refs:stree (Results 1 – 6 of 6) sorted by relevance

/titanic_44/usr/src/lib/libcmdutils/common/
H A Davltree.c162 add_tnode(avl_tree_t **stree, dev_t device, ino_t inode) in add_tnode() argument
171 if (*stree == NULL) { in add_tnode()
172 if ((*stree = calloc(1, sizeof (avl_tree_t))) in add_tnode()
176 avl_create(*stree, in add_tnode()
190 if (avl_find(*stree, tnode, &where) == NULL) { in add_tnode()
191 avl_insert(*stree, tnode, where); in add_tnode()
204 destroy_tree(avl_tree_t *stree) in destroy_tree() argument
209 if (stree != NULL) { in destroy_tree()
212 while ((tnode = avl_destroy_nodes(stree, &cookie)) != NULL) { in destroy_tree()
215 avl_destroy(stree); in destroy_tree()
[all …]
/titanic_44/usr/src/lib/libslp/clib/
H A DSLPUtils.c67 void *stree = NULL; in SLPFindScopes() local
99 &stree, &collator, &numResults); in SLPFindScopes()
103 &stree, &collator, &numResults); in SLPFindScopes()
111 if (!stree) { in SLPFindScopes()
112 (void) SAAdvert_for_scopes(hSLP, &stree); in SLPFindScopes()
115 if (!stree) { in SLPFindScopes()
125 slp_twalk(stree, collect_scopes, 0, (void *) ppcScopes); in SLPFindScopes()
180 SLPError err, void **stree) { in saadvert_callback() argument
201 (void *) ascope, stree, in saadvert_callback()
216 static SLPError SAAdvert_for_scopes(SLPHandle hSLP, void **stree) { in SAAdvert_for_scopes() argument
[all …]
/titanic_44/usr/src/uts/common/zmod/
H A Dtrees.c496 const ct_data *stree = desc->stat_desc->static_tree; local
528 if (stree) s->static_len += (ulg)f * (stree[n].Len + xbits);
624 const ct_data *stree = desc->stat_desc->static_tree; local
654 s->opt_len--; if (stree) s->static_len -= stree[node].Len;
/titanic_44/usr/src/cmd/mv/
H A Dmv.c117 static avl_tree_t *stree = NULL; /* source file inode search tree */ variable
379 stree = NULL; in main()
552 if ((rc = add_tnode(&stree, save_dev, save_ino)) != 1) { in cpymve()
586 if ((tptr = avl_find(stree, tnode, &where)) != NULL) { in cpymve()
587 avl_remove(stree, tptr); in cpymve()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c1854 ct_data *stree = desc->stat_desc->static_tree; local
1886 if (stree) s->static_len += (ulg)f * (stree[n].Len + xbits);
1982 ct_data *stree = desc->stat_desc->static_tree; local
2012 s->opt_len--; if (stree) s->static_len -= stree[node].Len;
/titanic_44/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c2662 const ct_data *stree = desc->stat_desc->static_tree; local
2696 if (stree) s->static_len += (ulg)f * (stree[n].Len + xbits);
2808 const ct_data *stree = desc->stat_desc->static_tree; local
2841 s->opt_len--; if (stree) s->static_len -= stree[node].Len;