Searched refs:snode (Results 1 - 25 of 66) sorted by relevance

123

/illumos-gate/usr/src/cmd/mdb/common/modules/specfs/
H A Dspecfs.c33 #include <sys/fs/snode.h>
84 struct snode *sp;
85 struct snode snode; local
91 sw->sw_stable += sizeof (struct snode *);
101 if (mdb_vread(&snode, sizeof (snode), addr) == -1) {
102 mdb_warn("failed to read snode at %p", addr);
106 wsp->walk_addr = (uintptr_t)snode.s_next;
108 return (wsp->walk_callback(addr, &snode, ws
124 snode_cb(uintptr_t addr, const struct snode *snode, snode_cbdata_t *sd) argument
167 snode(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) function
170 struct snode snode; local
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_ncallio.h53 int snode; /* server node */ member in struct:nsc_ncio_dev
76 int snode; /* server node */ member in struct:nsc_ncio_rw::__anon4504::__anon4505
86 #define rw_snode rw_u.rw.snode
H A Dnsc_ncallio.c62 int i, snode; local
64 snode = 0;
70 snode = (10 * snode) + i;
81 return (snode);
101 int snode; local
103 snode = nsc_ncio_split(node_and_path, &path);
104 if (snode < 0)
113 new->snode = snode;
[all...]
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dsnode.h41 * The snode represents a special file in any filesystem. There is
42 * one snode for each active special file. Filesystems that support
49 * caching data. If an snode is created internally by the kernel,
54 * into the "common" vnode for the device in another snode.
66 struct snode { struct
68 struct snode *s_next; /* must be first */
69 struct vnode *s_vnode; /* vnode associated with this snode */
75 dev_t s_dev; /* device the snode represents */
76 dev_info_t *s_dip; /* dev_info (common snode only) */
84 struct snode *s_lis
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fsops.c521 * It is assumed that a reference exists on snode coming into this routine.
658 * It is assumed that a reference exists on snode coming into this routine.
854 * It is assumed that a reference exists on snode coming into this routine.
926 * It is assumed that a reference exists on snode coming into this routine.
929 smb_fsop_getattr(smb_request_t *sr, cred_t *cr, smb_node_t *snode, argument
940 ASSERT(snode);
941 ASSERT(snode->n_magic == SMB_NODE_MAGIC);
942 ASSERT(snode->n_state != SMB_NODE_STATE_DESTROYING);
944 if (SMB_TREE_CONTAINS_NODE(sr, snode) == 0 ||
967 unnamed_node = SMB_IS_STREAM(snode);
1212 smb_fsop_setattr( smb_request_t *sr, cred_t *cr, smb_node_t *snode, smb_attr_t *set_attr) argument
1397 smb_fsop_read(smb_request_t *sr, cred_t *cr, smb_node_t *snode, uio_t *uio) argument
1463 smb_fsop_write( smb_request_t *sr, cred_t *cr, smb_node_t *snode, uio_t *uio, uint32_t *lcount, int ioflag) argument
1566 smb_fsop_statfs( cred_t *cr, smb_node_t *snode, struct statvfs64 *statp) argument
1594 smb_fsop_access(smb_request_t *sr, cred_t *cr, smb_node_t *snode, uint32_t faccess) argument
2002 smb_fsop_commit(smb_request_t *sr, cred_t *cr, smb_node_t *snode) argument
2032 smb_fsop_aclread(smb_request_t *sr, cred_t *cr, smb_node_t *snode, smb_fssd_t *fs_sd) argument
2097 smb_fsop_aclwrite(smb_request_t *sr, cred_t *cr, smb_node_t *snode, smb_fssd_t *fs_sd) argument
2183 smb_fsop_acltype(smb_node_t *snode) argument
2195 smb_fsop_sdread(smb_request_t *sr, cred_t *cr, smb_node_t *snode, smb_fssd_t *fs_sd) argument
2281 smb_fsop_sdmerge(smb_request_t *sr, smb_node_t *snode, smb_fssd_t *fs_sd) argument
2354 smb_fsop_sdwrite(smb_request_t *sr, cred_t *cr, smb_node_t *snode, smb_fssd_t *fs_sd, int overwrite) argument
2514 smb_fsop_eaccess(smb_request_t *sr, cred_t *cr, smb_node_t *snode, uint32_t *eaccess) argument
[all...]
H A Dsmb_tree.c651 smb_node_t *snode = NULL; local
678 &snode);
684 if (snode)
685 smb_node_release(snode);
691 if ((access = smb_tree_chkaccess(sr, si, snode->vp)) == 0) {
692 smb_node_release(snode);
731 tree = smb_tree_alloc(sr, si, snode, access, sr->sr_cfg->skc_execflags);
733 smb_node_release(snode);
769 smb_node_t *snode = NULL; local
800 &snode);
877 smb_tree_alloc(smb_request_t *sr, const smb_kshare_t *si, smb_node_t *snode, uint32_t access, uint32_t execflags) argument
[all...]
H A Dsmb2_qinfo_fs.c90 smb_node_t *snode; local
97 snode = tree->t_snode;
98 fsid = SMB_NODE_FSID(snode);
H A Dsmb_fsinfo.c165 smb_node_t *snode; local
182 snode = tree->t_snode;
183 fsid = SMB_NODE_FSID(snode);
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecsubr.c55 #include <sys/fs/snode.h>
76 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 *);
94 /* associate a dip hold with the common snode's s_dip pointer */
101 * If no snode exists for this dev create one and put it
102 * in a table hashed by <dev, realvp>. If the snode for
104 * incremented by sfind). The snode will be flushed from the
118 struct snode *sp;
119 struct snode *ns
[all...]
H A Dspecvfsops.c50 #include <sys/fs/snode.h>
112 struct snode *sync_list;
113 register struct snode **spp, *sp, *spnext;
H A Dspecvnops.c80 #include <sys/fs/snode.h>
171 * not forget to add support for fencing. A fenced snode
172 * is indicated by the SFENCED flag in the common snode.
173 * If a snode is fenced, determine if your entry point is
178 * for a fenced snode with an ENXIO or EIO as appropriate. If
224 * Acquire the serial lock on the common snode.
237 * Synchronize with active SLOCKED snode, optionally checking for a signal and
247 spec_lockcsp(struct snode *csp, int intr, int setlock, int hold)
275 * Unlock the serial lock on the common snode
295 * Compute and return the size. If the size in the common snode i
[all...]
/illumos-gate/usr/src/uts/common/sys/contract/
H A Ddevice_impl.h34 #include <sys/fs/snode.h>
/illumos-gate/usr/src/uts/common/os/
H A Dconsole.c45 #include <sys/fs/snode.h>
127 struct snode *csp = VTOS(VTOS(fbvp)->s_commonvp);
155 struct snode *csp = VTOS(VTOS(fbvp)->s_commonvp);
H A Ddriver_lyr.c43 #include <sys/fs/snode.h>
79 * Define macros to manipulate snode, vnode, and open device flags
1265 struct snode *sp, *csp;
1286 * increment the common snode s_count.
1293 * s_count in the common snode. if we don't increment
1299 * called for the file_t associated with this snode.
1330 * mark the snode/stream as multiplexed
1379 struct snode *sp;
1400 * mark the snode/stream as not multiplexed
1409 * clear the owner for this snode
[all...]
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_segmap.c47 #include <sys/fs/snode.h>
H A Dgfxp_devmap.c46 #include <sys/fs/snode.h>
H A Dgfxp_vm.c63 #include <sys/fs/snode.h>
/illumos-gate/usr/src/uts/common/io/
H A Dgentty.c53 #include <sys/fs/snode.h>
222 struct snode *csp;
232 * back into the common snode and decrease the open count so
/illumos-gate/usr/src/uts/sun4u/starcat/os/
H A Dstarcat.c571 int mnode, snode, tnode; local
625 snode = plat_lgrphand_to_mem_node(shand);
628 plat_assign_lgrphand_to_mem_node(thand, snode);
638 lgrp_config(LGRP_CONFIG_MEM_RENAME, (uintptr_t)snode,
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_doorclt.c42 #include <sys/fs/snode.h>
/illumos-gate/usr/src/uts/sun4u/serengeti/os/
H A Dserengeti.c515 int snode, tnode; local
557 snode = plat_lgrphand_to_mem_node(shand);
560 plat_assign_lgrphand_to_mem_node(thand, snode);
570 lgrp_config(LGRP_CONFIG_MEM_RENAME, (uintptr_t)snode,
/illumos-gate/usr/src/uts/sun4u/lw8/os/
H A Dlw8_platmod.c522 int snode, tnode; local
565 snode = plat_lgrphand_to_mem_node(shand);
568 plat_assign_lgrphand_to_mem_node(thand, snode);
578 lgrp_config(LGRP_CONFIG_MEM_RENAME, (uintptr_t)snode,
/illumos-gate/usr/src/uts/sun4u/opl/os/
H A Dopl.c631 int mnode, snode, tnode; local
697 snode = plat_lgrphand_to_mem_node(shand);
709 plat_assign_lgrphand_to_mem_node(thand, snode);
719 lgrp_config(LGRP_CONFIG_MEM_RENAME, (uintptr_t)snode,
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_ddi_impl.c43 #include <sys/fs/snode.h>
/illumos-gate/usr/src/uts/common/sys/
H A Dpolicy.h32 #include <sys/fs/snode.h>

Completed in 1028 milliseconds

123