Home
last modified time | relevance | path

Searched refs:snode (Results 1 – 25 of 28) sorted by relevance

12

/titanic_41/usr/src/cmd/mdb/common/modules/specfs/
H A Dspecfs.c84 struct snode *sp; in snode_walk_step()
85 struct snode snode; in snode_walk_step() local
91 sw->sw_stable += sizeof (struct snode *); in snode_walk_step()
101 if (mdb_vread(&snode, sizeof (snode), addr) == -1) { in snode_walk_step()
106 wsp->walk_addr = (uintptr_t)snode.s_next; in snode_walk_step()
108 return (wsp->walk_callback(addr, &snode, wsp->walk_cbdata)); in snode_walk_step()
124 snode_cb(uintptr_t addr, const struct snode *snode, snode_cbdata_t *sd) in snode_cb() argument
145 int major = getmajor(snode->s_dev); in snode_cb()
146 int minor = getminor(snode->s_dev); in snode_cb()
156 addr, snode->s_vnode, snode->s_count, snode->s_dev, in snode_cb()
[all …]
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fsops.c927 smb_fsop_getattr(smb_request_t *sr, cred_t *cr, smb_node_t *snode, in smb_fsop_getattr() argument
938 ASSERT(snode); in smb_fsop_getattr()
939 ASSERT(snode->n_magic == SMB_NODE_MAGIC); in smb_fsop_getattr()
940 ASSERT(snode->n_state != SMB_NODE_STATE_DESTROYING); in smb_fsop_getattr()
942 if (SMB_TREE_CONTAINS_NODE(sr, snode) == 0 || in smb_fsop_getattr()
965 unnamed_node = SMB_IS_STREAM(snode); in smb_fsop_getattr()
973 rc = smb_vop_getattr(snode->vp, unnamed_vp, attr, flags, cr); in smb_fsop_getattr()
975 if ((rc == 0) && smb_node_is_dfslink(snode)) { in smb_fsop_getattr()
1213 smb_node_t *snode, in smb_fsop_setattr() argument
1225 ASSERT(snode); in smb_fsop_setattr()
[all …]
H A Dsmb_tree.c633 smb_node_t *snode = NULL; in smb_tree_connect_disk() local
661 &snode); in smb_tree_connect_disk()
667 if (snode) in smb_tree_connect_disk()
668 smb_node_release(snode); in smb_tree_connect_disk()
675 if ((access = smb_tree_chkaccess(sr, si, snode->vp)) == 0) { in smb_tree_connect_disk()
677 smb_node_release(snode); in smb_tree_connect_disk()
716 tree = smb_tree_alloc(sr, si, snode, access, sr->sr_cfg->skc_execflags); in smb_tree_connect_disk()
718 smb_node_release(snode); in smb_tree_connect_disk()
753 smb_node_t *snode = NULL; in smb_tree_connect_printq() local
786 &snode); in smb_tree_connect_printq()
[all …]
H A Dsmb_fsinfo.c196 smb_node_t *snode; in smb_com_trans2_query_fs_information() local
213 snode = tree->t_snode; in smb_com_trans2_query_fs_information()
214 fsid = SMB_NODE_FSID(snode); in smb_com_trans2_query_fs_information()
H A Dsmb_node.c394 smb_node_t *snode; in smb_stream_node_lookup() local
402 snode = smb_node_lookup(sr, NULL, cr, vp, stream_name, xattrdir_node, in smb_stream_node_lookup()
406 return (snode); in smb_stream_node_lookup()
/titanic_41/usr/src/uts/common/fs/specfs/
H A Dspecsubr.c76 static struct snode *sfind(dev_t, vtype_t, struct vnode *);
77 static struct vnode *get_cvp(dev_t, vtype_t, struct snode *, int *);
78 static void sinsert(struct snode *);
118 struct snode *sp; in specvp()
119 struct snode *nsp; in specvp()
120 struct snode *csp; in specvp()
225 struct snode *sp; in makespecvp()
284 struct snode *csp; in spec_assoc_fence()
343 struct snode *csp; in spec_assoc_vp_with_devi()
388 struct snode *csp; in spec_hold_devi_by_vp()
[all …]
H A Dspecvnops.c247 spec_lockcsp(struct snode *csp, int intr, int setlock, int hold) in spec_lockcsp()
309 spec_size(struct snode *csp) in spec_size()
456 struct snode *oldsp, *oldcsp; in spec_clone()
457 struct snode *newsp, *newcsp; in spec_clone()
565 struct snode *sp, *csp; in spec_open()
880 struct snode *sp, *csp; in spec_close()
981 struct snode *sp = VTOS(vp); in spec_read()
1087 struct snode *sp = VTOS(vp); in spec_write()
1263 struct snode *sp; in spec_ioctl()
1295 struct snode *sp; in spec_getattr()
[all …]
H A Dspecvfsops.c112 struct snode *sync_list; in spec_sync()
113 register struct snode **spp, *sp, *spnext; in spec_sync()
/titanic_41/usr/src/uts/common/sys/fs/
H A Dsnode.h66 struct snode { struct
68 struct snode *s_next; /* must be first */ argument
84 struct snode *s_list; /* used for syncing */ argument
128 #define VTOS(vp) ((struct snode *)((vp)->v_data))
161 void sdelete(struct snode *);
162 void smark(struct snode *, int);
174 void spec_snode_walk(int (*callback)(struct snode *, void *), void *);
175 int spec_devi_open_count(struct snode *, dev_info_t **);
222 extern struct snode *stable[];
/titanic_41/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_ncallio.h53 int snode; /* server node */ member
76 int snode; /* server node */ member
86 #define rw_snode rw_u.rw.snode
H A Dnsc_ncallio.c62 int i, snode; in nsc_ncio_split() local
64 snode = 0; in nsc_ncio_split()
70 snode = (10 * snode) + i; in nsc_ncio_split()
81 return (snode); in nsc_ncio_split()
101 int snode; in nsc_ncio_open() local
103 snode = nsc_ncio_split(node_and_path, &path); in nsc_ncio_open()
104 if (snode < 0) in nsc_ncio_open()
113 new->snode = snode; in nsc_ncio_open()
435 h->rw.rw_snode = ncp->snode; in nsc_ncio_allocb()
501 rc = ncall_alloc(ncp->snode, 0, 0, &ncall); in nsc_ncio_attach()
/titanic_41/usr/src/uts/common/os/
H A Dconsole.c127 struct snode *csp = VTOS(VTOS(fbvp)->s_commonvp); in console_hold()
155 struct snode *csp = VTOS(VTOS(fbvp)->s_commonvp); in console_rele()
H A Ddriver_lyr.c1265 struct snode *sp, *csp; in ldi_mlink_fp()
1379 struct snode *sp; in ldi_munlink_fp()
2008 struct snode *csp; in ldi_prop_op()
2284 struct snode *csp; in ldi_prop_lookup_int_array()
2340 struct snode *csp; in ldi_prop_lookup_int64_array()
2397 struct snode *csp; in ldi_prop_lookup_string_array()
2472 struct snode *csp; in ldi_prop_lookup_string()
2550 struct snode *csp; in ldi_prop_lookup_byte_array()
2607 struct snode *csp; in ldi_prop_get_int()
2668 struct snode *csp; in ldi_prop_get_int64()
[all …]
H A Dpolicy.c2181 struct snode *csp = VTOS(common_specvp(vp)); in secpolicy_spec_open()
/titanic_41/usr/src/uts/sun4u/starcat/os/
H A Dstarcat.c571 int mnode, snode, tnode; in plat_lgrp_config() local
625 snode = plat_lgrphand_to_mem_node(shand); in plat_lgrp_config()
628 plat_assign_lgrphand_to_mem_node(thand, snode); in plat_lgrp_config()
638 lgrp_config(LGRP_CONFIG_MEM_RENAME, (uintptr_t)snode, in plat_lgrp_config()
/titanic_41/usr/src/uts/sun4u/serengeti/os/
H A Dserengeti.c515 int snode, tnode; in plat_lgrp_config() local
557 snode = plat_lgrphand_to_mem_node(shand); in plat_lgrp_config()
560 plat_assign_lgrphand_to_mem_node(thand, snode); in plat_lgrp_config()
570 lgrp_config(LGRP_CONFIG_MEM_RENAME, (uintptr_t)snode, in plat_lgrp_config()
/titanic_41/usr/src/uts/sun4u/lw8/os/
H A Dlw8_platmod.c522 int snode, tnode; in plat_lgrp_config() local
565 snode = plat_lgrphand_to_mem_node(shand); in plat_lgrp_config()
568 plat_assign_lgrphand_to_mem_node(thand, snode); in plat_lgrp_config()
578 lgrp_config(LGRP_CONFIG_MEM_RENAME, (uintptr_t)snode, in plat_lgrp_config()
/titanic_41/usr/src/uts/sun4u/opl/os/
H A Dopl.c631 int mnode, snode, tnode; in plat_lgrp_config() local
697 snode = plat_lgrphand_to_mem_node(shand); in plat_lgrp_config()
709 plat_assign_lgrphand_to_mem_node(thand, snode); in plat_lgrp_config()
719 lgrp_config(LGRP_CONFIG_MEM_RENAME, (uintptr_t)snode, in plat_lgrp_config()
/titanic_41/usr/src/lib/libkmf/libkmf/common/
H A Dpolicy.c62 xmlNodePtr snode; in addFormatting() local
67 snode = xmlNewText((const xmlChar *)text); in addFormatting()
68 if (snode != NULL) { in addFormatting()
69 (void) xmlAddChild(parent, snode); in addFormatting()
/titanic_41/usr/src/uts/common/io/
H A Dgentty.c222 struct snode *csp; in syopen()
H A Dzcons.c750 struct snode *slave_snodep; in zc_wput()
/titanic_41/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c10695 xmlNodePtr snode; in export_service() local
10700 snode = xmlNewNode(NULL, (xmlChar *)"service"); in export_service()
10701 if (snode == NULL) in export_service()
10707 safe_setprop(snode, name_attr, exp_str); in export_service()
10709 safe_setprop(snode, type_attr, "service"); in export_service()
10710 safe_setprop(snode, "version", "0"); in export_service()
10788 (void) xmlAddChild(snode, elts.create_default_instance); in export_service()
10789 (void) xmlAddChild(snode, elts.single_instance); in export_service()
10790 (void) xmlAddChild(snode, elts.restarter); in export_service()
10791 (void) xmlAddChildList(snode, elts.dependencies); in export_service()
[all …]
/titanic_41/usr/src/uts/common/sys/
H A DMakefile874 snode.h \
/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dsocksubr.c134 struct snode *csp; in sogetvp()
/titanic_41/usr/src/uts/common/vm/
H A Dseg_dev.c4087 struct snode *sp = VTOS(VTOCVP(sdp->vp)); in segdev_copyfrom()
4098 struct snode *sp = VTOS(VTOCVP(sdp->vp)); in segdev_copyto()

12