/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | snode.h | 150 offset_t spec_maxoffset(struct vnode *); 152 struct vnode *specvp(struct vnode *, dev_t, vtype_t, struct cred *); 153 struct vnode *makespecvp(dev_t, vtype_t); 154 struct vnode *other_specvp(struct vnode *); 155 struct vnode *common_specvp(struct vnode *); 156 struct vnode *specfind(dev_t, vtype_t); 157 struct vnode *commonvp(dev_t, vtype_t); 158 struct vnode *makectty(vnode_t *); 167 struct vnode *specvp_devfs(struct vnode *, dev_t, vtype_t, 174 int spec_is_clone(struct vnode *); [all …]
|
H A D | ufs_filio.h | 93 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 D | hsfs_impl.h | 45 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 D | namenode.h | 59 struct vnode *nm_vnode; /* represents mounted file desc. */ 62 struct vnode *nm_filevp; /* file desc. prior to mounting */ 64 struct vnode *nm_mountpt; /* mount point prior to mounting */ 90 extern int nm_unmountall(struct vnode *, struct cred *); 93 extern struct namenode *namefind(struct vnode *, struct vnode *);
|
H A D | sdev_impl.h | 156 struct vnode *sdev_vnode; /* vnode */ 164 struct vnode *sdev_attrvp; /* backing store vnode if persisted */ 233 #define SDEVTOV(n) ((struct vnode *)(n)->sdev_vnode) 240 struct vnode *vp = SDEVTOV(dv); \ 289 extern int devname_setattr_func(struct vnode *, struct vattr *, int, 294 extern void devname_inactive_func(struct vnode *, struct cred *, 295 void (*)(struct vnode *)); 458 struct vnode *, struct cred *); 462 extern int sdev_getlink(struct vnode *linkvp, char **link); 484 extern int sdev_to_vp(struct sdev_node *, struct vnode **); [all …]
|
H A D | dv_node.h | 64 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);
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockcommon_vnops.c | 60 static int socket_vop_open(struct vnode **, int, struct cred *, 62 static int socket_vop_close(struct vnode *, int, int, offset_t, 64 static int socket_vop_read(struct vnode *, struct uio *, int, 66 static int socket_vop_write(struct vnode *, struct uio *, int, 68 static int socket_vop_ioctl(struct vnode *, int, intptr_t, int, 70 static int socket_vop_setfl(struct vnode *, int, int, cred_t *, 78 static int socket_vop_fsync(struct vnode *, int, struct cred *, 80 static void socket_vop_inactive(struct vnode *, struct cred *, 82 static int socket_vop_fid(struct vnode *, struct fid *, 119 socket_vop_open(struct vnode **vpp, int flag, struct cred *cr, in socket_vop_open() [all …]
|
/illumos-gate/usr/src/uts/common/fs/dcfs/ |
H A D | dc_vnops.c | 209 static int dc_realvp(struct vnode *, struct vnode **, caller_context_t *); 313 struct vnode *subvp = dp->dc_subvp; in dc_getattr() 328 struct vnode *subvp = dp->dc_subvp; in dc_setattr() 338 struct vnode *subvp = dp->dc_subvp; in dc_access() 526 struct vnode *rvp; in dc_realvp() 773 struct vnode *vp; in dcnode_constructor() 799 struct vnode *vp = DCTOV(dp); in dcnode_destructor() 836 struct vnode *vp = DCTOV(dp); in dcnode_free() 866 struct vnode *vp; in dcnode_recycle() 924 struct vnode * [all …]
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | fs_subr.h | 57 extern int fs_nosys_map(struct vnode *, offset_t, struct as *, caddr_t *, 60 extern int fs_nosys_addmap(struct vnode *, offset_t, struct as *, caddr_t, 63 extern int fs_nosys_poll(struct vnode *, short, int, short *, 79 extern int fs_pathconf(struct vnode *, int, ulong_t *, struct cred *, 82 extern void fs_dispose(struct vnode *, page_t *, int, int, struct cred *, 84 extern void fs_nodispose(struct vnode *, page_t *, int, int, struct cred *, 86 extern int fs_fab_acl(struct vnode *, vsecattr_t *, int flag, cred_t *, 88 extern int fs_shrlock(struct vnode *, int, struct shrlock *, int, 94 extern int fs_acl_nontrivial(struct vnode *vp, struct cred *cr);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | flock.h | 220 struct vnode *ll_vp; 232 int reclock(struct vnode *, struct flock64 *, int, int, u_offset_t, 234 int chklock(struct vnode *, int, u_offset_t, ssize_t, int, 236 int convoff(struct vnode *, struct flock64 *, int, offset_t); 237 void cleanlocks(struct vnode *, pid_t, int); 240 locklist_t *flk_active_locks_for_vp(const struct vnode *vp); 241 locklist_t *flk_active_nbmand_locks_for_vp(const struct vnode *vp); 244 int flk_convert_lock_data(struct vnode *, struct flock64 *, 247 int flk_has_remote_locks(struct vnode *vp); 268 int cl_flk_has_remote_locks_for_nlmid(struct vnode *vp, int nlmid);
|
H A D | file.h | 65 struct vnode *f_vnode; /* pointer to vnode structure */ 212 extern int falloc(struct vnode *, int, file_t **, int *); 222 extern int fassign(struct vnode **, int, int *); 228 extern int fgetstartvp(int, char *, struct vnode **); 230 extern int fisopen(struct vnode *); 233 extern int sock_getfasync(struct vnode *); 237 extern void checkwfdlist(struct vnode *, fpollinfo_t *);
|
H A D | swap.h | 137 struct vnode *si_vp; /* vnode (commonvp if device) */ 213 extern struct anon *swap_anon(struct vnode *vp, u_offset_t off); 214 extern int swap_phys_alloc(struct vnode **vpp, u_offset_t *offp, size_t *lenp, 216 extern void swap_phys_free(struct vnode *vp, u_offset_t off, size_t len); 217 extern int swap_getphysname(struct vnode *vp, u_offset_t off, 218 struct vnode **pvpp, u_offset_t *poffp); 219 extern int swap_newphysname(struct vnode *vp, u_offset_t offset, 220 u_offset_t *offp, size_t *lenp, struct vnode **pvpp, u_offset_t *poffp);
|
H A D | consdev.h | 53 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 */ 89 extern struct vnode *wsconsvp; /* vnode for redirecting ws cons access */ 90 extern struct vnode *rwsconsvp; /* vnode for underlying workstation console */
|
H A D | share.h | 69 extern int add_share(struct vnode *, struct shrlock *); 70 extern int del_share(struct vnode *, struct shrlock *); 71 extern void cleanshares(struct vnode *, pid_t); 72 extern void cleanshares_by_sysid(struct vnode *, int32_t);
|
/illumos-gate/usr/src/uts/common/fs/specfs/ |
H A D | specvnops.c | 875 struct vnode *vp, in spec_close() 977 struct vnode *vp, in spec_read() 1083 struct vnode *vp, in spec_write() 1291 struct vnode *vp, in spec_getattr() 1380 struct vnode *vp, in spec_setattr() 1425 struct vnode *vp, in spec_access() 1486 struct vnode *vp, in spec_fsync() 1702 struct vnode *vp, in spec_seek() 1717 struct vnode *vp, in spec_frlock() 1761 struct vnode *vp, in spec_getpage() [all …]
|
H A D | specsubr.c | 81 struct vnode * 89 struct vnode *vp; in specvp_devfs() 112 struct vnode * 114 struct vnode *vp, in specvp() 122 struct vnode *svp; in specvp() 223 struct vnode * 407 struct vnode * 486 struct vnode *vp; in spec_devi_open_count() 517 struct vnode * 584 struct vnode * [all …]
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vnops.c | 92 static int pcfs_lookup(struct vnode *, char *, struct vnode **, 100 static int pcfs_rename(struct vnode *, char *, struct vnode *, char *, 210 struct vnode *vp, in pcfs_close() 223 struct vnode *vp, in pcfs_read() 257 struct vnode *vp, in pcfs_write() 568 struct vnode *vp, in pcfs_getattr() 703 struct vnode *vp, in pcfs_setattr() 852 struct vnode *vp, in pcfs_access() 885 struct vnode *vp, in pcfs_fsync() 915 struct vnode *vp, in pcfs_inactive() [all …]
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_vnops.c | 618 sdev_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, in sdev_lookup() 643 struct vnode *vp = NULL; in sdev_create() 644 struct vnode *avp; in sdev_create() 798 struct vnode *vp = NULL; in sdev_remove() 907 sdev_rename(struct vnode *odvp, char *onm, struct vnode *ndvp, char *nnm, in sdev_rename() 918 struct vnode *realvp; in sdev_rename() 1161 struct vnode *vp = NULL; in sdev_symlink() 1232 sdev_mkdir(struct vnode *dvp, char *nm, struct vattr *va, struct vnode **vpp, in sdev_mkdir() 1238 struct vnode *vp = NULL; in sdev_mkdir() 1307 sdev_rmdir(struct vnode *dvp, char *nm, struct vnode *cdir, struct cred *cred, in sdev_rmdir() [all …]
|
H A D | sdev_ptsops.c | 219 struct vnode *vp; in devpts_prunedir() 287 devpts_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, in devpts_lookup() 288 struct pathname *pnp, int flags, struct vnode *rdir, struct cred *cred, in devpts_lookup() 293 struct vnode *rvp = NULL; in devpts_lookup() 326 devpts_create(struct vnode *dvp, char *nm, struct vattr *vap, vcexcl_t excl, in devpts_create() 327 int mode, struct vnode **vpp, struct cred *cred, int flag, in devpts_create() 331 struct vnode *vp; in devpts_create() 362 devpts_readdir(struct vnode *dvp, struct uio *uiop, struct cred *cred, in devpts_readdir() 385 devpts_setattr(struct vnode *vp, struct vattr *vap, int flags, in devpts_setattr()
|
/illumos-gate/usr/src/uts/common/fs/doorfs/ |
H A D | door_vnops.c | 42 static int door_open(struct vnode **vpp, int flag, struct cred *cr, 44 static int door_close(struct vnode *vp, int flag, int count, 46 static int door_getattr(struct vnode *vp, struct vattr *vap, 48 static void door_inactive(struct vnode *vp, struct cred *cr, 50 static int door_access(struct vnode *vp, int mode, int flags, 76 door_open(struct vnode **vpp, int flag, struct cred *cr, caller_context_t *ct) in door_open() 104 door_close(struct vnode *vp, int flag, int count, offset_t offset, in door_close() 143 door_getattr(struct vnode *vp, struct vattr *vap, int flags, struct cred *cr, in door_getattr() 171 door_inactive(struct vnode *vp, struct cred *cr, caller_context_t *ct) in door_inactive() 238 door_access(struct vnode *vp, int mode, int flags, struct cred *cr, in door_access()
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_vnops.c | 255 struct vnode *vp, in udf_close() 291 struct vnode *vp, in udf_read() 340 struct vnode *vp, in udf_write() 403 struct vnode *vp, in udf_ioctl() 417 struct vnode *vp, in udf_getattr() 491 struct vnode *vp, in udf_setattr() 613 struct vnode *vp, in udf_access() 647 struct vnode *vp; in udf_lookup() 835 struct vnode *vp, in udf_remove() 1084 struct vnode *vp, in udf_rmdir() [all …]
|
/illumos-gate/usr/src/uts/common/klm/ |
H A D | klmops.c | 80 lm_frlock(struct vnode *vp, int cmd, struct flock64 *flk, int flags, in lm_frlock() 93 lm4_frlock(struct vnode *vp, int cmd, struct flock64 *flk, int flags, in lm4_frlock() 108 lm_shrlock(struct vnode *vp, int cmd, in lm_shrlock() 119 lm4_shrlock(struct vnode *vp, int cmd, in lm4_shrlock() 129 lm_register_lock_locally(struct vnode *vp, struct lm_sysid *ls, in lm_register_lock_locally() 159 lm_nlm_reclaim(struct vnode *vp, struct flock64 *flkp) in lm_nlm_reclaim() 165 lm_nlm4_reclaim(struct vnode *vp, struct flock64 *flkp) in lm_nlm4_reclaim()
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | lm.h | 107 extern int lm_frlock(struct vnode *vp, int cmd, 111 extern int lm_has_sleep(const struct vnode *); 118 extern int lm_shrlock(struct vnode *vp, int cmd, 120 extern int lm4_frlock(struct vnode *vp, int cmd, 124 extern int lm4_shrlock(struct vnode *vp, int cmd, 156 extern int lm_vp_active(const struct vnode *);
|
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_vnops.c | 96 struct vnode *vp, in tmp_close() 124 struct vnode *vp; in wrtmp() 459 struct vnode *vp; in rdtmp() 648 struct vnode *vp, in tmp_ioctl() 662 struct vnode *vp, in tmp_getattr() 669 struct vnode *mvp; in tmp_getattr() 725 struct vnode *vp, in tmp_setattr() 805 struct vnode *vp, in tmp_access() 1385 struct vnode *vp; in tmp_rmdir() 1458 struct vnode *vp, in tmp_readdir() [all …]
|
/illumos-gate/usr/src/uts/common/fs/devfs/ |
H A D | devfs_vnops.c | 74 devfs_open(struct vnode **vpp, int flag, struct cred *cred, in devfs_open() 90 devfs_close(struct vnode *vp, int flag, int count, in devfs_close() 139 devfs_ioctl(struct vnode *vp, int cmd, intptr_t arg, int flag, in devfs_ioctl() 221 struct vnode *vp, in devfs_setattr_dir() 340 struct vnode *vp, in devfs_setattr() 348 struct vnode *dvp; in devfs_setattr() 618 struct vnode *avp; in devfs_getsecattr() 652 struct vnode *avp; in devfs_setsecattr() 810 devfs_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, in devfs_lookup() 835 struct vnode *vp; in devfs_create() [all …]
|