Searched defs:tree (Results 1 - 25 of 93) sorted by relevance

1234

/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dkstat.c58 * fhc, environ, sysctrl. Each board in the tree should have
63 read_platform_kstats(Sys_tree *tree, struct system_kstat_data *sys_kstat, argument
81 for (bnode = tree->bd_list; bnode != NULL; bnode = bnode->next) {
379 * fhc, environ, sysctrl. Each board in the tree should have
384 read_sun4u_kstats(Sys_tree *tree, struct system_kstat_data *sys_kstat) argument
427 read_platform_kstats(tree, sys_kstat, bdp, ep);
H A Dprom.c92 platform_disp_prom_version(Sys_tree *tree) argument
97 bnode = tree->bd_list;
H A Dcpu.c113 display_cpu_devices(Sys_tree *tree) argument
135 bnode = tree->bd_list;
H A Ddisplay_sun4u.c57 display(Sys_tree *tree, argument
72 exit_code = error_check(tree, kstats);
99 display_memorysize(tree, kstats, &grps, &memory_total);
105 display_cpu_devices(tree);
108 display_memoryconf(tree, &grps);
111 (void) display_io_devices(tree);
118 display_hp_fail_fault(tree, kstats);
121 root, tree, kstats);
129 error_check(Sys_tree *tree, struct system_kstat_data *kstats) argument
132 tree
142 disp_fail_parts(Sys_tree *tree) argument
155 display_hp_fail_fault(Sys_tree *tree, struct system_kstat_data *kstats) argument
167 display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, struct system_kstat_data *kstats) argument
183 resolve_board_types(Sys_tree *tree) argument
[all...]
H A Dpdevinfo_sun4u.c63 * tree-walking functions which contain sun4u specifics were moved
84 Prom_node *root_node; /* root node of OBP device tree */
93 /* set the the system tree fields */
152 * Walk the PROM device tree and build the system tree and root tree.
162 walk(Sys_tree *tree, Prom_node *root, int id) argument
189 * board# property. But the PROM tree does not exactly follow
218 add_node(tree, pnode);
245 add_node(tree, pnod
[all...]
H A Dlibdevinfo_sun4u.c55 static Prom_node *walk_di_tree(Sys_tree *tree, Prom_node *root,
69 * walk libdevinfo's device tree instead of walking OBP's
70 * device tree.
73 walk_di_tree(Sys_tree *tree, Prom_node *root, di_node_t di_node) argument
138 add_node(tree, pnode);
160 add_node(tree, pnode);
172 pnode->child = walk_di_tree(tree, pnode, curnode);
177 return (walk_di_tree(tree, root, curnode));
179 pnode->sibling = walk_di_tree(tree, root, curnode);
408 * libdevinfo for getting the device tree instea
[all...]
H A Dpdevinfo_sun4v.c62 * tree-walking functions which contain sun4v specifics were moved
84 Prom_node *root_node; /* root node of OBP device tree */
101 /* set the the system tree fields */
142 * sun4v_Walk the PROM device tree and build the system tree and root tree.
148 sun4v_walk(Sys_tree *tree, Prom_node *root, int id) argument
175 * board# property. But the PROM tree does not exactly follow
198 add_node(tree, pnode);
205 add_node(tree, pnod
[all...]
H A Dmemory.c88 display_memorysize(Sys_tree *tree, struct system_kstat_data *kstats, argument
113 display_memoryconf(Sys_tree *tree, struct grp_info *grps) argument
/illumos-gate/usr/src/lib/libresolv2/include/isc/
H A Dtree.h0 /* tree.h - declare structures used by tree library
4 * vix 27jun86 [broken out of tree.c]
6 * $Id: tree.h,v 1.3 2005/04/27 04:56:18 sra Exp $
47 tree; typedef in typeref:struct:tree_s
50 void tree_init __P((tree **));
51 tree_t tree_srch __P((tree **, int (*)(), tree_t));
52 tree_t tree_add __P((tree **, int (*)(), tree_t, void (*)()));
53 int tree_delete __P((tree **, int (*)(), tree_t, void (*)()));
54 int tree_trav __P((tree **, in
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dkeypad.c53 * Add a function key string to the decode tree.
72 /* First node of tree. */
83 /* Find node to insert function key sequence into the tree. */
107 /* Insert string into the tree; node->child == null. */
129 __m_decode_free(t_decode **tree) argument
131 if (*tree != NULL) {
132 __m_decode_free(&(*tree)->sibling);
133 __m_decode_free(&(*tree)->child);
134 free(*tree);
135 *tree
143 __m_decode_init(t_decode **tree) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_tree_connect.c28 smb_tree_t *tree = NULL; local
92 tree = sr->tid_tree;
97 switch (tree->t_res_type & STYPE_MASK) {
113 if (tree->t_encrypt != SMB_CONFIG_DISABLED)
119 if ((tree->t_flags & SMB_TREE_DFSROOT) != 0)
121 if ((tree->t_flags & SMB_TREE_CA) != 0)
134 tree->t_access); /* l */
H A Dsmb_tree_connect.c57 * SmbTreeConnect: Map a share to a tree and obtain a tree-id (TID).
136 * SmbTreeConnectX: Map a share to a tree and obtain a tree-id (TID).
158 * sent a successful SMB_COM_SESSION_SETUP_ANDX request when the tree
164 * 0x0001 DISCONECT_TID The tree specified by TID in the SMB header
223 * STRING NativeFileSystem[]; Native file system for this tree
308 smb_tree_t *tree; local
314 tree = smb_session_lookup_tree(sr->session, sr->smb_tid);
315 if (tree !
[all...]
H A Dsmb2_qinfo_fs.c99 smb_tree_t *tree = sr->tid_tree; local
104 if (!STYPE_ISDSK(tree->t_res_type))
107 snode = tree->t_snode;
110 LabelLength = smb_wcequiv_strlen(tree->t_volume);
122 tree->t_volume); /* (U) */
134 smb_tree_t *tree = sr->tid_tree; local
137 if (!STYPE_ISDSK(tree->t_res_type))
161 smb_tree_t *tree = sr->tid_tree; local
164 if (!STYPE_ISDSK(tree->t_res_type))
188 smb_tree_t *tree local
212 smb_tree_t *tree = sr->tid_tree; local
266 smb_tree_t *tree = sr->tid_tree; local
365 smb_tree_t *tree = sr->tid_tree; local
[all...]
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathexists.c43 struct Tree_s* tree; member in struct:Tree_s
62 static Tree_t tree; local
64 t = &tree;
75 for (t = p->tree; t && (*cmp)(s, t->name); t = t->next);
84 t->next = p->tree;
85 p->tree = t;
110 p->next = t->tree;
111 t->tree = p;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dwalk_rtree.c105 * of realms (in a field called tree) that you need to get tickets in
122 krb5_walk_realm_tree(krb5_context context, const krb5_data *client, const krb5_data *server, krb5_principal **tree, int realm_branch_char) argument
220 /* construct path from client to server, down the tree */
238 /* construct path from client to server, up the tree */
398 /* only necessary if building down tree from ancestor or client */
418 *tree = rettree;
421 printf("krb5_walk_realm_tree ending; tree (length %d) is:\n",links);
423 if ((*tree)[i])
424 krb5int_dbgref_dump_principal("krb5_walk_realm_tree tree",(*tree)[
[all...]
/illumos-gate/usr/src/cmd/acct/
H A Dacctdusg.c60 static avl_tree_t *tree = NULL; variable
224 switch (add_tnode(&tree, statb.st_dev, statb.st_ino)) {
/illumos-gate/usr/src/uts/common/idmap/
H A Dkidmap_priv.h68 avl_tree_t tree; member in struct:idmap_sid2pid_cache
79 avl_tree_t tree; member in struct:idmap_pid2sid_cache
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Davl.c34 void *aw_buff; /* buffer to hold tree element */
66 * initialize a forward walk thru an avl tree.
69 * objects in the tree; either or both may be NULL (defaulting to first and
73 * "avl_tree_t" and "tree element" for use in error messages.
85 avl_tree_t *tree; local
91 element_name = "tree element";
101 tree = &aw->aw_tree;
102 if (mdb_vread(tree, sizeof (avl_tree_t), wsp->walk_addr) == -1) {
106 if (tree->avl_size < tree
[all...]
/illumos-gate/usr/src/cmd/chgrp/
H A Dchgrp.c76 static avl_tree_t *tree; /* search tree to store inode data */ variable
217 tree = NULL;
251 * tree so we don't get into an
254 if (add_tnode(&tree,
272 * the search tree.
302 * Add this node to the search tree so we don't
305 if (add_tnode(&tree, stbuf.st_dev,
315 * to add the node to the tree.
319 * being added to the search tree
[all...]
/illumos-gate/usr/src/cmd/chown/
H A Dchown.c74 static avl_tree_t *tree; variable
252 tree = NULL;
287 * tree so we don't get into an
290 if (add_tnode(&tree,
301 * the search tree.
324 * Add this node to the search tree so we don't
327 if (add_tnode(&tree, stbuf.st_dev,
333 * to add the node to the tree.
337 * being added to the search tree.
357 * directory to the search tree s
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_rlock.c41 * AVL tree
43 * An AVL tree is used to maintain the state of the existing ranges
45 * The starting range offset is used for searching and sorting the tree.
50 * entry to rangelock_enter(), a locked_range_t is allocated; the tree
52 * tree.
143 avl_tree_t *tree = &rl->rl_tree; local
169 if (avl_numnodes(tree) == 0) {
170 avl_add(tree, new);
177 lr = avl_find(tree, new, &where);
181 lr = (locked_range_t *)avl_nearest(tree, wher
212 rangelock_proxify(avl_tree_t *tree, locked_range_t *lr) argument
244 rangelock_split(avl_tree_t *tree, locked_range_t *lr, uint64_t off) argument
273 rangelock_new_proxy(avl_tree_t *tree, uint64_t off, uint64_t len) argument
288 rangelock_add_reader(avl_tree_t *tree, locked_range_t *new, locked_range_t *prev, avl_index_t where) argument
380 avl_tree_t *tree = &rl->rl_tree; local
489 avl_tree_t *tree = &rl->rl_tree; local
[all...]
H A Dspa_errlog.c97 avl_tree_t *tree; local
114 tree = &spa->spa_errlist_scrub;
116 tree = &spa->spa_errlist_last;
119 if (avl_find(tree, &search, &where) != NULL) {
126 avl_insert(tree, new, where);
262 * tree to add new errors. spa_errlog_sync() is responsible for actually
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Ddesktop.c91 int error_check(Sys_tree *tree, struct system_kstat_data *kstats);
92 void display_memoryconf(Sys_tree *tree, struct grp_info *grps);
93 int disp_fail_parts(Sys_tree *tree);
94 void display_hp_fail_fault(Sys_tree *tree, struct system_kstat_data *kstats);
95 void display_diaginfo(int flag, Prom_node *root, Sys_tree *tree,
98 void read_platform_kstats(Sys_tree *tree,
111 error_check(Sys_tree *tree, struct system_kstat_data *kstats) argument
123 if (disp_fail_parts(tree)) {
134 display_memoryconf(Sys_tree *tree, struct grp_info *grps) argument
137 tree
151 disp_fail_parts(Sys_tree *tree) argument
258 display_hp_fail_fault(Sys_tree *tree, struct system_kstat_data *kstats) argument
269 display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, struct system_kstat_data *kstats) argument
322 read_platform_kstats(Sys_tree *tree, struct system_kstat_data *sys_kstat, struct bd_kstat_data *bdp, struct envctrl_kstat_data *ep) argument
340 dt_disp_asic_revs(Sys_tree *tree) argument
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dexpand.c217 * scan tree and add each name that matches the given pattern
219 static int scantree(Dt_t *tree, const char *pattern, struct argnod **arghead) argument
225 np = (Namval_t*)dtfirst(tree);
226 for(;np && !nv_isnull(np);(np = (Namval_t*)dtnext(tree,np)))
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_principal.c152 unsigned int filterlen=0, tree=0, ntree=1, i=0; local
204 for (tree=0; tree < ntree; ++tree) {
206 LDAP_SEARCH(subtree[tree], ldap_context->lrparams->search_scope, filter, principal_attributes);
234 } /* end of for (tree= ... */

Completed in 229 milliseconds

1234