| /netbsd-src/sys/rump/include/rump-sys/ |
| H A D | vfs_if.h | 18 struct vattr * rump_vattr_init(void); 19 typedef struct vattr * (*rump_vattr_init_fn)(void); 20 void rump_vattr_settype(struct vattr *, enum rump_vtype); 21 typedef void (*rump_vattr_settype_fn)(struct vattr *, enum rump_vtype); 22 void rump_vattr_setmode(struct vattr *, mode_t); 23 typedef void (*rump_vattr_setmode_fn)(struct vattr *, mode_t); 24 void rump_vattr_setrdev(struct vattr *, dev_t); 25 typedef void (*rump_vattr_setrdev_fn)(struct vattr *, dev_t); 26 void rump_vattr_free(struct vattr *); 27 typedef void (*rump_vattr_free_fn)(struct vattr *); [all …]
|
| /netbsd-src/sys/rump/include/rump/ |
| H A D | rumpvfs_if_pub.h | 12 struct vattr * rump_pub_vattr_init(void); 13 void rump_pub_vattr_settype(struct vattr *, enum rump_vtype); 14 void rump_pub_vattr_setmode(struct vattr *, mode_t); 15 void rump_pub_vattr_setrdev(struct vattr *, dev_t); 16 void rump_pub_vattr_free(struct vattr *); 36 void rump_pub_vattr50_to_vattr(const struct vattr *, struct vattr *); 37 void rump_pub_vattr_to_vattr50(const struct vattr *, struct vattr *);
|
| H A D | rumpvnode_if.h | 61 struct vattr *); 63 struct vattr *); 68 int RUMP_VOP_GETATTR(struct vnode *, struct vattr *, struct kauth_cred *); 69 int RUMP_VOP_SETATTR(struct vnode *, struct vattr *, struct kauth_cred *); 87 struct vattr *); 90 struct componentname *, struct vattr *, char *);
|
| /netbsd-src/lib/libpuffs/ |
| H A D | puffs.h | 83 struct vattr pn_va; 180 const struct vattr *); 183 const struct vattr *); 191 puffs_cookie_t, struct vattr *, const struct puffs_cred *); 193 puffs_cookie_t, const struct vattr *, const struct puffs_cred *); 210 const struct vattr *); 215 const struct vattr *, 245 puffs_cookie_t, struct vattr *, const struct puffs_cred *, 248 puffs_cookie_t, struct vattr *, const struct puffs_cred *, 335 const struct puffs_cn *, const struct vattr *); \ [all …]
|
| H A D | subr.c | 118 struct vattr *va, const struct puffs_cred *pcr) in puffs_genfs_node_getattr() 122 memcpy(va, &pn->pn_va, sizeof(struct vattr)); in puffs_genfs_node_getattr() 155 puffs_setvattr(struct vattr *vap, const struct vattr *sva) in puffs_setvattr() 186 puffs_vattr_null(struct vattr *vap) in puffs_vattr_null() 266 puffs_stat2vattr(struct vattr *va, const struct stat *sb) in puffs_stat2vattr()
|
| /netbsd-src/sys/rump/librump/rumpvfs/ |
| H A D | rumpvfs.ifspec | 17 struct vattr * |vattr_init |void 18 void |vattr_settype |struct vattr *, enum rump_vtype 19 void |vattr_setmode |struct vattr *, mode_t 20 void |vattr_setrdev |struct vattr *, dev_t 21 void |vattr_free |struct vattr * 55 void |vattr50_to_vattr|const struct vattr *, struct vattr *|COMPAT_50 56 void |vattr_to_vattr50|const struct vattr *, struct vattr *|COMPAT_50
|
| H A D | rumpvfs_if_wrappers.c | 59 struct vattr * 62 struct vattr * rv; in rump_pub_vattr_init() 72 rump_pub_vattr_settype(struct vattr *arg1, enum rump_vtype arg2) in rump_pub_vattr_settype() 81 rump_pub_vattr_setmode(struct vattr *arg1, mode_t arg2) in rump_pub_vattr_setmode() 90 rump_pub_vattr_setrdev(struct vattr *arg1, dev_t arg2) in rump_pub_vattr_setrdev() 99 rump_pub_vattr_free(struct vattr *arg1) in rump_pub_vattr_free() 317 rump_pub_vattr50_to_vattr(const struct vattr *arg1, struct vattr *arg2) in rump_pub_vattr50_to_vattr() 330 rump_pub_vattr_to_vattr50(const struct vattr *arg1, struct vattr *arg2) in rump_pub_vattr_to_vattr50()
|
| H A D | rump_vfs.c | 333 struct vattr* 336 struct vattr *vap; in rump_vattr_init() 338 vap = kmem_alloc(sizeof(struct vattr), KM_SLEEP); in rump_vattr_init() 345 rump_vattr_settype(struct vattr *vap, enum rump_vtype vt) in rump_vattr_settype() 352 rump_vattr_setmode(struct vattr *vap, mode_t mode) in rump_vattr_setmode() 359 rump_vattr_setrdev(struct vattr *vap, dev_t dev) in rump_vattr_setrdev() 366 rump_vattr_free(struct vattr *vap) in rump_vattr_free()
|
| /netbsd-src/sys/kern/ |
| H A D | tty_bsdpty.c | 76 static void pty_getvattr(struct mount *, struct lwp *, struct vattr *); 148 pty_getvattr(struct mount *mp, struct lwp *l, struct vattr *vattr) in pty_getvattr() argument 150 vattr_null(vattr); in pty_getvattr() 152 vattr->va_uid = kauth_cred_getuid(l->l_cred); in pty_getvattr() 153 vattr->va_gid = TTY_GID; in pty_getvattr() 154 vattr->va_mode = TTY_PERM; in pty_getvattr()
|
| H A D | kern_core.c | 127 struct vattr vattr; in coredump() local 251 VOP_GETATTR(vp, &vattr, cred) || vattr.va_nlink != 1 || in coredump() 252 vattr.va_uid != kauth_cred_geteuid(cred)) { in coredump() 256 vattr_null(&vattr); in coredump() 257 vattr.va_size = 0; in coredump() 260 vattr.va_uid = security_setidcore_owner; in coredump() 261 vattr.va_gid = security_setidcore_group; in coredump() 262 vattr.va_mode = security_setidcore_mode; in coredump() 265 VOP_SETATTR(vp, &vattr, cred); in coredump()
|
| H A D | vfs_syscalls.c | 2162 struct vattr va; in dofhopen() 2423 struct vattr vattr; in do_sys_mknodat() 2454 vattr_null(&vattr); in do_sys_mknodat() 2456 vattr.va_mode = (mode & ALLPERMS) &~ p->p_cwdi->cwdi_cmask; in do_sys_mknodat() 2457 vattr.va_rdev = dev; in do_sys_mknodat() 2461 vattr.va_type = VBAD; in do_sys_mknodat() 2464 vattr.va_type = VCHR; in do_sys_mknodat() 2467 vattr.va_type = VBLK; in do_sys_mknodat() 2477 vattr in do_sys_mknodat() 2398 struct vattr vattr; do_sys_mknodat() local 2538 struct vattr vattr; do_sys_mkfifoat() local 2685 struct vattr vattr; do_sys_symlinkat() local 3508 struct vattr vattr; change_flags() local 3626 struct vattr vattr; change_mode() local 3829 struct vattr vattr; change_owner() local 3999 struct vattr vattr; do_sys_utimensat() local 4133 struct vattr vattr; sys_truncate() local 4733 struct vattr vattr; do_sys_mkdirat() local 4842 struct vattr vattr; dorevoke() local [all...] |
| /netbsd-src/sys/coda/ |
| H A D | coda_venus.h | 62 /*out*/ struct vattr *vap); 65 venus_setattr(void *mdp, CodaFid *fid, struct vattr *vap, 89 const char *nm, int len, int exclusive, int mode, struct vattr *va, 91 /*out*/ CodaFid *VFid, struct vattr *attr); 110 const char *nm, int len, struct vattr *va, 112 /*out*/ CodaFid *VFid, struct vattr *ova); 121 const char *lnm, int llen, const char *nm, int len, struct vattr *va,
|
| /netbsd-src/external/cddl/osnet/sys/sys/ |
| H A D | policy.h | 41 struct vattr; 59 int secpolicy_vnode_setattr(cred_t *cr, vnode_t *vp, struct vattr *vap, 60 const struct vattr *ovap, int flags, 66 void secpolicy_setid_clear(struct vattr *vap, vnode_t *vp, cred_t *cr); 67 int secpolicy_setid_setsticky_clear(vnode_t *vp, struct vattr *vap, 68 const struct vattr *ovap, cred_t *cr);
|
| /netbsd-src/sys/fs/nfs/client/ |
| H A D | nfs_clvnops.c | 125 static int nfs_setattrrpc(struct vnode *, struct vattr *, struct ucred *, 210 struct componentname *cnp, struct vattr *vap); 508 struct vattr vattr; in nfs_open() local 548 error = VOP_GETATTR(vp, &vattr, ap->a_cred); in nfs_open() 555 np->n_mtime = vattr.va_mtime; in nfs_open() 557 np->n_change = vattr.va_filerev; in nfs_open() 560 error = VOP_GETATTR(vp, &vattr, ap->a_cred); in nfs_open() 567 if ((NFS_ISV4(vp) && np->n_change != vattr.va_filerev) || in nfs_open() 568 NFS_TIMESPEC_COMPARE(&np->n_mtime, &vattr.va_mtime)) { in nfs_open() 579 np->n_mtime = vattr.va_mtime; in nfs_open() [all …]
|
| /netbsd-src/sys/nfs/ |
| H A D | nfs_var.h | 58 struct vattr; 95 int nfs_setattrrpc(struct vnode *, struct vattr *, kauth_cred_t, struct lwp *); 100 struct vattr *); 269 struct vattr *, int flags); 270 int nfs_loadattrcache(struct vnode **, struct nfs_fattr *, struct vattr *, 272 int nfs_getattrcache(struct vnode *, struct vattr *); 278 int *, struct vattr *, struct lwp *, int, int); 280 void nfsm_srvwcc(struct nfsrv_descript *, int, struct vattr *, int, 281 struct vattr *, struct mbuf **, char **); 282 void nfsm_srvpostopattr(struct nfsrv_descript *, int, struct vattr *, [all...] |
| /netbsd-src/share/examples/puffs/pgfs/ |
| H A D | pgfs.h | 37 struct vattr *, const struct puffs_cred *); 45 const struct vattr *); 48 const struct vattr *); 61 const struct vattr *, const struct puffs_cred *); 66 struct puffs_newinfo *, const struct puffs_cn *, const struct vattr *,
|
| /netbsd-src/usr.sbin/puffs/mount_psshfs/ |
| H A D | psshfs.h | 97 struct vattr va; 203 void psbuf_put_vattr(struct puffs_framebuf *, const struct vattr *, 215 int psbuf_get_vattr(struct puffs_framebuf *, struct vattr *); 220 int psbuf_expect_attrs(struct puffs_framebuf *, struct vattr *); 233 const struct psshfs_dir *, const struct vattr *); 235 const char *, const struct vattr *); 239 int getpathattr(struct puffs_usermount *, const char *, struct vattr *);
|
| /netbsd-src/sys/compat/common/ |
| H A D | vnd_50.c | 98 static int compat_50_vndioctl(u_long, struct lwp *, void *, int, struct vattr *, 99 int (*)(struct lwp *, void *, int, struct vattr *)); 103 struct vattr *vattr_p, in compat_50_vndioctl() argument 104 int (*get)(struct lwp *, void *, int, struct vattr *)) in compat_50_vndioctl()
|
| H A D | vnd_30.c | 99 static int compat_30_vndioctl(u_long, struct lwp *, void *, int, struct vattr *, 100 int (*)(struct lwp *, void *, int, struct vattr *)); 104 struct vattr *vattr_p, in compat_30_vndioctl() argument 105 int (*get)(struct lwp *, void *, int, struct vattr *)) in compat_30_vndioctl()
|
| /netbsd-src/sys/sys/ |
| H A D | vnode_if.h | 88 struct vattr *a_vap; 92 struct vattr *); 100 struct vattr *a_vap; 104 struct vattr *); 150 struct vattr *a_vap; 154 int VOP_GETATTR(struct vnode *, struct vattr *, kauth_cred_t); 160 struct vattr *a_vap; 164 int VOP_SETATTR(struct vnode *, struct vattr *, kauth_cred_t); 333 struct vattr *a_vap; 337 struct vattr *); [all …]
|
| H A D | compat_stub.h | 186 struct vattr; 188 struct vattr *, int (*)(struct lwp *, void *, int, struct vattr *))); 193 struct vattr; 195 struct vattr *, int (*)(struct lwp *, void *, int, struct vattr *)));
|
| /netbsd-src/lib/libperfuse/ |
| H A D | perfuse_priv.h | 210 const struct vattr *); 213 const struct vattr *); 221 puffs_cookie_t, struct vattr *, const struct puffs_cred *); 223 puffs_cookie_t, const struct vattr *, const struct puffs_cred *); 236 const struct vattr *); 241 const struct vattr *, const char *); 275 puffs_cookie_t, struct vattr *, const struct puffs_cred *, 278 puffs_cookie_t, struct vattr *, const struct puffs_cred *,
|
| /netbsd-src/usr.sbin/puffs/mount_9p/ |
| H A D | ninepuffs.h | 155 int proto_getstat(struct puffs_usermount *, struct puffs_framebuf *, struct vattr *, 160 struct vattr *); 170 const struct vattr *, const char *, enum vtype); 175 void qid2vattr(struct vattr *, const struct qid9p *); 177 const struct vattr *, p9pfid_t);
|
| H A D | node.c | 45 struct vattr *vap = &pn->pn_va; in nodecmp() 55 do_getattr(struct puffs_usermount *pu, struct puffs_node *pn, struct vattr *vap) in do_getattr() 77 puffs9p_node_getattr(struct puffs_usermount *pu, void *opc, struct vattr *vap, in puffs9p_node_getattr() 85 memcpy(vap, &pn->pn_va, sizeof(struct vattr)); in puffs9p_node_getattr() 94 struct vattr va; in puffs9p_node_lookup() 172 struct vattr va; in puffs9p_node_readdir() 236 const struct vattr *va, const struct puffs_cred *pcr) in puffs9p_node_setattr() 421 const struct vattr *vap, uint32_t dirbit) in nodecreate() 490 const struct puffs_cn *pcn, const struct vattr *va) in puffs9p_node_create() 498 const struct puffs_cn *pcn, const struct vattr *va) in puffs9p_node_mkdir()
|
| /netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| H A D | vdev_file.c | 56 vattr_t vattr; in vdev_file_open() local 116 vattr.va_mask = AT_SIZE; in vdev_file_open() 119 error = VOP_GETATTR(vp, &vattr, kcred); in vdev_file_open() 123 error = VOP_GETATTR(vp, &vattr, 0, kcred, NULL); in vdev_file_open() 135 *max_psize = *psize = vattr.va_size; in vdev_file_open()
|