Home
last modified time | relevance | path

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

12345678910>>...17

/titanic_50/usr/src/uts/common/smbsrv/
H A Dsmb_vops.h126 int smb_vop_open(vnode_t **, int, cred_t *);
127 void smb_vop_close(vnode_t *, int, cred_t *);
128 int smb_vop_read(vnode_t *, uio_t *, cred_t *);
129 int smb_vop_write(vnode_t *, uio_t *, int, uint32_t *, cred_t *);
130 int smb_vop_getattr(vnode_t *, vnode_t *, smb_attr_t *, int, cred_t *);
131 int smb_vop_setattr(vnode_t *, vnode_t *, smb_attr_t *, int, cred_t *);
132 int smb_vop_space(vnode_t *, int, flock64_t *, int, offset_t, cred_t *);
133 int smb_vop_access(vnode_t *, int, int, vnode_t *, cred_t *);
134 void smb_vop_eaccess(vnode_t *, int *, int, vnode_t *, cred_t *);
135 int smb_vop_lookup(vnode_t *, char *, vnode_t **, char *, int, int *, vnode_t *,
[all …]
/titanic_50/usr/src/uts/common/sys/
H A Dpathname.h76 extern int pn_getsymlink(vnode_t *, struct pathname *, cred_t *);
85 vnode_t **, vnode_t **);
87 vnode_t **, vnode_t **, vnode_t *);
89 vnode_t **, vnode_t **, vnode_t *, cred_t *);
91 vnode_t **, vnode_t **);
93 vnode_t **, vnode_t **, vnode_t *);
95 vnode_t **, vnode_t **, vnode_t *, cred_t *);
98 vnode_t **, vnode_t **, vnode_t *, vnode_t *, cred_t *);
99 extern int traverse(vnode_t **);
101 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.h260 } vnode_t; typedef
821 int (*vop_open)(vnode_t **, int, cred_t *, \
823 int (*vop_close)(vnode_t *, int, int, offset_t, cred_t *, \
825 int (*vop_read)(vnode_t *, uio_t *, int, cred_t *, \
827 int (*vop_write)(vnode_t *, uio_t *, int, cred_t *, \
829 int (*vop_ioctl)(vnode_t *, int, intptr_t, int, cred_t *, \
831 int (*vop_setfl)(vnode_t *, int, int, cred_t *, \
833 int (*vop_getattr)(vnode_t *, vattr_t *, int, cred_t *, \
835 int (*vop_setattr)(vnode_t *, vattr_t *, int, cred_t *, \
837 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 *);
/titanic_50/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dvnode.h253 } vnode_t; typedef
816 int (*vop_open)(vnode_t **, int, cred_t *, \
818 int (*vop_close)(vnode_t *, int, int, offset_t, cred_t *, \
820 int (*vop_read)(vnode_t *, uio_t *, int, cred_t *, \
822 int (*vop_write)(vnode_t *, uio_t *, int, cred_t *, \
824 int (*vop_ioctl)(vnode_t *, int, intptr_t, int, cred_t *, \
826 int (*vop_setfl)(vnode_t *, int, int, cred_t *, \
828 int (*vop_getattr)(vnode_t *, vattr_t *, int, cred_t *, \
830 int (*vop_setattr)(vnode_t *, vattr_t *, int, cred_t *, \
832 int (*vop_access)(vnode_t *, int, int, cred_t *, \
[all …]
/titanic_50/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 Dlookup.c70 vnode_t **dirvpp, in lookupname()
71 vnode_t **compvpp) in lookupname()
86 vnode_t **dirvpp, /* ret for ptr to parent dir vnode */ in lookupnameatcred()
87 vnode_t **compvpp, /* ret for ptr to component vnode */ in lookupnameatcred()
88 vnode_t *startvp, /* start path search from vp */ in lookupnameatcred()
116 vnode_t **dirvpp, vnode_t **compvpp, vnode_t *startvp) in lookupnameat()
127 vnode_t **dirvpp, in lookuppn()
128 vnode_t **compvpp) in lookuppn()
142 vnode_t **dirvpp, /* ptr for parent vnode */ in lookuppnatcred()
143 vnode_t **compvpp, /* ptr for entry vnode */ in lookuppnatcred()
[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 …]
/titanic_50/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c50 int fop__getxvattr(vnode_t *, xvattr_t *);
51 int fop__setxvattr(vnode_t *, xvattr_t *);
57 vnode_t **vpp, in fop_open()
78 vnode_t *vp, in fop_close()
108 vnode_t *vp, in fop_read()
163 vnode_t *vp, in fop_write()
209 vnode_t *vp, in fop_ioctl()
223 vnode_t *vp, in fop_setfl()
236 vnode_t *vp, in fop_getattr()
258 vnode_t *vp, in fop_setattr()
[all …]
H A Dvncache.c84 vn_recycle(vnode_t *vp) in vn_recycle()
110 vn_reinit(vnode_t *vp) in vn_reinit()
122 vnode_t *
125 vnode_t *vp; in vn_alloc()
137 vn_free(vnode_t *vp) in vn_free()
160 const vnode_t *vp1, *vp2; in vncache_cmp()
177 vnode_t *
180 vnode_t tmp_vn; in vncache_lookup()
181 vnode_t *vp; in vncache_lookup()
195 vnode_t *
[all …]
H A Dvncache.h24 vnode_t *vncache_lookup(struct stat *);
25 vnode_t *vncache_enter(struct stat *, vnode_t *, char *, int);
26 void vncache_renamed(vnode_t *, vnode_t *, char *);
27 void vncache_inactive(vnode_t *);
/titanic_50/usr/src/uts/common/nfs/
H A Dnfs4_clnt.h161 vnode_t *vp;
684 vnode_t *lr_vp;
685 vnode_t *lr_dvp;
1496 extern int nfs4_async_readahead(vnode_t *, u_offset_t, caddr_t,
1498 void (*)(vnode_t *, u_offset_t,
1500 extern int nfs4_async_putapage(vnode_t *, page_t *, u_offset_t, size_t,
1501 int, cred_t *, int (*)(vnode_t *, page_t *,
1503 extern int nfs4_async_pageio(vnode_t *, page_t *, u_offset_t, size_t,
1504 int, cred_t *, int (*)(vnode_t *, page_t *,
1506 extern void nfs4_async_commit(vnode_t *, page_t *, offset3, count3,
[all …]
H A Drnode.h266 vnode_t *r_vnode; /* vnode for remote file */
277 vnode_t *r_unldvp; /* parent dir of unlinked file */
290 (vnode_t *, page_t *, u_offset_t *, size_t *, int, cred_t *);
343 extern int nfs_async_readahead(vnode_t *, u_offset_t, caddr_t,
345 void (*)(vnode_t *, u_offset_t,
347 extern int nfs_async_putapage(vnode_t *, page_t *, u_offset_t, size_t,
348 int, cred_t *, int (*)(vnode_t *, page_t *,
350 extern int nfs_async_pageio(vnode_t *, page_t *, u_offset_t, size_t,
351 int, cred_t *, int (*)(vnode_t *, page_t *,
353 extern void nfs_async_readdir(vnode_t *, rddir_cache *,
[all …]
H A Dexport.h335 vnode_t *lf_vp; /* vnode for the buffer file */
520 vnode_t *exi_vp;
521 vnode_t *exi_dvp;
566 vnode_t *vis_vp;
605 extern int nfsauth4_access(struct exportinfo *, vnode_t *,
618 extern vnode_t *nfs_fhtovp(fhandle_t *, struct exportinfo *);
619 extern vnode_t *nfs3_fhtovp(nfs_fh3 *, struct exportinfo *);
620 extern struct exportinfo *checkexport(fsid_t *, struct fid *, vnode_t *);
622 vnode_t *);
625 extern struct exportinfo *nfs_vptoexi(vnode_t *, vnode_t *, cred_t *, int *,
[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 *);
385 vnode_t *re_vp; /* held reference */
409 extern vnode_t *makenfs4node(nfs4_sharedfh_t *, nfs4_ga_res_t *, struct vfs *,
410 hrtime_t, cred_t *, vnode_t *, nfs4_fname_t *);
411 extern vnode_t *makenfs4node_by_fh(nfs4_sharedfh_t *, nfs4_sharedfh_t *,
426 extern int nfs4_directio(vnode_t *, int, cred_t *);
[all …]
/titanic_50/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 …]
/titanic_50/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 …]
/titanic_50/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()
/titanic_50/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