Home
last modified time | relevance | path

Searched refs:vnode (Results 1 – 25 of 268) sorted by relevance

1234567891011

/onnv-gate/usr/src/uts/common/sys/fs/
H A Dsnode.h69 struct vnode *s_vnode; /* vnode associated with this snode */
73 struct vnode *s_realvp; /* vnode for the fs entry (if any) */
74 struct vnode *s_commonvp; /* common device vnode */
152 offset_t spec_maxoffset(struct vnode *);
154 struct vnode *specvp(struct vnode *, dev_t, vtype_t, struct cred *);
155 struct vnode *makespecvp(dev_t, vtype_t);
156 struct vnode *other_specvp(struct vnode *);
157 struct vnode *common_specvp(struct vnode *);
158 struct vnode *specfind(dev_t, vtype_t);
159 struct vnode *commonvp(dev_t, vtype_t);
[all …]
H A Dufs_filio.h93 extern int ufs_fiosatime(struct vnode *, struct timeval *, int,
95 extern int ufs_fiosdio(struct vnode *, uint_t *, int flag, struct cred *);
96 extern int ufs_fiogdio(struct vnode *, uint_t *, int flag, struct cred *);
97 extern int ufs_fioio(struct vnode *, struct fioio *, int, struct cred *);
98 extern int ufs_fioisbusy(struct vnode *, int *, struct cred *);
99 extern int ufs_fiodirectio(struct vnode *, int, struct cred *);
100 extern int ufs_fiotune(struct vnode *, struct fiotune *, struct cred *);
105 extern int ufs_mark_compressed(struct vnode *vp);
H A Dhsfs_impl.h45 extern int hs_readsector(struct vnode *vp, uint_t secno, uchar_t *ptr);
47 extern struct vnode *hs_makenode(struct hs_direntry *dp,
51 struct vnode **vpp);
53 extern int hs_dirlook(struct vnode *dvp, char *name, int namlen,
54 struct vnode **vpp, struct cred *cred);
56 extern struct vnode *hs_findhash(ino64_t nodeid, uint_t lbn, uint_t off,
69 extern void hs_filldirent(struct vnode *vp, struct hs_direntry *hdp);
71 extern int hs_access(struct vnode *vp, mode_t m, struct cred *cred);
H A Dnamenode.h55 struct vnode *nm_vnode; /* represents mounted file desc. */
58 struct vnode *nm_filevp; /* file desc. prior to mounting */
60 struct vnode *nm_mountpt; /* mount point prior to mounting */
86 extern int nm_unmountall(struct vnode *, struct cred *);
89 extern struct namenode *namefind(struct vnode *, struct vnode *);
H A Ddv_node.h64 struct vnode *dv_vnode; /* vnode for this dv_node */
79 struct vnode *dv_attrvp; /* persistent attribute store */
99 #define DVTOV(n) ((struct vnode *)(n)->dv_vnode)
173 extern void dv_shadow_node(struct vnode *, char *nm, struct vnode *,
174 struct pathname *, struct vnode *, struct cred *, int);
175 extern int dv_find(struct dv_node *, char *, struct vnode **,
176 struct pathname *, struct vnode *, struct cred *, uint_t);
H A Ddecomp.h54 struct vnode *dc_vp;
55 struct vnode *dc_subvp;
70 struct vnode *decompvp(struct vnode *, struct cred *, caller_context_t *);
H A Dsdev_impl.h137 struct vnode *sdev_vnode; /* vnode */
145 struct vnode *sdev_attrvp; /* backing store vnode if persisted */
260 #define SDEVTOV(n) ((struct vnode *)(n)->sdev_vnode)
292 extern int devname_lookup_func(struct sdev_node *, char *, struct vnode **,
315 extern int devname_setattr_func(struct vnode *, struct vattr *, int,
320 extern void devname_inactive_func(struct vnode *, struct cred *,
321 void (*)(struct vnode *));
478 extern struct sdev_node *sdev_mkroot(struct vfs *, dev_t, struct vnode *,
479 struct vnode *, struct cred *);
482 struct vattr *, struct vnode *, void *, struct cred *, sdev_node_state_t);
[all …]
/onnv-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_vnops.c56 static int socket_vop_open(struct vnode **, int, struct cred *,
58 static int socket_vop_close(struct vnode *, int, int, offset_t,
60 static int socket_vop_read(struct vnode *, struct uio *, int,
62 static int socket_vop_write(struct vnode *, struct uio *, int,
64 static int socket_vop_ioctl(struct vnode *, int, intptr_t, int,
66 static int socket_vop_setfl(struct vnode *, int, int, cred_t *,
68 static int socket_vop_getattr(struct vnode *, struct vattr *, int,
70 static int socket_vop_setattr(struct vnode *, struct vattr *, int,
72 static int socket_vop_access(struct vnode *, int, int, struct cred *,
74 static int socket_vop_fsync(struct vnode *, int, struct cred *,
[all …]
/onnv-gate/usr/src/uts/common/fs/
H A Dfs_subr.h58 extern int fs_nosys_map(struct vnode *, offset_t, struct as *, caddr_t *,
61 extern int fs_nosys_addmap(struct vnode *, offset_t, struct as *, caddr_t,
64 extern int fs_nosys_poll(struct vnode *, short, int, short *,
80 extern int fs_pathconf(struct vnode *, int, ulong_t *, struct cred *,
83 extern void fs_dispose(struct vnode *, page_t *, int, int, struct cred *,
85 extern void fs_nodispose(struct vnode *, page_t *, int, int, struct cred *,
87 extern int fs_fab_acl(struct vnode *, vsecattr_t *, int flag, cred_t *,
89 extern int fs_shrlock(struct vnode *, int, struct shrlock *, int,
95 extern int fs_acl_nontrivial(struct vnode *vp, struct cred *cr);
/onnv-gate/usr/src/uts/common/fs/dcfs/
H A Ddc_vnops.c145 static struct dcnode *dcfind(struct vnode *);
191 static int dc_open(struct vnode **, int, struct cred *, caller_context_t *);
192 static int dc_close(struct vnode *, int, int, offset_t,
194 static int dc_read(struct vnode *, struct uio *, int, struct cred *,
196 static int dc_getattr(struct vnode *, struct vattr *, int,
198 static int dc_setattr(struct vnode *, struct vattr *, int, struct cred *,
200 static int dc_access(struct vnode *, int, int,
202 static int dc_fsync(struct vnode *, int, struct cred *, caller_context_t *);
203 static void dc_inactive(struct vnode *, struct cred *, caller_context_t *);
204 static int dc_fid(struct vnode *, struct fid *, caller_context_t *);
[all …]
/onnv-gate/usr/src/uts/common/sys/
H A Dflock.h215 struct vnode *ll_vp;
223 int reclock(struct vnode *, struct flock64 *, int, int, u_offset_t,
225 int chklock(struct vnode *, int, u_offset_t, ssize_t, int,
227 int convoff(struct vnode *, struct flock64 *, int, offset_t);
228 void cleanlocks(struct vnode *, pid_t, int);
231 locklist_t *flk_active_locks_for_vp(const struct vnode *vp);
232 locklist_t *flk_active_nbmand_locks_for_vp(const struct vnode *vp);
235 int flk_convert_lock_data(struct vnode *, struct flock64 *,
238 int flk_has_remote_locks(struct vnode *vp);
257 int cl_flk_has_remote_locks_for_nlmid(struct vnode *vp, int nlmid);
H A Dfile.h62 struct vnode *f_vnode; /* pointer to vnode structure */
189 extern int falloc(struct vnode *, int, file_t **, int *);
199 extern int fassign(struct vnode **, int, int *);
205 extern int fgetstartvp(int, char *, struct vnode **);
207 extern int fisopen(struct vnode *);
210 extern int sock_getfasync(struct vnode *);
214 extern void checkwfdlist(struct vnode *, fpollinfo_t *);
H A Dswap.h140 struct vnode *si_vp; /* vnode (commonvp if device) */
216 extern struct anon *swap_anon(struct vnode *vp, u_offset_t off);
217 extern int swap_phys_alloc(struct vnode **vpp, u_offset_t *offp, size_t *lenp,
219 extern void swap_phys_free(struct vnode *vp, u_offset_t off, size_t len);
220 extern int swap_getphysname(struct vnode *vp, u_offset_t off,
221 struct vnode **pvpp, u_offset_t *poffp);
222 extern int swap_newphysname(struct vnode *vp, u_offset_t offset,
223 u_offset_t *offp, size_t *lenp, struct vnode **pvpp, u_offset_t *poffp);
H A Dconsdev.h53 extern struct vnode *rconsvp; /* pointer to vnode for that device */
58 extern struct vnode *vsconsvp; /* pointer to vnode for virtual console */
69 extern struct vnode *fbvp; /* pointer to vnode for that device */
88 extern struct vnode *wsconsvp; /* vnode for redirecting ws cons access */
89 extern struct vnode *rwsconsvp; /* vnode for underlying workstation console */
/onnv-gate/usr/src/uts/common/nfs/
H A Dlm.h103 extern int lm_frlock(struct vnode *vp, int cmd,
107 extern int lm_has_sleep(const struct vnode *);
114 extern int lm_shrlock(struct vnode *vp, int cmd,
116 extern int lm4_frlock(struct vnode *vp, int cmd,
120 extern int lm4_shrlock(struct vnode *vp, int cmd,
152 extern int lm_vp_active(const struct vnode *);
/onnv-gate/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c96 static int spec_open(struct vnode **, int, struct cred *, caller_context_t *);
97 static int spec_close(struct vnode *, int, int, offset_t, struct cred *,
99 static int spec_read(struct vnode *, struct uio *, int, struct cred *,
101 static int spec_write(struct vnode *, struct uio *, int, struct cred *,
103 static int spec_ioctl(struct vnode *, int, intptr_t, int, struct cred *, int *,
105 static int spec_getattr(struct vnode *, struct vattr *, int, struct cred *,
107 static int spec_setattr(struct vnode *, struct vattr *, int, struct cred *,
109 static int spec_access(struct vnode *, int, int, struct cred *,
111 static int spec_create(struct vnode *, char *, vattr_t *, enum vcexcl, int,
112 struct vnode **, struct cred *, int, caller_context_t *, vsecattr_t *);
[all …]
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 *);
77 struct vnode *
79 struct vnode *realvp, in specvp_devfs()
85 struct vnode *vp; in specvp_devfs()
108 struct vnode *
110 struct vnode *vp, in specvp()
118 struct vnode *svp; in specvp()
147 struct vnode *cvp; in specvp()
219 struct vnode *
[all …]
/onnv-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c73 static int pcfs_open(struct vnode **, int, struct cred *, caller_context_t *ct);
74 static int pcfs_close(struct vnode *, int, int, offset_t, struct cred *,
76 static int pcfs_read(struct vnode *, struct uio *, int, struct cred *,
78 static int pcfs_write(struct vnode *, struct uio *, int, struct cred *,
80 static int pcfs_getattr(struct vnode *, struct vattr *, int, struct cred *,
82 static int pcfs_setattr(struct vnode *, struct vattr *, int, struct cred *,
84 static int pcfs_access(struct vnode *, int, int, struct cred *,
86 static int pcfs_lookup(struct vnode *, char *, struct vnode **,
87 struct pathname *, int, struct vnode *, struct cred *,
89 static int pcfs_create(struct vnode *, char *, struct vattr *,
[all …]
/onnv-gate/usr/src/uts/common/fs/doorfs/
H A Ddoor_vnops.c41 static int door_open(struct vnode **vpp, int flag, struct cred *cr,
43 static int door_close(struct vnode *vp, int flag, int count,
45 static int door_getattr(struct vnode *vp, struct vattr *vap,
47 static void door_inactive(struct vnode *vp, struct cred *cr,
49 static int door_access(struct vnode *vp, int mode, int flags,
75 door_open(struct vnode **vpp, int flag, struct cred *cr, caller_context_t *ct) in door_open()
104 struct vnode *vp, in door_close()
148 door_getattr(struct vnode *vp, struct vattr *vap, int flags, struct cred *cr, in door_getattr()
176 door_inactive(struct vnode *vp, struct cred *cr, caller_context_t *ct) in door_inactive()
243 door_access(struct vnode *vp, int mode, int flags, struct cred *cr, in door_access()
/onnv-gate/usr/src/uts/common/fs/dev/
H A Dsdev_vnops.c74 sdev_open(struct vnode **vpp, int flag, struct cred *cred, caller_context_t *ct) in sdev_open()
105 sdev_close(struct vnode *vp, int flag, int count, in sdev_close()
129 sdev_read(struct vnode *vp, struct uio *uio, int ioflag, struct cred *cred, in sdev_read()
156 sdev_write(struct vnode *vp, struct uio *uio, int ioflag, struct cred *cred, in sdev_write()
187 sdev_ioctl(struct vnode *vp, int cmd, intptr_t arg, int flag, in sdev_ioctl()
204 sdev_getattr(struct vnode *vp, struct vattr *vap, int flags, in sdev_getattr()
237 sdev_setattr(struct vnode *vp, struct vattr *vap, int flags, in sdev_setattr()
244 sdev_getsecattr(struct vnode *vp, struct vsecattr *vsap, int flags, in sdev_getsecattr()
249 struct vnode *avp = dv->sdev_attrvp; in sdev_getsecattr()
269 sdev_setsecattr(struct vnode *vp, struct vsecattr *vsap, int flags, in sdev_setsecattr()
[all …]
H A Dsdev_ptsops.c223 struct vnode *vp; in devpts_prunedir()
291 devpts_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, in devpts_lookup()
292 struct pathname *pnp, int flags, struct vnode *rdir, struct cred *cred, in devpts_lookup()
297 struct vnode *rvp = NULL; in devpts_lookup()
331 devpts_create(struct vnode *dvp, char *nm, struct vattr *vap, vcexcl_t excl, in devpts_create()
332 int mode, struct vnode **vpp, struct cred *cred, int flag, in devpts_create()
336 struct vnode *vp; in devpts_create()
368 devpts_readdir(struct vnode *dvp, struct uio *uiop, struct cred *cred, in devpts_readdir()
392 devpts_setattr(struct vnode *vp, struct vattr *vap, int flags, in devpts_setattr()
/onnv-gate/usr/src/uts/common/fs/udfs/
H A Dudf_vnops.c84 static int32_t udf_open(struct vnode **,
86 static int32_t udf_close(struct vnode *,
88 static int32_t udf_read(struct vnode *,
90 static int32_t udf_write(struct vnode *,
92 static int32_t udf_ioctl(struct vnode *,
95 static int32_t udf_getattr(struct vnode *,
97 static int32_t udf_setattr(struct vnode *,
99 static int32_t udf_access(struct vnode *,
101 static int32_t udf_lookup(struct vnode *,
102 char *, struct vnode **, struct pathname *,
[all …]
/onnv-gate/usr/src/uts/common/vm/
H A Dpvn.h59 struct page *pvn_read_kluster(struct vnode *vp, u_offset_t off,
63 struct page *pvn_write_kluster(struct vnode *vp, struct page *pp,
69 int pvn_vplist_dirty(struct vnode *vp, u_offset_t off,
75 void pvn_vpzero(struct vnode *vp, u_offset_t vplen, size_t zbytes);
80 struct vnode *vp, u_offset_t off, size_t len,
/onnv-gate/usr/src/uts/common/fs/devfs/
H A Ddevfs_vnops.c72 devfs_open(struct vnode **vpp, int flag, struct cred *cred, in devfs_open()
88 devfs_close(struct vnode *vp, int flag, int count, in devfs_close()
107 devfs_read(struct vnode *vp, struct uio *uiop, int ioflag, struct cred *cred, in devfs_read()
122 devfs_write(struct vnode *vp, struct uio *uiop, int ioflag, struct cred *cred, in devfs_write()
137 devfs_ioctl(struct vnode *vp, int cmd, intptr_t arg, int flag, in devfs_ioctl()
160 devfs_getattr(struct vnode *vp, struct vattr *vap, int flags, struct cred *cr, in devfs_getattr()
219 struct vnode *vp, in devfs_setattr_dir()
338 struct vnode *vp, in devfs_setattr()
346 struct vnode *dvp; in devfs_setattr()
612 devfs_getsecattr(struct vnode *vp, struct vsecattr *vsap, int flags, in devfs_getsecattr()
[all …]
/onnv-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vnops.c68 static int tmp_getapage(struct vnode *, u_offset_t, size_t, uint_t *,
70 static int tmp_putapage(struct vnode *, page_t *, u_offset_t *, size_t *,
75 tmp_open(struct vnode **vpp, int flag, struct cred *cred, caller_context_t *ct) in tmp_open()
89 struct vnode *vp, in tmp_close()
117 struct vnode *vp; in wrtmp()
452 struct vnode *vp; in rdtmp()
575 tmp_read(struct vnode *vp, struct uio *uiop, int ioflag, cred_t *cred, in tmp_read()
604 tmp_write(struct vnode *vp, struct uio *uiop, int ioflag, struct cred *cred, in tmp_write()
641 struct vnode *vp, in tmp_ioctl()
655 struct vnode *vp, in tmp_getattr()
[all …]

1234567891011