Home
last modified time | relevance | path

Searched refs:tnp (Results 1 – 14 of 14) sorted by relevance

/titanic_41/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vfsops.c381 struct tmpnode *tnp, *cancel; in tmp_unmount() local
406 tnp = tm->tm_rootnode; in tmp_unmount()
407 if (TNTOV(tnp)->v_count > 1) { in tmp_unmount()
412 for (tnp = tnp->tn_forw; tnp; tnp = tnp->tn_forw) { in tmp_unmount()
413 if ((vp = TNTOV(tnp))->v_count > 0) { in tmp_unmount()
415 while (cancel != tnp) { in tmp_unmount()
443 for (tnp = tm->tm_rootnode; tnp; tnp = tnp->tn_forw) { in tmp_unmount()
444 rw_enter(&tnp->tn_rwlock, RW_WRITER); in tmp_unmount()
445 if (tnp->tn_type == VDIR) in tmp_unmount()
446 tdirtrunc(tnp); in tmp_unmount()
[all …]
H A Dtmp_dir.c146 struct tmpnode *tnp; in tmpfs_hash_lookup() local
161 tnp = l->td_tmpnode; in tmpfs_hash_lookup()
163 ASSERT(tnp); in tmpfs_hash_lookup()
164 tmpnode_hold(tnp); in tmpfs_hash_lookup()
167 *found = tnp; in tmpfs_hash_lookup()
437 struct tmpnode *tnp; in tdirdelete() local
473 tpdp = tmpfs_hash_lookup(nm, dir, 0, &tnp); in tdirdelete()
487 if (tp != tnp) in tdirdelete()
/titanic_41/usr/src/cmd/awk_xpg4/
H A Dawk4.c359 register NODE *tnp, *snp, *otnp; in f_split() local
371 tnp = getlist(&np); in f_split()
372 if (snp->n_type == INDEX && snp->n_left == tnp) in f_split()
378 switch (tnp->n_type) { in f_split()
380 delarray(tnp); in f_split()
387 if (isstring(tnp->n_flags) && tnp->n_string==_null) in f_split()
421 otnp = tnp; /* save tnp for possible promotion */ in f_split()
422 tnp = node(INDEX, tnp, constant); in f_split()
436 (void)assign(tnp, stringnode(cp,FALLOC|FSENSE,(size_t)(ep-cp))); in f_split()
585 register NODE *tnp; in f_asort() local
[all …]
H A Dawk3.c561 register NODE *tnp; in execute() local
583 tnp = np; in execute()
609 np = tnp; in execute()
1002 NODE *tnp; in exprreduce() local
1040 tnp = np->n_left; in exprreduce()
1043 fname = aname = tnp->n_name; in exprreduce()
1044 if (tnp->n_type == PARM) { in exprreduce()
1045 tnp = tnp->n_next; in exprreduce()
1046 tag = tnp->n_scope; in exprreduce()
1047 if (!(tnp->n_flags & FLARRAY)) { in exprreduce()
[all …]
/titanic_41/usr/src/cmd/sgs/m4/common/
H A Dm4macs.c509 struct nlist *np, *tnp; in undef() local
513 tnp = hshtab[hshval]; /* lookup sets hshval */ in undef()
514 if (tnp == np) /* it's in first place */ in undef()
515 hshtab[hshval] = tnp->next; in undef()
517 while (tnp->next != np) in undef()
518 tnp = tnp->next; in undef()
520 tnp->next = np->next; in undef()
/titanic_41/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_bay.c111 bay_pgroups(topo_mod_t *mod, tnode_t *tnp, di_node_t *dnp, di_node_t *sibp, in bay_pgroups() argument
122 rv = topo_pgroup_create(tnp, &io_pgroup, &err); in bay_pgroups()
141 rv = topo_prop_set_string(tnp, TOPO_PGROUP_IO, TOPO_IO_AP_PATH, in bay_pgroups()
155 rv = topo_pgroup_create(tnp, &binding_pgroup, &err); in bay_pgroups()
172 rv = topo_prop_set_string(tnp, TOPO_PGROUP_BINDING, in bay_pgroups()
/titanic_41/usr/src/uts/common/io/
H A Dtrill.c1110 trill_node_unref(trill_inst_t *tip, trill_node_t *tnp) in trill_node_unref() argument
1112 if (atomic_dec_uint_nv(&tnp->tn_refs) == 0) { in trill_node_unref()
1113 if (tnp->tn_tsp != NULL) in trill_node_unref()
1114 trill_sock_unref(tnp->tn_tsp); in trill_node_unref()
1115 trill_node_free(tnp); in trill_node_unref()
1321 trill_node_t *tnp; in trill_do_ioctl() local
1336 if ((tnp = tip->ti_nodes[nick]) != NULL) { in trill_do_ioctl()
1337 tnip = tnp->tn_ni; in trill_do_ioctl()
1343 if (tln.tln_ours || tnp->tn_tsp == NULL) { in trill_do_ioctl()
1348 tnp->tn_tsp->ts_link->bl_linkid; in trill_do_ioctl()
/titanic_41/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c1602 struct tnode *tnp = arg; in visit_node() local
1604 if (LOOKUP_CACHE(tnp->flags)) { in visit_node()
1606 cache_node_t *cnp = tnp->node; in visit_node()
1608 cnp = (cnp) ? cnp->child : CACHE_ROOT(tnp->handle); in visit_node()
1614 if (cnp == NULL && CREATE_ELEM(tnp->flags)) { in visit_node()
1615 cnp = node_insert(tnp->handle, tnp->node, path, in visit_node()
1618 tnp->node = cnp; in visit_node()
1621 struct db_node *dnp = tnp->node; in visit_node()
1623 dnp = (dnp) ? get_node(tnp->handle, dnp->child) in visit_node()
1624 : get_node(tnp->handle, DB_HDR(tnp->handle)->root_idx); in visit_node()
[all …]
/titanic_41/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_subr2.c321 smbnode_t *tnp; in make_smbnode() local
462 tnp = sn_hashfind(mi, rpath, rplen, &where); in make_smbnode()
463 if (tnp != NULL) { in make_smbnode()
473 return (tnp); in make_smbnode()
/titanic_41/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_tbind.c773 struct conn_entry *tnp; in add_to_poll_list() local
777 tnp = conn_polled; in add_to_poll_list()
802 (void) memcpy((void *)conn_polled, (void *)tnp, in add_to_poll_list()
805 free((void *)tnp); in add_to_poll_list()
/titanic_41/usr/src/cmd/avs/rdc/
H A Dsndrd.c822 struct conn_entry *tnp; in add_to_poll_list() local
826 tnp = conn_polled; in add_to_poll_list()
854 (void) memcpy((void *)conn_polled, (void *)tnp, in add_to_poll_list()
857 free((void *)tnp); in add_to_poll_list()
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf.c211 tnarg_t *tnp = data; in obj_lookup() local
215 if ((fp = mdb_tgt_name_to_ctf(tnp->tn_tgt, name)) != NULL && in obj_lookup()
216 (id = ctf_lookup_by_name(fp, tnp->tn_name)) != CTF_ERR) { in obj_lookup()
217 tnp->tn_fp = fp; in obj_lookup()
218 tnp->tn_id = id; in obj_lookup()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_vfsops.c3207 struct nfs4_server *tnp; in nfs4setclientid() local
3212 tnp = servinfo4_to_nfs4_server(svp); in nfs4setclientid()
3213 if (tnp) { in nfs4setclientid()
3221 np = tnp; in nfs4setclientid()
/titanic_41/usr/src/uts/common/os/
H A Dsunddi.c9290 struct ptnode *tnp; in create_prom_branch() local
9322 while ((tnp = ap->head) != NULL) { in create_prom_branch()
9323 ap->head = tnp->next; in create_prom_branch()
9331 dip = e_ddi_nodeid_to_dip(tnp->nodeid); in create_prom_branch()
9339 " for nodeid 0x%x", (void *)dip, tnp->nodeid); in create_prom_branch()
9342 dip = i_ddi_create_branch(ap->pdip, tnp->nodeid); in create_prom_branch()
9345 kmem_free(tnp, sizeof (struct ptnode)); in create_prom_branch()