Home
last modified time | relevance | path

Searched refs:vnode_t (Results 1 – 25 of 401) sorted by relevance

12345678910>>...17

/onnv-gate/usr/src/uts/common/smbsrv/
H A Dsmb_vops.h111 int smb_vop_open(vnode_t **, int, cred_t *);
112 void smb_vop_close(vnode_t *, int, cred_t *);
113 int smb_vop_read(vnode_t *, uio_t *, cred_t *);
114 int smb_vop_write(vnode_t *, uio_t *, int, uint32_t *, cred_t *);
115 int smb_vop_getattr(vnode_t *, vnode_t *, smb_attr_t *, int, cred_t *);
116 int smb_vop_setattr(vnode_t *, vnode_t *, smb_attr_t *, int, cred_t *);
117 int smb_vop_access(vnode_t *, int, int, vnode_t *, cred_t *);
118 void smb_vop_eaccess(vnode_t *, int *, int, vnode_t *, cred_t *);
119 int smb_vop_lookup(vnode_t *, char *, vnode_t **, char *, int, int *, vnode_t *,
121 int smb_vop_create(vnode_t *, char *, smb_attr_t *, vnode_t **, int, cred_t *,
[all …]
/onnv-gate/usr/src/uts/common/sys/
H A Dpathname.h75 extern int pn_getsymlink(vnode_t *, struct pathname *, cred_t *);
84 vnode_t **, vnode_t **);
86 vnode_t **, vnode_t **, vnode_t *);
88 vnode_t **, vnode_t **, vnode_t *, cred_t *);
90 vnode_t **, vnode_t **);
92 vnode_t **, vnode_t **, vnode_t *);
94 vnode_t **, vnode_t **, vnode_t *, cred_t *);
97 vnode_t **, vnode_t **, vnode_t *, vnode_t *, cred_t *);
98 extern int traverse(vnode_t **);
100 extern int vnodetopath(vnode_t *, vnode_t *, char *, size_t, cred_t *);
[all …]
H A Dctfs_impl.h187 vnode_t *ctvfs_root; /* root vnode pointer */
193 extern vnode_t *ctfs_create_tdirnode(vnode_t *);
194 extern vnode_t *ctfs_create_tmplnode(vnode_t *);
195 extern vnode_t *ctfs_create_latenode(vnode_t *);
196 extern vnode_t *ctfs_create_pbundle(vnode_t *);
197 extern vnode_t *ctfs_create_bundle(vnode_t *);
198 extern vnode_t *ctfs_create_ctlnode(vnode_t *);
199 extern vnode_t *ctfs_create_statnode(vnode_t *);
200 extern vnode_t *ctfs_create_evnode(vnode_t *);
201 extern vnode_t *ctfs_create_adirnode(vnode_t *);
[all …]
H A Dgfs.h59 vnode_t *(*gfse_ctor)(vnode_t *); /* constructor */
62 vnode_t *gfse_vnode; /* cached vnode */
71 vnode_t *gfs_vnode; /* current vnode */
72 vnode_t *gfs_parent; /* parent vnode */
79 typedef int (*gfs_readdir_cb)(vnode_t *, void *, int *, offset_t *,
81 typedef int (*gfs_lookup_cb)(vnode_t *, const char *, vnode_t **, ino64_t *,
83 typedef ino64_t (*gfs_inode_cb)(vnode_t *, int);
98 extern vnode_t *gfs_file_create(size_t, vnode_t *, vnodeops_t *);
99 extern vnode_t *gfs_dir_create(size_t, vnode_t *, vnodeops_t *,
101 extern vnode_t *gfs_root_create(size_t, struct vfs *, vnodeops_t *, ino64_t,
[all …]
H A Dvnode.h259 } vnode_t; typedef
819 int (*vop_open)(vnode_t **, int, cred_t *, \
821 int (*vop_close)(vnode_t *, int, int, offset_t, cred_t *, \
823 int (*vop_read)(vnode_t *, uio_t *, int, cred_t *, \
825 int (*vop_write)(vnode_t *, uio_t *, int, cred_t *, \
827 int (*vop_ioctl)(vnode_t *, int, intptr_t, int, cred_t *, \
829 int (*vop_setfl)(vnode_t *, int, int, cred_t *, \
831 int (*vop_getattr)(vnode_t *, vattr_t *, int, cred_t *, \
833 int (*vop_setattr)(vnode_t *, vattr_t *, int, cred_t *, \
835 int (*vop_access)(vnode_t *, int, int, cred_t *, \
[all …]
H A Dobjfs_impl.h45 vnode_t *objfs_vfs_root;
51 extern int objfs_dir_open(vnode_t **, int, cred_t *, caller_context_t *);
52 extern int objfs_dir_access(vnode_t *, int, int, cred_t *,
54 extern int objfs_common_close(vnode_t *, int, int, offset_t, cred_t *,
60 extern int objfs_common_getattr(vnode_t *, vattr_t *);
95 extern vnode_t *objfs_create_root(vfs_t *);
111 extern vnode_t *objfs_create_odirnode(vnode_t *, struct modctl *);
128 extern vnode_t *objfs_create_data(vnode_t *);
H A Dkstr.h45 extern int kstr_open(major_t, minor_t, vnode_t **, int *);
46 extern int kstr_plink(vnode_t *, int, int *);
47 extern int kstr_unplink(vnode_t *, int);
48 extern int kstr_push(vnode_t *, char *);
49 extern int kstr_pop(vnode_t *);
50 extern int kstr_close(vnode_t *, int);
51 extern int kstr_ioctl(vnode_t *, int, intptr_t);
52 extern int kstr_msg(vnode_t *, mblk_t *, mblk_t **, timestruc_t *);
H A Dnbmlock.h51 extern void nbl_start_crit(vnode_t *, krw_t);
52 extern void nbl_end_crit(vnode_t *);
53 extern int nbl_in_crit(vnode_t *);
56 extern int nbl_need_check(vnode_t *);
57 extern int nbl_conflict(vnode_t *, nbl_op_t, u_offset_t, ssize_t, int,
59 extern int nbl_share_conflict(vnode_t *, nbl_op_t, caller_context_t *);
60 extern int nbl_lock_conflict(vnode_t *, nbl_op_t, u_offset_t, ssize_t, int,
62 extern int nbl_svmand(vnode_t *, cred_t *, int *);
/onnv-gate/usr/src/uts/common/fs/
H A Dfs_subr.h66 extern int fs_ioctl(vnode_t *, int, intptr_t, int, cred_t *, int *);
67 extern int fs_putpage(vnode_t *, offset_t, size_t, int, cred_t *,
69 extern int fs_fsync(vnode_t *, int, cred_t *, caller_context_t *);
71 extern int fs_rwlock(vnode_t *, int, caller_context_t *);
72 extern void fs_rwunlock(vnode_t *, int, caller_context_t *);
73 extern int fs_cmp(vnode_t *, vnode_t *, caller_context_t *);
74 extern int fs_seek(vnode_t *, offset_t, offset_t *, caller_context_t *);
75 extern int fs_frlock(vnode_t *, int, struct flock64 *, int, offset_t,
77 extern int fs_setfl(vnode_t *, int, int, cred_t *, caller_context_t *);
78 extern int fs_poll(vnode_t *, short, int, short *, struct pollhead **,
[all …]
H A Dxattr.c57 vnode_t *xattr_realvp; /* Only used for VOP_REALVP */
68 xattr_file_open(vnode_t **vpp, int flags, cred_t *cr, caller_context_t *ct) in xattr_file_open()
80 xattr_file_access(vnode_t *vp, int mode, int flags, cred_t *cr, in xattr_file_access()
93 xattr_file_close(vnode_t *vp, int flags, int count, offset_t off, in xattr_file_close()
102 xattr_common_fid(vnode_t *vp, fid_t *fidp, caller_context_t *ct) in xattr_common_fid()
105 vnode_t *pvp, *savevp; in xattr_common_fid()
140 xattr_fill_nvlist(vnode_t *vp, xattr_view_t xattr_view, nvlist_t *nvlp, in xattr_fill_nvlist()
148 vnode_t *ppvp; in xattr_fill_nvlist()
387 xattr_file_size(vnode_t *vp, xattr_view_t xattr_view, size_t *size, in xattr_file_size()
408 xattr_file_getattr(vnode_t *vp, vattr_t *vap, int flags, cred_t *cr, in xattr_file_getattr()
[all …]
H A Dlookup.c68 vnode_t **dirvpp, in lookupname()
69 vnode_t **compvpp) in lookupname()
84 vnode_t **dirvpp, /* ret for ptr to parent dir vnode */ in lookupnameatcred()
85 vnode_t **compvpp, /* ret for ptr to component vnode */ in lookupnameatcred()
86 vnode_t *startvp, /* start path search from vp */ in lookupnameatcred()
114 vnode_t **dirvpp, vnode_t **compvpp, vnode_t *startvp) in lookupnameat()
125 vnode_t **dirvpp, in lookuppn()
126 vnode_t **compvpp) in lookuppn()
140 vnode_t **dirvpp, /* ptr for parent vnode */ in lookuppnatcred()
141 vnode_t **compvpp, /* ptr for entry vnode */ in lookuppnatcred()
[all …]
H A Dgfs.c160 gfs_get_parent_ino(vnode_t *dvp, cred_t *cr, caller_context_t *ct, in gfs_get_parent_ino()
163 vnode_t *parent; in gfs_get_parent_ino()
418 gfs_lookup_dot(vnode_t **vpp, vnode_t *dvp, vnode_t *pvp, const char *nm) in gfs_lookup_dot()
456 vnode_t *
457 gfs_file_create(size_t size, vnode_t *pvp, vnodeops_t *ops) in gfs_file_create()
460 vnode_t *vp; in gfs_file_create()
514 vnode_t *
515 gfs_dir_create(size_t struct_size, vnode_t *pvp, vnodeops_t *ops, in gfs_dir_create()
519 vnode_t *vp; in gfs_dir_create()
555 vnode_t *
[all …]
/onnv-gate/usr/src/uts/common/sys/fs/
H A Dcachefs_ioctl.h284 int cachefs_pack(vnode_t *, char *, cred_t *);
285 int cachefs_unpack(vnode_t *, char *, cred_t *);
286 int cachefs_packinfo(vnode_t *dvp, char *name, int *statusp, cred_t *cr);
287 int cachefs_unpackall(vnode_t *);
289 int cachefs_io_daemonid(vnode_t *vp, void *dinp, void *doutp);
290 int cachefs_io_stateget(vnode_t *vp, void *dinp, void *doutp);
291 int cachefs_io_stateset(vnode_t *vp, void *dinp, void *doutp);
292 int cachefs_io_xwait(vnode_t *vp, void *dinp, void *doutp);
293 int cachefs_io_exists(vnode_t *vp, void *dinp, void *doutp);
294 int cachefs_io_lostfound(vnode_t *vp, void *dinp, void *doutp);
[all …]
H A Dfifonode.h169 extern int fifo_stropen(vnode_t **, int, cred_t *, int, int);
170 extern int fifo_open(vnode_t **, int, cred_t *, caller_context_t *);
171 extern int fifo_close(vnode_t *, int, int, offset_t, cred_t *,
173 extern void fifo_cleanup(vnode_t *, int);
176 extern vnode_t *fifovp(vnode_t *, cred_t *);
177 extern void makepipe(vnode_t **, vnode_t **);
179 extern void fifo_vfastoff(vnode_t *);
/onnv-gate/usr/src/uts/common/nfs/
H A Dnfs4_clnt.h161 vnode_t *vp;
684 vnode_t *lr_vp;
685 vnode_t *lr_dvp;
1491 extern int nfs4_async_readahead(vnode_t *, u_offset_t, caddr_t,
1493 void (*)(vnode_t *, u_offset_t,
1495 extern int nfs4_async_putapage(vnode_t *, page_t *, u_offset_t, size_t,
1496 int, cred_t *, int (*)(vnode_t *, page_t *,
1498 extern int nfs4_async_pageio(vnode_t *, page_t *, u_offset_t, size_t,
1499 int, cred_t *, int (*)(vnode_t *, page_t *,
1501 extern void nfs4_async_commit(vnode_t *, page_t *, offset3, count3,
[all …]
H A Drnode.h265 vnode_t *r_vnode; /* vnode for remote file */
276 vnode_t *r_unldvp; /* parent dir of unlinked file */
289 (vnode_t *, page_t *, u_offset_t *, size_t *, int, cred_t *);
340 extern int nfs_async_readahead(vnode_t *, u_offset_t, caddr_t,
342 void (*)(vnode_t *, u_offset_t,
344 extern int nfs_async_putapage(vnode_t *, page_t *, u_offset_t, size_t,
345 int, cred_t *, int (*)(vnode_t *, page_t *,
347 extern int nfs_async_pageio(vnode_t *, page_t *, u_offset_t, size_t,
348 int, cred_t *, int (*)(vnode_t *, page_t *,
350 extern void nfs_async_readdir(vnode_t *, rddir_cache *,
[all …]
H A Dexport.h274 vnode_t *lf_vp; /* vnode for the buffer file */
457 vnode_t *exi_vp;
458 vnode_t *exi_dvp;
503 vnode_t *vis_vp;
540 extern int nfsauth4_access(struct exportinfo *, vnode_t *,
552 extern vnode_t *nfs_fhtovp(fhandle_t *, struct exportinfo *);
553 extern vnode_t *nfs3_fhtovp(nfs_fh3 *, struct exportinfo *);
554 extern vnode_t *lm_fhtovp(fhandle_t *fh);
555 extern vnode_t *lm_nfs3_fhtovp(nfs_fh3 *fh);
557 extern struct exportinfo *checkexport4(fsid_t *, struct fid *, vnode_t *vp);
[all …]
H A Drnode4.h123 vnode_t *sv_r_vnode; /* vnode for this shadow */
130 extern svnode_t *vtosv(vnode_t *);
248 vnode_t *r_unldvp; /* parent dir of unlinked file */
249 vnode_t *r_xattr_dir; /* cached xattr dir vnode */
265 (vnode_t *, page_t *, u_offset_t *, size_t *, int, cred_t *);
383 vnode_t *re_vp; /* held reference */
413 extern vnode_t *makenfs4node(nfs4_sharedfh_t *, nfs4_ga_res_t *, struct vfs *,
414 hrtime_t, cred_t *, vnode_t *, nfs4_fname_t *);
415 extern vnode_t *makenfs4node_by_fh(nfs4_sharedfh_t *, nfs4_sharedfh_t *,
431 extern int nfs4_directio(vnode_t *, int, cred_t *);
[all …]
/onnv-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_vnops.c51 lo_open(vnode_t **vpp, int flag, struct cred *cr, caller_context_t *ct) in lo_open()
53 vnode_t *vp = *vpp; in lo_open()
54 vnode_t *rvp; in lo_open()
55 vnode_t *oldvp; in lo_open()
85 vnode_t *svp; in lo_open()
105 vnode_t *vp, in lo_close()
120 lo_read(vnode_t *vp, struct uio *uiop, int ioflag, struct cred *cr, in lo_read()
131 lo_write(vnode_t *vp, struct uio *uiop, int ioflag, struct cred *cr, in lo_write()
143 vnode_t *vp, in lo_ioctl()
159 lo_setfl(vnode_t *vp, int oflags, int nflags, cred_t *cr, caller_context_t *ct) in lo_setfl()
[all …]
/onnv-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vnops.c53 static int auto_open(vnode_t **, int, cred_t *, caller_context_t *);
54 static int auto_close(vnode_t *, int, int, offset_t, cred_t *,
56 static int auto_getattr(vnode_t *, vattr_t *, int, cred_t *,
58 static int auto_setattr(vnode_t *, vattr_t *, int, cred_t *,
60 static int auto_access(vnode_t *, int, int, cred_t *, caller_context_t *);
61 static int auto_lookup(vnode_t *, char *, vnode_t **,
62 pathname_t *, int, vnode_t *, cred_t *, caller_context_t *, int *,
64 static int auto_create(vnode_t *, char *, vattr_t *, vcexcl_t,
65 int, vnode_t **, cred_t *, int, caller_context_t *, vsecattr_t *);
66 static int auto_remove(vnode_t *, char *, cred_t *, caller_context_t *, int);
[all …]
/onnv-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_event.c167 vnode_t *
168 ctfs_create_evnode(vnode_t *pvp) in ctfs_create_evnode()
170 vnode_t *vp; in ctfs_create_evnode()
195 vnode_t *vp, in ctfs_ev_access()
222 ctfs_ev_open(vnode_t **vpp, int flag, cred_t *cr, caller_context_t *cct) in ctfs_ev_open()
243 ctfs_ev_inactive(vnode_t *vp, cred_t *cr, caller_context_t *ct) in ctfs_ev_inactive()
246 vnode_t *pvp = gfs_file_parent(vp); in ctfs_ev_inactive()
267 vnode_t *vp, in ctfs_ev_getattr()
295 vnode_t *vp, in ctfs_ev_ioctl()
315 vnode_t *vp, in ctfs_ev_poll()
[all …]
H A Dctfs_latest.c53 vnode_t *
54 ctfs_create_latenode(vnode_t *pvp) in ctfs_create_latenode()
67 static vnode_t *
68 ctfs_latest_nested_open(vnode_t *vp, cred_t *cr) in ctfs_latest_nested_open()
74 vnode_t *cvp, *svp; in ctfs_latest_nested_open()
99 vnode_t *vp, in ctfs_latest_access()
105 vnode_t *nvp; in ctfs_latest_access()
125 ctfs_latest_open(vnode_t **vpp, int flag, cred_t *cr, caller_context_t *ct) in ctfs_latest_open()
127 vnode_t *nvp; in ctfs_latest_open()
149 vnode_t *vp, in ctfs_latest_getattr()
[all …]
H A Dctfs_tdir.c59 static int ctfs_tdir_do_readdir(vnode_t *, void *, int *, offset_t *,
61 static int ctfs_tdir_do_lookup(vnode_t *, const char *, vnode_t **, ino64_t *,
63 static ino64_t ctfs_tdir_do_inode(vnode_t *, int);
68 vnode_t *
69 ctfs_create_tdirnode(vnode_t *pvp) in ctfs_create_tdirnode()
82 vnode_t *vp, in ctfs_tdir_getattr()
103 ctfs_tdir_do_inode(vnode_t *vp, int index) in ctfs_tdir_do_inode()
110 ctfs_tdir_do_readdir(vnode_t *vp, void *dp, int *eofp, in ctfs_tdir_do_readdir()
138 ctfs_tdir_do_lookup(vnode_t *vp, const char *nm, vnode_t **vpp, ino64_t *inop, in ctfs_tdir_do_lookup()
H A Dctfs_all.c51 static int ctfs_adir_do_readdir(vnode_t *, void *, int *, offset_t *,
53 static int ctfs_adir_do_lookup(vnode_t *, const char *, vnode_t **, ino64_t *,
60 vnode_t *
61 ctfs_create_adirnode(vnode_t *pvp) in ctfs_create_adirnode()
63 vnode_t *vp = gfs_dir_create(sizeof (ctfs_adirnode_t), pvp, in ctfs_create_adirnode()
76 vnode_t *vp, in ctfs_adir_getattr()
100 ctfs_adir_do_lookup(vnode_t *vp, const char *nm, vnode_t **vpp, ino64_t *inop, in ctfs_adir_do_lookup()
123 ctfs_adir_do_readdir(vnode_t *vp, void *dp, int *eofp, in ctfs_adir_do_readdir()
/onnv-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vnops.c106 static int smbfslookup_cache(vnode_t *, char *, int, vnode_t **,
108 static int smbfslookup(vnode_t *dvp, char *nm, vnode_t **vpp, cred_t *cr,
110 static int smbfsrename(vnode_t *odvp, char *onm, vnode_t *ndvp, char *nnm,
112 static int smbfssetattr(vnode_t *, struct vattr *, int, cred_t *);
114 static int smbfs_readvdir(vnode_t *vp, uio_t *uio, cred_t *cr, int *eofp,
130 static int smbfs_open(vnode_t **, int, cred_t *, caller_context_t *);
131 static int smbfs_close(vnode_t *, int, int, offset_t, cred_t *,
133 static int smbfs_read(vnode_t *, struct uio *, int, cred_t *,
135 static int smbfs_write(vnode_t *, struct uio *, int, cred_t *,
137 static int smbfs_ioctl(vnode_t *, int, intptr_t, int, cred_t *, int *,
[all …]

12345678910>>...17