/titanic_50/usr/src/lib/libcmdutils/common/ |
H A D | avltree.c | 164 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()
|
/titanic_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv_ns.c | 264 treenode_t *tnode = kmem_zalloc(sizeof (*tnode), KM_SLEEP); in tree_prepend_node() local 267 tnode->tree_child_first = n; in tree_prepend_node() 268 n->tree_parent = tnode; in tree_prepend_node() 271 tnode->tree_vis = v; in tree_prepend_node() 274 tnode->tree_exi = e; in tree_prepend_node() 275 e->exi_tree = tnode; in tree_prepend_node() 277 return (tnode); in tree_prepend_node() 819 treenode_t *tnode, *old_nd; in treeclimb_unexport() local 824 tnode = exip->exi_tree; in treeclimb_unexport() 829 tnode->tree_exi = NULL; in treeclimb_unexport() [all …]
|
H A D | nfs_export.c | 684 vis2exi(treenode_t *tnode) in vis2exi() argument 689 tnode = tnode->tree_parent; in vis2exi() 690 if (TREE_ROOT(tnode)) { in vis2exi() 691 exi_ret = tnode->tree_exi; in vis2exi() 709 treenode_t *tnode = exip->exi_tree; in srv_secinfo_treeclimb() local 712 ASSERT(tnode != NULL); in srv_secinfo_treeclimb() 725 tnode->tree_vis->vis_seccnt > 0) { in srv_secinfo_treeclimb() 727 &exip->exi_export.ex_seccnt, tnode->tree_vis->vis_secinfo, in srv_secinfo_treeclimb() 728 tnode->tree_vis->vis_seccnt, FALSE); in srv_secinfo_treeclimb() 735 tnode = tnode->tree_parent; in srv_secinfo_treeclimb() [all …]
|
/titanic_50/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_directory.c | 116 smb_node_t *tnode; in smb_common_create_directory() local 119 tnode = sr->tid_tree->t_snode; in smb_common_create_directory() 122 tnode, tnode, &fqi->fq_dnode, fqi->fq_last_comp); in smb_common_create_directory() 133 tnode, fqi->fq_dnode, fqi->fq_last_comp, &fqi->fq_fnode); in smb_common_create_directory() 227 smb_node_t *tnode; in smb_com_delete_directory() local 236 tnode = sr->tid_tree->t_snode; in smb_com_delete_directory() 245 tnode, tnode, &fqi->fq_dnode, fqi->fq_last_comp); in smb_com_delete_directory() 253 tnode, fqi->fq_dnode, fqi->fq_last_comp, &fqi->fq_fnode); in smb_com_delete_directory() 268 if ((fqi->fq_fnode == tnode) || smb_node_is_dfslink(fqi->fq_fnode)) { in smb_com_delete_directory() 381 smb_node_t *tnode; in smb_com_check_directory() local [all …]
|
H A D | smb_cmn_rename.c | 99 smb_node_t *tnode; in smb_common_rename() local 104 tnode = sr->tid_tree->t_snode; in smb_common_rename() 141 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode, in smb_common_rename() 161 rc = smb_fsop_lookup(sr, sr->user_cr, 0, tnode, in smb_common_rename() 205 SMB_CASE_SENSITIVE, tnode, dst_dnode, new_name, in smb_common_rename() 422 smb_node_t *tnode; in smb_make_link() local 426 tnode = sr->tid_tree->t_snode; in smb_make_link() 461 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode, in smb_make_link() 485 rc = smb_fsop_lookup(sr, sr->user_cr, 0, tnode, in smb_make_link() 526 smb_node_t *src_node, *tnode; in smb_rename_lookup_src() local [all …]
|
H A D | smb_vss.c | 81 smb_node_t *tnode; in smb_vss_enum_snapshots() local 90 tnode = sr->tid_tree->t_snode; in smb_vss_enum_snapshots() 92 if (smb_node_getmntpath(tnode, root_path, MAXPATHLEN) != 0) in smb_vss_enum_snapshots() 146 smb_node_t *tnode; in smb_vss_lookup_nodes() local 158 tnode = sr->tid_tree->t_snode; in smb_vss_lookup_nodes() 160 ASSERT(tnode); in smb_vss_lookup_nodes() 161 ASSERT(tnode->vp); in smb_vss_lookup_nodes() 162 ASSERT(tnode->vp->v_vfsp); in smb_vss_lookup_nodes() 185 err = smb_node_getmntpath(tnode, path, MAXPATHLEN); in smb_vss_lookup_nodes() 200 err = VFS_ROOT(tnode->vp->v_vfsp, &fsrootvp); in smb_vss_lookup_nodes()
|
H A D | smb_nt_transact_quota.c | 88 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 D | smb2_setinfo_quota.c | 44 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 D | smb2_qinfo_quota.c | 41 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 D | smb_quota.c | 378 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()
|
/titanic_50/usr/src/uts/common/ipp/ipgpc/ |
H A D | filters.c | 1560 element_node_t *tnode = NULL; in ipgpc_removeclass() local 1593 tnode = anode; in ipgpc_removeclass() 1596 kmem_cache_free(element_node_cache, tnode); 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() [all …]
|
/titanic_50/usr/src/uts/sun4u/opl/os/ |
H A D | opl.c | 631 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()
|
/titanic_50/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses.c | 1530 tnode_t *ptnode, tnode_t *tnode, int *phycount, int64_t *connlist) in ses_set_expander_props() argument 1584 if (topo_pgroup_create(tnode, &smp_pgroup, &err) != 0) { in ses_set_expander_props() 1590 if (topo_prop_set_string(tnode, TOPO_PGROUP_SMP, in ses_set_expander_props() 1597 if (topo_prop_set_string(tnode, TOPO_PGROUP_SMP, in ses_set_expander_props() 1603 if (topo_prop_set_string(tnode, TOPO_PGROUP_SMP, in ses_set_expander_props() 1610 topo_prop_set_string_array(tnode, TOPO_PGROUP_SMP, in ses_set_expander_props() 1622 if ((topo_pgroup_create(tnode, &ses_pgroup, &err) != 0) && in ses_set_expander_props() 1654 if (topo_prop_set_string(tnode, TOPO_PGROUP_SES, in ses_set_expander_props() 1661 if (topo_prop_set_string(tnode, TOPO_PGROUP_SES, in ses_set_expander_props() 1668 if (topo_prop_set_string(tnode, TOPO_PGROUP_SES, in ses_set_expander_props() [all …]
|
/titanic_50/usr/src/uts/common/crypto/core/ |
H A D | kcf_sched.c | 944 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()
|
/titanic_50/usr/src/uts/common/io/ |
H A D | trill.c | 1162 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 …]
|
/titanic_50/usr/src/cmd/mv/ |
H A D | mv.c | 542 tree_node_t *tnode; in cpymve() local 581 if ((tnode = create_tnode(save_dev, in cpymve() 586 if ((tptr = avl_find(stree, tnode, &where)) != NULL) { in cpymve() 590 free(tnode); in cpymve() 981 tree_node_t *tnode; in create_tnode() local 983 if ((tnode = (tree_node_t *)malloc(sizeof (tree_node_t))) != NULL) { in create_tnode() 984 tnode->node_dev = dev; in create_tnode() 985 tnode->node_ino = ino; in create_tnode() 988 return (tnode); in create_tnode()
|
/titanic_50/usr/src/uts/sun4u/starcat/os/ |
H A D | starcat.c | 571 int mnode, snode, tnode; in plat_lgrp_config() local 626 tnode = plat_lgrphand_to_mem_node(thand); in plat_lgrp_config() 629 plat_assign_lgrphand_to_mem_node(shand, tnode); in plat_lgrp_config()
|
/titanic_50/usr/src/uts/sun4u/lw8/os/ |
H A D | lw8_platmod.c | 522 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()
|
/titanic_50/usr/src/uts/sun4u/serengeti/os/ |
H A D | serengeti.c | 515 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()
|
/titanic_50/usr/src/lib/libdevinfo/ |
H A D | devinfo_devlink.h | 161 struct tnode { struct
|
H A D | devinfo_devlink.c | 1444 struct tnode tnd = {NULL}; in lookup_node() 1602 struct tnode *tnp = arg; in visit_node()
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | gcore.c | 527 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()
|