Home
last modified time | relevance | path

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

12

/onnv-gate/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 …]
/onnv-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fsops.c906 smb_fsop_getattr(smb_request_t *sr, cred_t *cr, smb_node_t *snode, in smb_fsop_getattr() argument
917 ASSERT(snode); in smb_fsop_getattr()
918 ASSERT(snode->n_magic == SMB_NODE_MAGIC); in smb_fsop_getattr()
919 ASSERT(snode->n_state != SMB_NODE_STATE_DESTROYING); in smb_fsop_getattr()
921 if (SMB_TREE_CONTAINS_NODE(sr, snode) == 0 || in smb_fsop_getattr()
944 unnamed_node = SMB_IS_STREAM(snode); in smb_fsop_getattr()
952 rc = smb_vop_getattr(snode->vp, unnamed_vp, attr, flags, cr); in smb_fsop_getattr()
954 if ((rc == 0) && smb_node_is_dfslink(snode)) { in smb_fsop_getattr()
1181 smb_node_t *snode, in smb_fsop_setattr() argument
1193 ASSERT(snode); in smb_fsop_setattr()
[all …]
H A Dsmb_tree.c631 smb_node_t *snode = NULL; in smb_tree_connect_disk() local
659 &snode); in smb_tree_connect_disk()
665 if (snode) in smb_tree_connect_disk()
666 smb_node_release(snode); in smb_tree_connect_disk()
673 if ((access = smb_tree_chkaccess(sr, si, snode->vp)) == 0) { in smb_tree_connect_disk()
675 smb_node_release(snode); in smb_tree_connect_disk()
714 tree = smb_tree_alloc(user, si, snode, access, in smb_tree_connect_disk()
717 smb_node_release(snode); in smb_tree_connect_disk()
752 smb_node_t *snode = NULL; in smb_tree_connect_printq() local
779 &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.c381 smb_node_t *snode; in smb_stream_node_lookup() local
389 snode = smb_node_lookup(sr, NULL, cr, vp, stream_name, xattrdir_node, in smb_stream_node_lookup()
393 return (snode); in smb_stream_node_lookup()
/onnv-gate/usr/src/uts/common/fs/specfs/
H A Dspecsubr.c73 static struct snode *sfind(dev_t, vtype_t, struct vnode *);
74 static struct vnode *get_cvp(dev_t, vtype_t, struct snode *, int *);
75 static void sinsert(struct snode *);
115 struct snode *sp; in specvp()
116 struct snode *nsp; in specvp()
117 struct snode *csp; in specvp()
222 struct snode *sp; in makespecvp()
281 struct snode *csp; in spec_assoc_fence()
340 struct snode *csp; in spec_assoc_vp_with_devi()
385 struct snode *csp; in spec_hold_devi_by_vp()
[all …]
H A Dspecvnops.c246 spec_lockcsp(struct snode *csp, int intr, int setlock, int hold) in spec_lockcsp()
308 spec_size(struct snode *csp) in spec_size()
455 struct snode *oldsp, *oldcsp; in spec_clone()
456 struct snode *newsp, *newcsp; in spec_clone()
564 struct snode *sp, *csp; in spec_open()
879 struct snode *sp, *csp; in spec_close()
980 struct snode *sp = VTOS(vp); in spec_read()
1086 struct snode *sp = VTOS(vp); in spec_write()
1262 struct snode *sp; in spec_ioctl()
1294 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()
/onnv-gate/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[];
/onnv-gate/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()
/onnv-gate/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.c1256 struct snode *sp, *csp; in ldi_mlink_fp()
1370 struct snode *sp; in ldi_munlink_fp()
1999 struct snode *csp; in ldi_prop_op()
2275 struct snode *csp; in ldi_prop_lookup_int_array()
2331 struct snode *csp; in ldi_prop_lookup_int64_array()
2388 struct snode *csp; in ldi_prop_lookup_string_array()
2463 struct snode *csp; in ldi_prop_lookup_string()
2541 struct snode *csp; in ldi_prop_lookup_byte_array()
2598 struct snode *csp; in ldi_prop_get_int()
2659 struct snode *csp; in ldi_prop_get_int64()
[all …]
H A Dpolicy.c2169 struct snode *csp = VTOS(common_specvp(vp)); in secpolicy_spec_open()
/onnv-gate/usr/src/uts/sun4u/starcat/os/
H A Dstarcat.c567 int mnode, snode, tnode; in plat_lgrp_config() local
621 snode = plat_lgrphand_to_mem_node(shand); in plat_lgrp_config()
624 plat_assign_lgrphand_to_mem_node(thand, snode); in plat_lgrp_config()
634 lgrp_config(LGRP_CONFIG_MEM_RENAME, (uintptr_t)snode, in plat_lgrp_config()
/onnv-gate/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()
/onnv-gate/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()
/onnv-gate/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()
/onnv-gate/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()
/onnv-gate/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()
/onnv-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c10431 xmlNodePtr snode; in export_service() local
10436 snode = xmlNewNode(NULL, (xmlChar *)"service"); in export_service()
10437 if (snode == NULL) in export_service()
10443 safe_setprop(snode, name_attr, exp_str); in export_service()
10445 safe_setprop(snode, type_attr, "service"); in export_service()
10446 safe_setprop(snode, "version", "0"); in export_service()
10524 (void) xmlAddChild(snode, elts.create_default_instance); in export_service()
10525 (void) xmlAddChild(snode, elts.single_instance); in export_service()
10526 (void) xmlAddChild(snode, elts.restarter); in export_service()
10527 (void) xmlAddChildList(snode, elts.dependencies); in export_service()
[all …]
/onnv-gate/usr/src/uts/common/sys/
H A DMakefile868 snode.h \
/onnv-gate/usr/src/uts/common/fs/sockfs/
H A Dsocksubr.c134 struct snode *csp; in sogetvp()
/onnv-gate/usr/src/uts/common/vm/
H A Dseg_dev.c4086 struct snode *sp = VTOS(VTOCVP(sdp->vp)); in segdev_copyfrom()
4097 struct snode *sp = VTOS(VTOCVP(sdp->vp)); in segdev_copyto()

12