Home
last modified time | relevance | path

Searched refs:tnode (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/lib/libcmdutils/common/
H A Davltree.c164 tree_node_t *tnode; in add_tnode() local
183 if ((tnode = calloc(1, sizeof (*tnode))) == NULL) { in add_tnode()
186 tnode->node_dev = device; in add_tnode()
187 tnode->node_ino = inode; in add_tnode()
190 if (avl_find(*stree, tnode, &where) == NULL) { in add_tnode()
191 avl_insert(*stree, tnode, where); in add_tnode()
196 free(tnode); in add_tnode()
207 tree_node_t *tnode; in destroy_tree() local
212 while ((tnode = avl_destroy_nodes(stree, &cookie)) != NULL) { in destroy_tree()
213 free(tnode); in destroy_tree()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_ns.c274 treenode_t *tnode = kmem_zalloc(sizeof (*tnode), KM_SLEEP); in tree_prepend_node() local
287 return (tnode); in tree_prepend_node()
873 (TREE_EXPORTED(tnode) || tnode->tree_child_first != NULL)) in treeclimb_unexport()
877 if (TREE_ROOT(tnode) && !TREE_EXPORTED(tnode) && in treeclimb_unexport()
889 less_visible(vis2exi(tnode), tnode->tree_vis); in treeclimb_unexport()
892 old_nd = tnode; in treeclimb_unexport()
893 tnode = tnode->tree_parent; in treeclimb_unexport()
976 while (tnode) { in get_root_export()
981 tnode = tnode->tree_parent; in get_root_export()
1278 ASSERT((tnode != ne->ns_root && tnode->tree_vis != NULL) || in tree_update_change()
[all …]
H A Dnfs_export.c693 vis2exi(treenode_t *tnode) in vis2exi() argument
698 tnode = tnode->tree_parent; in vis2exi()
699 if (TREE_ROOT(tnode)) { in vis2exi()
700 exi_ret = tnode->tree_exi; in vis2exi()
719 treenode_t *tnode; in srv_secinfo_treeclimb() local
728 tnode = exip->exi_tree; in srv_secinfo_treeclimb()
729 if (tnode == NULL) { in srv_secinfo_treeclimb()
757 tnode = tnode->tree_parent; in srv_secinfo_treeclimb()
759 while (tnode != NULL) { in srv_secinfo_treeclimb()
762 if (tnode->tree_exi != NULL) { in srv_secinfo_treeclimb()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_directory.c115 smb_node_t *tnode; in smb_common_create_directory() local
118 tnode = sr->tid_tree->t_snode; in smb_common_create_directory()
121 tnode, tnode, &fqi->fq_dnode, fqi->fq_last_comp); in smb_common_create_directory()
132 tnode, fqi->fq_dnode, fqi->fq_last_comp, &fqi->fq_fnode); in smb_common_create_directory()
225 smb_node_t *tnode; in smb_com_delete_directory() local
234 tnode = sr->tid_tree->t_snode; in smb_com_delete_directory()
243 tnode, tnode, &fqi->fq_dnode, fqi->fq_last_comp); in smb_com_delete_directory()
251 tnode, fqi->fq_dnode, fqi->fq_last_comp, &fqi->fq_fnode); in smb_com_delete_directory()
374 smb_node_t *tnode; in smb_com_check_directory() local
400 tnode = sr->tid_tree->t_snode; in smb_com_check_directory()
[all …]
H A Dsmb_cmn_rename.c100 smb_node_t *tnode; in smb_common_rename() local
105 tnode = sr->tid_tree->t_snode; in smb_common_rename()
156 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode, in smb_common_rename()
176 rc = smb_fsop_lookup(sr, sr->user_cr, 0, tnode, in smb_common_rename()
435 smb_node_t *tnode; in smb_make_link() local
439 tnode = sr->tid_tree->t_snode; in smb_make_link()
482 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode, in smb_make_link()
506 rc = smb_fsop_lookup(sr, sr->user_cr, 0, tnode, in smb_make_link()
544 smb_node_t *tnode; in smb_rename_lookup_src() local
554 tnode = sr->tid_tree->t_snode; in smb_rename_lookup_src()
[all …]
H A Dsmb_nt_transact_quota.c88 smb_node_t *tnode; in smb_nt_transact_query_quota() local
132 tnode = sr->tid_tree->t_snode; in smb_nt_transact_query_quota()
134 if (smb_node_getmntpath(tnode, request.qq_root_path, MAXPATHLEN) != 0) { in smb_nt_transact_query_quota()
225 smb_node_t *tnode; in smb_nt_transact_set_quota() local
268 tnode = sr->tid_tree->t_snode; in smb_nt_transact_set_quota()
270 if (smb_node_getmntpath(tnode, root_path, MAXPATHLEN) != 0) { in smb_nt_transact_set_quota()
H A Dsmb2_setinfo_quota.c44 smb_node_t *tnode; in smb2_setinfo_quota() local
61 tnode = sr->tid_tree->t_snode; in smb2_setinfo_quota()
63 if (smb_node_getmntpath(tnode, root_path, MAXPATHLEN) != 0) { in smb2_setinfo_quota()
H A Dsmb2_qinfo_quota.c41 smb_node_t *tnode; in smb2_qinfo_quota() local
73 tnode = sr->tid_tree->t_snode; in smb2_qinfo_quota()
75 if (smb_node_getmntpath(tnode, request.qq_root_path, MAXPATHLEN) != 0) { in smb2_qinfo_quota()
H A Dsmb_quota.c378 smb_node_t *tnode; in smb_quota_query_user_quota() local
390 tnode = sr->tid_tree->t_snode; in smb_quota_query_user_quota()
392 if (smb_node_getmntpath(tnode, request.qq_root_path, MAXPATHLEN) != 0) { in smb_quota_query_user_quota()
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dfilters.c1560 element_node_t *tnode = NULL; in ipgpc_removeclass() local
1593 tnode = anode; in ipgpc_removeclass()
1944 node_t *tnode; in freetriev6nodes() local
1955 tnode = anode; in freetriev6nodes()
1957 s[++sp] = tnode; /* put node on stack */ in freetriev6nodes()
1960 tnode = anode; in freetriev6nodes()
1962 s[++sp] = tnode; /* put node on stack */ in freetriev6nodes()
1987 element_node_t *tnode = NULL; in ipgpc_destroy() local
2008 tnode = anode; in ipgpc_destroy()
2636 linked_list tnode = NULL; in ipgpc_mark_found() local
[all …]
/illumos-gate/usr/src/uts/sun4u/opl/os/
H A Dopl.c631 int mnode, snode, tnode; in plat_lgrp_config() local
698 tnode = plat_lgrphand_to_mem_node(thand); in plat_lgrp_config()
703 if (tnode != -1 && mem_node_config[tnode].exists) { in plat_lgrp_config()
704 start = mem_node_config[tnode].physbase; in plat_lgrp_config()
705 end = mem_node_config[tnode].physmax; in plat_lgrp_config()
710 plat_assign_lgrphand_to_mem_node(shand, tnode); in plat_lgrp_config()
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.c1691 if (topo_prop_set_string(tnode, TOPO_PGROUP_SMP, in ses_set_expander_props()
1698 if (topo_prop_set_string(tnode, TOPO_PGROUP_SMP, in ses_set_expander_props()
1704 if (topo_prop_set_string(tnode, TOPO_PGROUP_SMP, in ses_set_expander_props()
1755 if (topo_prop_set_string(tnode, TOPO_PGROUP_SES, in ses_set_expander_props()
1762 if (topo_prop_set_string(tnode, TOPO_PGROUP_SES, in ses_set_expander_props()
1769 if (topo_prop_set_string(tnode, TOPO_PGROUP_SES, in ses_set_expander_props()
1796 if (topo_prop_set_string(tnode, TOPO_PGROUP_STORAGE, in ses_set_expander_props()
1846 if (dnode->ddn_mfg && (topo_prop_set_string(tnode, in ses_set_expander_props()
1870 if (dnode->ddn_firm && (topo_prop_set_string(tnode, in ses_set_expander_props()
1894 tnode_t *tnode, int64_t phy_mask) in ses_set_connector_props() argument
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dtrill.c1162 trill_node_t *tnode; in trill_add_nick() local
1179 tnode = kmem_zalloc(sizeof (trill_node_t), KM_SLEEP); in trill_add_nick()
1180 tnode->tn_ni = kmem_zalloc(size, KM_SLEEP); in trill_add_nick()
1181 if (ddi_copyin(arg, tnode->tn_ni, size, mode) != 0) { in trill_add_nick()
1182 kmem_free(tnode->tn_ni, size); in trill_add_nick()
1183 kmem_free(tnode, sizeof (trill_node_t)); in trill_add_nick()
1187 tnode->tn_refs++; in trill_add_nick()
1195 tnode->tn_tsp = find_trill_link(tip, in trill_add_nick()
1196 tnode->tn_ni->tni_linkid); in trill_add_nick()
1198 DTRACE_PROBE2(trill__add__nick, trill_node_t *, tnode, in trill_add_nick()
[all …]
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_sched.c944 kcf_areq_node_t *tnode = NULL; in kcf_dequeue() local
947 if ((tnode = gswq->gs_first) == NULL) { in kcf_dequeue()
951 gswq->gs_first = tnode->an_next; in kcf_dequeue()
952 if (tnode->an_next == NULL) in kcf_dequeue()
955 tnode->an_next->an_prev = NULL; in kcf_dequeue()
959 return (tnode); in kcf_dequeue()
972 kcf_areq_node_t *tnode; in kcf_enqueue() local
985 tnode = gswq->gs_last; in kcf_enqueue()
986 tnode->an_next = node; in kcf_enqueue()
988 node->an_prev = tnode; in kcf_enqueue()
/illumos-gate/usr/src/cmd/mv/
H A Dmv.c546 tree_node_t *tnode; in cpymve() local
585 if ((tnode = create_tnode(save_dev, in cpymve()
590 if ((tptr = avl_find(stree, tnode, &where)) != NULL) { in cpymve()
594 free(tnode); in cpymve()
985 tree_node_t *tnode; in create_tnode() local
987 if ((tnode = (tree_node_t *)malloc(sizeof (tree_node_t))) != NULL) { in create_tnode()
988 tnode->node_dev = dev; in create_tnode()
989 tnode->node_ino = ino; in create_tnode()
992 return (tnode); in create_tnode()
/illumos-gate/usr/src/uts/sun4u/lw8/os/
H A Dlw8_platmod.c522 int snode, tnode; in plat_lgrp_config() local
566 tnode = plat_lgrphand_to_mem_node(thand); in plat_lgrp_config()
569 plat_assign_lgrphand_to_mem_node(shand, tnode); in plat_lgrp_config()
/illumos-gate/usr/src/uts/sun4u/serengeti/os/
H A Dserengeti.c515 int snode, tnode; in plat_lgrp_config() local
558 tnode = plat_lgrphand_to_mem_node(thand); in plat_lgrp_config()
561 plat_assign_lgrphand_to_mem_node(shand, tnode); in plat_lgrp_config()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.h161 struct tnode { struct
H A Ddevinfo_devlink.c1445 struct tnode tnd = {NULL}; in lookup_node()
1603 struct tnode *tnp = arg; in visit_node()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c527 mdb_tmpnode_t tnode; in gcore_vnode_size() local
529 if (mdb_ctf_vread(&tnode, "struct tmpnode", "mdb_tmpnode_t", in gcore_vnode_size()
533 return (tnode.tn_attr.va_size); in gcore_vnode_size()