Home
last modified time | relevance | path

Searched refs:tree (Results 1 – 25 of 192) sorted by relevance

12345678

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_tree.c355 tree->t_refcnt++; in smb_tree_hold()
379 tree->t_refcnt++; in smb_tree_hold_internal()
401 tree->t_refcnt--; in smb_tree_release()
430 ASSERT(tree); in smb_tree_close_pid()
443 ASSERT(tree); in smb_tree_has_feature()
492 ASSERT(tree); in smb_tree_fclose()
752 if (tree == NULL) in smb_tree_connect_disk()
851 if (tree == NULL) in smb_tree_connect_printq()
983 return (tree); in smb_tree_alloc()
1410 ASSERT(tree); in smb_tree_close_odirs()
[all …]
H A Dsmb2_qinfo_fs.c99 smb_tree_t *tree = sr->tid_tree; in smb2_qfs_volume() local
105 if (!STYPE_ISDSK(tree->t_res_type)) in smb2_qfs_volume()
108 snode = tree->t_snode; in smb2_qfs_volume()
118 &tree->t_create_time, /* (T) */ in smb2_qfs_volume()
123 tree->t_volume); /* (U) */ in smb2_qfs_volume()
137 smb_tree_t *tree = sr->tid_tree; in smb2_qfs_size() local
166 smb_tree_t *tree = sr->tid_tree; in smb2_qfs_fullsize() local
195 smb_tree_t *tree = sr->tid_tree; in smb2_qfs_device() local
222 smb_tree_t *tree = sr->tid_tree; in smb2_qfs_attr() local
279 smb_tree_t *tree = sr->tid_tree; in smb2_qfs_control() local
[all …]
H A Dsmb_session.c943 (tree == NULL || sr->tid_tree == tree)) in smb_session_cancel_requests()
1023 while (tree) { in smb_session_lookup_tree()
1037 tree = smb_llist_next(&session->s_tree_list, tree); in smb_session_lookup_tree()
1059 while (tree) { in smb_session_close_pid()
1064 tree = smb_llist_next(tree_list, tree); in smb_session_close_pid()
1098 while (tree) { in smb_session_disconnect_owned_trees()
1110 tree = smb_llist_next(tree_list, tree); in smb_session_disconnect_owned_trees()
1130 while (tree) { in smb_session_disconnect_trees()
1135 tree = smb_llist_next(tree_list, tree); in smb_session_disconnect_trees()
1154 smb_session_cancel_requests(tree->t_session, tree, NULL); in smb_session_tree_kill()
[all …]
H A Dsmb_fsinfo.c164 smb_tree_t *tree; in smb_com_trans2_query_fs_information() local
171 tree = sr->tid_tree; in smb_com_trans2_query_fs_information()
173 if (!STYPE_ISDSK(tree->t_res_type)) { in smb_com_trans2_query_fs_information()
182 snode = tree->t_snode; in smb_com_trans2_query_fs_information()
225 length = strlen(tree->t_volume); in smb_com_trans2_query_fs_information()
241 length = strlen(tree->t_volume); in smb_com_trans2_query_fs_information()
253 tree->t_volume); in smb_com_trans2_query_fs_information()
304 if (tree->t_flags & SMB_TREE_QUOTA) in smb_com_trans2_query_fs_information()
307 if (tree->t_flags & SMB_TREE_SPARSE) in smb_com_trans2_query_fs_information()
447 smb_tree_t *tree; in smb_com_trans2_set_fs_information() local
[all …]
H A Dsmb_tree_connect.c308 smb_tree_t *tree; in smb_com_tree_connect_andx() local
315 if (tree != NULL) { in smb_com_tree_connect_andx()
316 smb_tree_disconnect(tree, B_TRUE); in smb_com_tree_connect_andx()
317 smb_session_cancel_requests(sr->session, tree, sr); in smb_com_tree_connect_andx()
318 smb_tree_release(tree); in smb_com_tree_connect_andx()
327 tree = sr->tid_tree; in smb_com_tree_connect_andx()
329 switch (tree->t_res_type & STYPE_MASK) { in smb_com_tree_connect_andx()
349 tree->t_typename); in smb_com_tree_connect_andx()
359 tree->t_typename); in smb_com_tree_connect_andx()
367 tree->t_access, /* (l) */ in smb_com_tree_connect_andx()
[all …]
H A Dsmb_ofile.c381 if (tree != NULL) { in smb_ofile_alloc()
383 of->f_tree = tree; in smb_ofile_alloc()
653 smb_tree_t *tree, in smb_ofile_close_all() argument
659 ASSERT(tree); in smb_ofile_close_all()
824 ASSERT(tree != NULL); in smb_ofile_release()
836 if (tree == NULL) { in smb_ofile_release()
1438 if (tree != NULL) { in smb_ofile_delete()
1523 if (tree != NULL) { in smb_ofile_free()
1802 smb_tree_t *tree; in smb_ofile_netinfo_init() local
1810 tree = of->f_tree; in smb_ofile_netinfo_init()
[all …]
H A Dsmb2_tree_connect.c28 smb_tree_t *tree = NULL; in smb2_tree_connect() local
92 tree = sr->tid_tree; in smb2_tree_connect()
97 switch (tree->t_res_type & STYPE_MASK) { in smb2_tree_connect()
113 if (tree->t_encrypt != SMB_CONFIG_DISABLED) in smb2_tree_connect()
119 if ((tree->t_flags & SMB_TREE_DFSROOT) != 0) in smb2_tree_connect()
121 if ((tree->t_flags & SMB_TREE_CA) != 0) in smb2_tree_connect()
134 tree->t_access); /* l */ in smb2_tree_connect()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dbtree.c162 bzero(tree, sizeof (*tree)); in zfs_btree_create()
749 if (tree->bt_bulk != NULL && leaf == tree->bt_bulk) in zfs_btree_insert_into_leaf()
1852 zfs_btree_clear_helper(tree, tree->bt_root); in zfs_btree_clear()
1890 zfs_btree_verify_pointers_helper(tree, tree->bt_root); in zfs_btree_verify_pointers()
1912 if (tree->bt_root != hdr && tree->bt_bulk == NULL) in zfs_btree_verify_counts_helper()
1930 EQUIV(tree->bt_num_elems == 0, tree->bt_height == -1); in zfs_btree_verify_counts()
1968 EQUIV(tree->bt_height == -1, tree->bt_root == NULL); in zfs_btree_verify_height()
1974 tree->bt_height), ==, tree->bt_num_nodes); in zfs_btree_verify_height()
2052 EQUIV(tree->bt_height == -1, tree->bt_root == NULL); in zfs_btree_verify_order()
2057 zfs_btree_verify_order_helper(tree, tree->bt_root); in zfs_btree_verify_order()
[all …]
H A Dzfs_rlock.c170 avl_add(tree, new); in rangelock_enter_writer()
191 avl_insert(tree, new, where); in rangelock_enter_writer()
222 avl_remove(tree, lr); in rangelock_proxify()
234 avl_add(tree, proxy); in rangelock_proxify()
284 avl_add(tree, lr); in rangelock_new_proxy()
323 avl_insert(tree, new, where); in rangelock_add_reader()
347 rangelock_new_proxy(tree, in rangelock_add_reader()
416 next = AVL_NEXT(tree, prev); in rangelock_enter_reader()
500 avl_remove(tree, remove); in rangelock_exit_reader()
526 next = AVL_NEXT(tree, lr); in rangelock_exit_reader()
[all …]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Ddisplay_sun4u.c58 display(Sys_tree *tree, in display() argument
105 display_cpu_devices(tree); in display()
108 display_memoryconf(tree); in display()
111 (void) display_io_devices(tree); in display()
121 root, tree, kstats); in display()
132 tree = tree; in error_check()
142 disp_fail_parts(Sys_tree *tree) in disp_fail_parts() argument
145 tree = tree; in disp_fail_parts()
158 tree = tree; in display_hp_fail_fault()
173 tree = tree; in display_diaginfo()
[all …]
/illumos-gate/usr/src/common/avl/
H A Davl.c475 ASSERT(tree); in avl_insert()
485 ++tree->avl_numnodes; in avl_insert()
557 avl_tree_t *tree, in avl_insert_here() argument
568 ASSERT(tree != NULL); in avl_insert_here()
675 ASSERT(tree); in avl_remove()
743 --tree->avl_numnodes; in avl_remove()
890 ASSERT(tree); in avl_create()
912 ASSERT(tree); in avl_destroy()
924 ASSERT(tree); in avl_numnodes()
931 ASSERT(tree); in avl_is_empty()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Davl.h158 extern void avl_create(avl_tree_t *tree,
200 extern void *avl_first(avl_tree_t *tree);
201 extern void *avl_last(avl_tree_t *tree);
211 #define AVL_NEXT(tree, node) avl_walk(tree, node, AVL_AFTER) argument
212 #define AVL_PREV(tree, node) avl_walk(tree, node, AVL_BEFORE) argument
247 extern void avl_add(avl_tree_t *tree, void *node);
255 extern void avl_remove(avl_tree_t *tree, void *node);
276 extern ulong_t avl_numnodes(avl_tree_t *tree);
281 extern boolean_t avl_is_empty(avl_tree_t *tree);
304 extern void *avl_destroy_nodes(avl_tree_t *tree, void **cookie);
[all …]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dbtree_rb.c340 pNode = tree->pHead; in check_redblack_tree()
651 *n = tree->next_idx++; in memRbtreeCreateTable()
718 Rbtree* tree, in memRbtreeCursor() argument
724 assert(tree); in memRbtreeCursor()
729 pCur->pRbtree = tree; in memRbtreeCursor()
1313 sqliteFree(tree); in memRbtreeClose()
1367 execute_rollback_list(tree, tree->pCheckRollback); in memRbtreeRollback()
1368 execute_rollback_list(tree, tree->pTransRollback); in memRbtreeRollback()
1391 tree->pCheckRollbackTail->pNext = tree->pTransRollback; in memRbtreeCommitCkpt()
1392 tree->pTransRollback = tree->pCheckRollback; in memRbtreeCommitCkpt()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dexpression.c171 *tree = expr; in builtin_types_compatible_p_expr()
202 *tree = expr; in builtin_offsetof_expr()
475 *tree = expr; in primary_expression()
569 *tree = expr; in postfix_expression()
582 *tree = expr; in type_info_expression()
649 *tree = NULL; in unary_expression()
655 *tree = unary; in unary_expression()
667 *tree = NULL; in unary_expression()
673 *tree = unary; in unary_expression()
726 *tree = cast; in cast_expression()
[all …]
/illumos-gate/usr/src/contrib/zlib/
H A Dtrees.c161 # define send_code(s, c, tree) send_bits(s, tree[c].Code, tree[c].Len) argument
167 send_bits(s, tree[c].Code, tree[c].Len); }
442 (tree[n].Freq < tree[m].Freq || \
443 (tree[n].Freq == tree[m].Freq && depth[n] <= depth[m]))
512 bits = tree[tree[n].Dad].Len + 1;
522 f = tree[n].Freq;
556 s->opt_len += ((ulg)bits - tree[m].Len) * tree[m].Freq;
637 tree[n].Len = 0;
672 tree[node].Freq = tree[n].Freq + tree[m].Freq;
675 tree[n].Dad = tree[m].Dad = (ush)node;
[all …]
/illumos-gate/usr/src/uts/common/idmap/
H A Didmap_cache.c105 struct avl_tree tree; member
220 avl_destroy(&cache->sid2pid.tree); in kidmap_cache_delete()
229 avl_destroy(&cache->uid2sid.tree); in kidmap_cache_delete()
238 avl_destroy(&cache->gid2sid.tree); in kidmap_cache_delete()
276 avl_destroy(&cache->sid2pid.tree); in kidmap_cache_purge()
294 avl_destroy(&cache->uid2sid.tree); in kidmap_cache_purge()
309 avl_destroy(&cache->gid2sid.tree); in kidmap_cache_purge()
518 if ((avl_numnodes(&cache->sid2pid.tree) > in kidmap_cache_add_sid2uid()
554 if ((avl_numnodes(&cache->uid2sid.tree) > in kidmap_cache_add_sid2uid()
804 avl_remove(&cache->tree, item); in kidmap_purge_sid2pid_cache()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dtree.c86 static tree * sprout(tree **, tree_t, int *, int (*)(), void (*)());
88 static void del(tree **, int *, tree **, void (*)(), int *);
93 tree_init(tree **ppr_tree) { in tree_init()
179 static tree *
183 tree *p1, *p2, *sub; in sprout()
193 *ppr = (tree *) memget(sizeof(tree)); in sprout()
337 tree *pr_q; in delete()
381 memput(pr_q, sizeof(tree)); in delete()
388 del(tree **ppr_r, int *pi_balance, tree **ppr_q, in del()
413 tree *p1, *p2; in bal_L()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dkeypad.c126 __m_decode_free(tree) in __m_decode_free() argument
127 t_decode **tree; in __m_decode_free()
129 if (*tree != (t_decode *) 0) {
130 __m_decode_free(&(*tree)->sibling);
131 __m_decode_free(&(*tree)->child);
132 free(*tree);
133 *tree = (t_decode *) 0;
141 __m_decode_init(tree) in __m_decode_init() argument
142 t_decode **tree; in __m_decode_init()
147 *tree = (t_decode *) 0;
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Davl.c85 avl_tree_t *tree; in avl_walk_init_range() local
101 tree = &aw->aw_tree; in avl_walk_init_range()
106 if (tree->avl_size < tree->avl_offset + sizeof (avl_node_t)) { in avl_walk_init_range()
108 wsp->walk_addr, tree->avl_size, tree->avl_offset); in avl_walk_init_range()
116 aw->aw_buff = mdb_zalloc(tree->avl_size, UM_SLEEP); in avl_walk_init_range()
117 aw->aw_end = (end == 0 ? 0 : end + tree->avl_offset); in avl_walk_init_range()
127 addr = (uintptr_t)tree->avl_root; in avl_walk_init_range()
132 addr = avl_leftmostchild(addr, aw->aw_buff, tree->avl_offset, in avl_walk_init_range()
133 tree->avl_size, aw->aw_elem_name); in avl_walk_init_range()
138 wsp->walk_addr = begin + tree->avl_offset; in avl_walk_init_range()
[all …]
/illumos-gate/usr/src/lib/libresolv2/include/isc/
H A Dtree.h47 tree; typedef
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 **, int (*)()));
55 void tree_mung __P((tree **, void (*)()));
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dkeypad.c129 __m_decode_free(t_decode **tree) in __m_decode_free() argument
131 if (*tree != NULL) { in __m_decode_free()
132 __m_decode_free(&(*tree)->sibling); in __m_decode_free()
133 __m_decode_free(&(*tree)->child); in __m_decode_free()
134 free(*tree); in __m_decode_free()
135 *tree = NULL; in __m_decode_free()
143 __m_decode_init(t_decode **tree) in __m_decode_init() argument
148 *tree = NULL; in __m_decode_init()
151 len = decode_add(tree, cur_term->_str[**p], (*p)[1]); in __m_decode_init()
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_cache.c136 avl_tree_t tree; member
148 avl_tree_t tree; member
160 avl_tree_t tree; member
293 avl_create(&idmap_cache.sid2uid_gid.tree, in idmap_cache_create()
305 avl_create(&idmap_cache.uid2sid_winname.tree, in idmap_cache_create()
318 avl_create(&idmap_cache.gid2sid_winname.tree, in idmap_cache_create()
362 avl_destroy(&idmap_cache.sid2uid_gid.tree); in idmap_cache_purge()
363 avl_create(&idmap_cache.sid2uid_gid.tree, in idmap_cache_purge()
1467 avl_remove(&cache->tree, item); in idmap_purge_sid2uid_gid_cache()
1493 avl_remove(&cache->tree, item); in idmap_purge_winname2uid_gid_cache()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/
H A Ddttree.c98 if(!(root = tree->root) )
109 tree->root = root;
126 root = tree->root;
127 tree->root = NIL(Dtlink_t*);
128 tree->data.size = 0;
157 { if((list = tree->root) )
168 tree->root = list;
519 tree->root = root;
554 tree->root = root;
655 { if(!tree) in treeevent()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathexists.c43 struct Tree_s* tree; member
62 static Tree_t tree; in pathexists() local
64 t = &tree; in pathexists()
75 for (t = p->tree; t && (*cmp)(s, t->name); t = t->next); in pathexists()
84 t->next = p->tree; in pathexists()
85 p->tree = t; in pathexists()
110 p->next = t->tree; in pathexists()
111 t->tree = p; in pathexists()
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Ddesktop.c91 int disp_fail_parts(Sys_tree *tree);
106 error_check(Sys_tree *tree, struct system_kstat_data *kstats) in error_check() argument
118 if (disp_fail_parts(tree)) { in error_check()
137 disp_fail_parts(Sys_tree *tree) in disp_fail_parts() argument
141 Board_node *bnode = tree->bd_list; in disp_fail_parts()
251 (void) disp_fail_parts(tree); in display_hp_fail_fault()
255 display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, in display_diaginfo() argument
276 dt_disp_asic_revs(tree); in display_diaginfo()
278 platform_disp_prom_version(tree); in display_diaginfo()
312 dt_disp_asic_revs(Sys_tree *tree) in dt_disp_asic_revs() argument
[all …]

12345678