/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv_ns.c | 274 treenode_t *tnode = kmem_zalloc(sizeof (*tnode), KM_SLEEP); in tree_prepend_node() local 277 tnode->tree_child_first = n; in tree_prepend_node() 278 n->tree_parent = tnode; in tree_prepend_node() 281 tnode->tree_vis = v; in tree_prepend_node() 284 tnode->tree_exi = e; in tree_prepend_node() 285 e->exi_tree = tnode; in tree_prepend_node() 287 return (tnode); in tree_prepend_node() 838 treenode_t *tnode, *old_nd; in treeclimb_unexport() local 850 tnode = exip->exi_tree; in treeclimb_unexport() 851 if (tnode == NULL) { in treeclimb_unexport() [all …]
|
H A D | nfs_export.c | 693 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() 747 tnode->tree_vis->vis_seccnt > 0) { in srv_secinfo_treeclimb() 749 &exip->exi_export.ex_seccnt, tnode->tree_vis->vis_secinfo, in srv_secinfo_treeclimb() 750 tnode->tree_vis->vis_seccnt, FALSE); in srv_secinfo_treeclimb() [all …]
|
/illumos-gate/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()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_directory.c | 115 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() 262 if ((fqi->fq_fnode == tnode) || smb_node_is_dfslink(fqi->fq_fnode)) { in smb_com_delete_directory() 374 smb_node_t *tnode; in smb_com_check_directory() local [all …]
|
H A D | smb_cmn_rename.c | 101 smb_node_t *tnode; in smb_common_rename() local 106 tnode = sr->tid_tree->t_snode; in smb_common_rename() 157 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode, in smb_common_rename() 177 rc = smb_fsop_lookup(sr, sr->user_cr, 0, tnode, in smb_common_rename() 221 SMB_CASE_SENSITIVE, tnode, dst_dnode, new_name, in smb_common_rename() 436 smb_node_t *tnode; in smb_make_link() local 440 tnode = sr->tid_tree->t_snode; in smb_make_link() 483 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode, in smb_make_link() 507 rc = smb_fsop_lookup(sr, sr->user_cr, 0, tnode, in smb_make_link() 545 smb_node_t *tnode; in smb_rename_lookup_src() local [all …]
|
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 | 51 smb_node_t *tnode; in smb2_setinfo_quota() local 68 tnode = sr->tid_tree->t_snode; in smb2_setinfo_quota() 70 if (smb_node_getmntpath(tnode, root_path, MAXPATHLEN) != 0) { in smb2_setinfo_quota()
|
H A D | smb2_qinfo_quota.c | 51 smb_node_t *tnode; in smb2_qinfo_quota() local 83 tnode = sr->tid_tree->t_snode; in smb2_qinfo_quota() 85 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()
|
H A D | smb_odir.c | 1364 smb_node_t *tnode = NULL; in smb_odir_wildcard_fileinfo() local 1367 if (smb_odir_lookup_link(sr, od, odirent->od_name, &tnode)) { in smb_odir_wildcard_fileinfo() 1370 rc = smb_fsop_getattr(NULL, zone_kcred(), tnode, &attr); in smb_odir_wildcard_fileinfo() 1372 smb_node_release(tnode); in smb_odir_wildcard_fileinfo() 1378 tvp = tnode->vp; in smb_odir_wildcard_fileinfo() 1380 smb_node_release(tnode); in smb_odir_wildcard_fileinfo()
|
/illumos-gate/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 …]
|
/illumos-gate/usr/src/uts/sun4u/opl/os/ |
H A D | opl.c | 634 int mnode, snode, tnode; in plat_lgrp_config() local 701 tnode = plat_lgrphand_to_mem_node(thand); in plat_lgrp_config() 706 if (tnode != -1 && mem_node_config[tnode].exists) { in plat_lgrp_config() 707 start = mem_node_config[tnode].physbase; in plat_lgrp_config() 708 end = mem_node_config[tnode].physmax; in plat_lgrp_config() 713 plat_assign_lgrphand_to_mem_node(shand, tnode); in plat_lgrp_config()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses.c | 1632 tnode_t *ptnode, tnode_t *tnode, int *phycount, int64_t *connlist) in ses_set_expander_props() argument 1686 if (topo_pgroup_create(tnode, &smp_pgroup, &err) != 0) { in ses_set_expander_props() 1692 if (topo_prop_set_string(tnode, TOPO_PGROUP_SMP, in ses_set_expander_props() 1699 if (topo_prop_set_string(tnode, TOPO_PGROUP_SMP, in ses_set_expander_props() 1705 if (topo_prop_set_string(tnode, TOPO_PGROUP_SMP, in ses_set_expander_props() 1712 topo_prop_set_string_array(tnode, TOPO_PGROUP_SMP, in ses_set_expander_props() 1724 if ((topo_pgroup_create(tnode, &ses_pgroup, &err) != 0) && in ses_set_expander_props() 1756 if (topo_prop_set_string(tnode, TOPO_PGROUP_SES, in ses_set_expander_props() 1763 if (topo_prop_set_string(tnode, TOPO_PGROUP_SES, in ses_set_expander_props() 1770 if (topo_prop_set_string(tnode, TOPO_PGROUP_SES, in ses_set_expander_props() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | trill.c | 1163 trill_node_t *tnode; in trill_add_nick() local 1180 tnode = kmem_zalloc(sizeof (trill_node_t), KM_SLEEP); in trill_add_nick() 1181 tnode->tn_ni = kmem_zalloc(size, KM_SLEEP); in trill_add_nick() 1182 if (ddi_copyin(arg, tnode->tn_ni, size, mode) != 0) { in trill_add_nick() 1183 kmem_free(tnode->tn_ni, size); in trill_add_nick() 1184 kmem_free(tnode, sizeof (trill_node_t)); in trill_add_nick() 1188 tnode->tn_refs++; in trill_add_nick() 1196 tnode->tn_tsp = find_trill_link(tip, in trill_add_nick() 1197 tnode->tn_ni->tni_linkid); in trill_add_nick() 1199 DTRACE_PROBE2(trill__add__nick, trill_node_t *, tnode, in trill_add_nick() [all …]
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/mv/ |
H A D | mv.c | 660 tree_node_t *tnode; in cpymve() local 699 if ((tnode = create_tnode(save_dev, in cpymve() 704 if ((tptr = avl_find(stree, tnode, &where)) != NULL) { in cpymve() 708 free(tnode); in cpymve() 1099 tree_node_t *tnode; in create_tnode() local 1101 if ((tnode = (tree_node_t *)malloc(sizeof (tree_node_t))) != NULL) { in create_tnode() 1102 tnode->node_dev = dev; in create_tnode() 1103 tnode->node_ino = ino; in create_tnode() 1106 return (tnode); in create_tnode()
|
/illumos-gate/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()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devlink.h | 161 struct tnode { struct
|
H A D | devinfo_devlink.c | 1445 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 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()
|