/illumos-gate/usr/src/cmd/mdb/common/modules/specfs/ |
H A D | specfs.c | 82 struct snode *sp; in snode_walk_step() 83 struct snode snode; in snode_walk_step() local 89 sw->sw_stable += sizeof (struct snode *); in snode_walk_step() 99 if (mdb_vread(&snode, sizeof (snode), addr) == -1) { in snode_walk_step() 104 wsp->walk_addr = (uintptr_t)snode.s_next; in snode_walk_step() 106 return (wsp->walk_callback(addr, &snode, wsp->walk_cbdata)); in snode_walk_step() 122 snode_cb(uintptr_t addr, const struct snode *snode, snode_cbdata_t *sd) in snode_cb() argument 143 int major = getmajor(snode->s_dev); in snode_cb() 144 int minor = getminor(snode->s_dev); in snode_cb() 154 addr, snode->s_vnode, snode->s_count, snode->s_dev, in snode_cb() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_fsops.c | 1009 smb_fsop_getattr(smb_request_t *sr, cred_t *cr, smb_node_t *snode, in smb_fsop_getattr() argument 1020 ASSERT(snode); in smb_fsop_getattr() 1021 ASSERT(snode->n_magic == SMB_NODE_MAGIC); in smb_fsop_getattr() 1022 ASSERT(snode->n_state != SMB_NODE_STATE_DESTROYING); in smb_fsop_getattr() 1024 if (SMB_TREE_CONTAINS_NODE(sr, snode) == 0 || in smb_fsop_getattr() 1047 unnamed_node = SMB_IS_STREAM(snode); in smb_fsop_getattr() 1055 rc = smb_vop_getattr(snode->vp, unnamed_vp, attr, flags, cr); in smb_fsop_getattr() 1057 if ((rc == 0) && smb_node_is_dfslink(snode)) { in smb_fsop_getattr() 1305 smb_node_t *snode, in smb_fsop_setattr() argument 1317 ASSERT(snode); in smb_fsop_setattr() [all …]
|
H A D | smb2_aapl.c | 172 smb_node_t *fnode, *snode; in smb2_aapl_get_macinfo() local 193 od->d_dnode, tbuf, &snode); in smb2_aapl_get_macinfo() 197 rc = smb_node_getattr(NULL, snode, kcr, NULL, &attr); in smb2_aapl_get_macinfo() 201 smb_node_release(snode); in smb2_aapl_get_macinfo() 202 snode = NULL; in smb2_aapl_get_macinfo() 212 od->d_dnode, tbuf, &snode); in smb2_aapl_get_macinfo() 227 rc = smb_fsop_read(sr, kcr, snode, NULL, &uio, 0); in smb2_aapl_get_macinfo() 232 smb_node_release(snode); in smb2_aapl_get_macinfo() 233 snode = NULL; in smb2_aapl_get_macinfo()
|
H A D | smb_tree.c | 671 smb_node_t *snode = NULL; in smb_tree_connect_disk() local 693 snode = si->shr_root_node; in smb_tree_connect_disk() 694 if (snode == NULL) { in smb_tree_connect_disk() 699 if ((access = smb_tree_chkaccess(sr, si, snode->vp)) == 0) { in smb_tree_connect_disk() 750 tree = smb_tree_alloc(sr, si, snode, access, sr->sr_cfg->skc_execflags); in smb_tree_connect_disk() 799 smb_node_t *snode = NULL; in smb_tree_connect_printq() local 830 &snode); in smb_tree_connect_printq() 836 if (snode) in smb_tree_connect_printq() 837 smb_node_release(snode); in smb_tree_connect_printq() 843 if ((access = smb_tree_chkaccess(sr, si, snode->vp)) == 0) { in smb_tree_connect_printq() [all …]
|
H A D | smb2_qinfo_fs.c | 100 smb_node_t *snode; in smb2_qfs_volume() local 108 snode = tree->t_snode; in smb2_qfs_volume() 109 fsid = SMB_NODE_FSID(snode); in smb2_qfs_volume()
|
H A D | smb_fsinfo.c | 165 smb_node_t *snode; in smb_com_trans2_query_fs_information() local 182 snode = tree->t_snode; in smb_com_trans2_query_fs_information() 183 fsid = SMB_NODE_FSID(snode); in smb_com_trans2_query_fs_information()
|
H A D | smb_kshare.c | 729 smb_node_t *snode = NULL; in smb_kshare_export() local 760 rc = smb_server_share_lookup(sv, shr->shr_path, &snode); in smb_kshare_export() 767 shr->shr_root_node = snode; in smb_kshare_export() 772 smb_node_release(snode); in smb_kshare_export()
|
H A D | smb2_durable.c | 349 smb_node_t *snode; in smb2_dh_import_share() local 386 snode = sr->tid_tree->t_snode; in smb2_dh_import_share() 399 if (smb_odir_openat(sr, snode, &od, B_FALSE) != 0) { in smb2_dh_import_share() 439 snode, snode, str_info->si_name, &str_node); in smb2_dh_import_share()
|
H A D | smb_node.c | 406 smb_node_t *snode; in smb_stream_node_lookup() local 414 snode = smb_node_lookup(sr, NULL, cr, vp, stream_name, xattrdir_node, in smb_stream_node_lookup() 418 return (snode); in smb_stream_node_lookup()
|
/illumos-gate/usr/src/uts/common/fs/specfs/ |
H A D | specsubr.c | 77 static struct snode *sfind(dev_t, vtype_t, struct vnode *); 78 static struct vnode *get_cvp(dev_t, vtype_t, struct snode *, int *); 79 static void sinsert(struct snode *); 119 struct snode *sp; in specvp() 120 struct snode *nsp; in specvp() 121 struct snode *csp; in specvp() 226 struct snode *sp; in makespecvp() 285 struct snode *csp; in spec_assoc_fence() 344 struct snode *csp; in spec_assoc_vp_with_devi() 389 struct snode *csp; in spec_hold_devi_by_vp() [all …]
|
H A D | specvnops.c | 249 spec_lockcsp(struct snode *csp, int intr, int setlock, int hold) in spec_lockcsp() 311 spec_size(struct snode *csp) in spec_size() 458 struct snode *oldsp, *oldcsp; in spec_clone() 459 struct snode *newsp, *newcsp; in spec_clone() 568 struct snode *sp, *csp; in spec_open() 883 struct snode *sp, *csp; in spec_close() 984 struct snode *sp = VTOS(vp); in spec_read() 1090 struct snode *sp = VTOS(vp); in spec_write() 1266 struct snode *sp; in spec_ioctl() 1298 struct snode *sp; in spec_getattr() [all …]
|
H A D | specvfsops.c | 112 struct snode *sync_list; in spec_sync() 113 register struct snode **spp, *sp, *spnext; in spec_sync()
|
/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | snode.h | 64 struct snode { struct 66 struct snode *s_next; /* must be first */ argument 82 struct snode *s_list; /* used for syncing */ argument 126 #define VTOS(vp) ((struct snode *)((vp)->v_data)) 159 void sdelete(struct snode *); 160 void smark(struct snode *, int); 172 void spec_snode_walk(int (*callback)(struct snode *, void *), void *); 173 int spec_devi_open_count(struct snode *, dev_info_t **); 220 extern struct snode *stable[];
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | console.c | 127 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 D | driver_lyr.c | 1265 struct snode *sp, *csp; in ldi_mlink_fp() 1389 struct snode *sp; in ldi_munlink_fp() 2025 struct snode *csp; in ldi_prop_op() 2301 struct snode *csp; in ldi_prop_lookup_int_array() 2357 struct snode *csp; in ldi_prop_lookup_int64_array() 2414 struct snode *csp; in ldi_prop_lookup_string_array() 2489 struct snode *csp; in ldi_prop_lookup_string() 2567 struct snode *csp; in ldi_prop_lookup_byte_array() 2624 struct snode *csp; in ldi_prop_get_int() 2685 struct snode *csp; in ldi_prop_get_int64() [all …]
|
H A D | policy.c | 2262 struct snode *csp = VTOS(common_specvp(vp)); in secpolicy_spec_open()
|
/illumos-gate/usr/src/uts/sun4u/lw8/os/ |
H A D | lw8_platmod.c | 522 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()
|
/illumos-gate/usr/src/uts/sun4u/opl/os/ |
H A D | opl.c | 634 int mnode, snode, tnode; in plat_lgrp_config() local 700 snode = plat_lgrphand_to_mem_node(shand); in plat_lgrp_config() 712 plat_assign_lgrphand_to_mem_node(thand, snode); in plat_lgrp_config() 722 lgrp_config(LGRP_CONFIG_MEM_RENAME, (uintptr_t)snode, 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 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()
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | policy.c | 62 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()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | gentty.c | 222 struct snode *csp; in syopen()
|
H A D | zcons.c | 755 struct snode *subsidiary_snodep; in zc_wput()
|
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_libscf.c | 10732 xmlNodePtr snode; in export_service() local 10737 snode = xmlNewNode(NULL, (xmlChar *)"service"); in export_service() 10738 if (snode == NULL) in export_service() 10744 safe_setprop(snode, name_attr, exp_str); in export_service() 10746 safe_setprop(snode, type_attr, "service"); in export_service() 10747 safe_setprop(snode, "version", "0"); in export_service() 10825 (void) xmlAddChild(snode, elts.create_default_instance); in export_service() 10826 (void) xmlAddChild(snode, elts.single_instance); in export_service() 10827 (void) xmlAddChild(snode, elts.restarter); in export_service() 10828 (void) xmlAddChildList(snode, elts.dependencies); in export_service() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | Makefile | 865 snode.h \
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socksubr.c | 133 struct snode *csp; in sogetvp()
|