/src/sys/kern/ |
kern_core.c | 127 struct vattr vattr; local in function:coredump 251 VOP_GETATTR(vp, &vattr, cred) || vattr.va_nlink != 1 || 252 vattr.va_uid != kauth_cred_geteuid(cred)) { 256 vattr_null(&vattr); 257 vattr.va_size = 0; 260 vattr.va_uid = security_setidcore_owner; 261 vattr.va_gid = security_setidcore_group; 262 vattr.va_mode = security_setidcore_mode [all...] |
tty_ptm.c | 240 struct vattr vattr; local in function:pty_grant_slave 241 (*ptm->getvattr)(mp, l, &vattr); 243 error = VOP_SETATTR(vp, &vattr, lwp0.l_cred);
|
vfs_vnops.c | 179 struct vattr va; 756 struct vattr va; 765 * Copy from vattr table 833 struct vattr vattr; local in function:vn_ioctl 842 error = VOP_GETATTR(vp, &vattr, kauth_cred_get()); 846 *(int *)data = vattr.va_size - fp->f_offset; 936 struct vattr va; 1158 struct vattr vattr; local in function:vn_seek 1335 struct vattr vattr; local in function:vn_truncate [all...] |
uipc_usrreq.c | 962 struct vattr vattr; local in function:unp_bind 1014 vattr_null(&vattr); 1015 vattr.va_type = VSOCK; 1016 vattr.va_mode = ACCESSPERMS & ~(p->p_cwdi->cwdi_cmask); 1017 error = VOP_CREATE(nd.ni_dvp, &nd.ni_vp, &nd.ni_cnd, &vattr);
|
vfs_mount.c | 612 struct vattr vattr; local in function:vflush_one 636 error = VOP_GETATTR(vp, &vattr, curlwp->l_cred); 642 if (vp->v_writecount == 0 && vattr.va_nlink > 0) {
|
vfs_syscalls.c | 2164 struct vattr va; 2425 struct vattr vattr; local in function:do_sys_mknodat 2456 vattr_null(&vattr); 2458 vattr.va_mode = (mode & ALLPERMS) &~ p->p_cwdi->cwdi_cmask; 2459 vattr.va_rdev = dev; 2463 vattr.va_type = VBAD; 2466 vattr.va_type = VCHR; 2469 vattr.va_type = VBLK; 2479 vattr.va_type = VREG 2568 struct vattr vattr; local in function:do_sys_mkfifoat 2715 struct vattr vattr; local in function:do_sys_symlinkat 3555 struct vattr vattr; local in function:change_flags 3676 struct vattr vattr; local in function:change_mode 3884 struct vattr vattr; local in function:change_owner 4055 struct vattr vattr; local in function:do_sys_utimensat 4190 struct vattr vattr; local in function:sys_truncate 4797 struct vattr vattr; local in function:do_sys_mkdirat 4911 struct vattr vattr; local in function:dorevoke [all...] |
/src/sys/fs/nfs/client/ |
nfs_clbio.c | 340 struct vattr vattr; local in function:nfs_bioread_check_cons 369 error = VOP_GETATTR(vp, &vattr, cred); 373 np->n_mtime = vattr.va_mtime; 377 error = VOP_GETATTR(vp, &vattr, cred); 382 || (NFS_TIMESPEC_COMPARE(&np->n_mtime, &vattr.va_mtime))) { 390 np->n_mtime = vattr.va_mtime; 851 struct vattr vattr; local in function:ncl_write 920 error = VOP_GETATTR(vp, &vattr, cred) [all...] |
nfs_clvnops.c | 125 static int nfs_setattrrpc(struct vnode *, struct vattr *, struct ucred *, 210 struct componentname *cnp, struct vattr *vap); 368 * ufs_access() locally using the vattr. This may not be correct, 508 struct vattr vattr; local in function:nfs_open 548 error = VOP_GETATTR(vp, &vattr, ap->a_cred); 555 np->n_mtime = vattr.va_mtime; 557 np->n_change = vattr.va_filerev; 560 error = VOP_GETATTR(vp, &vattr, ap->a_cred); 567 if ((NFS_ISV4(vp) && np->n_change != vattr.va_filerev) | 817 struct vattr vattr; local in function:nfs_getattr 1045 struct vattr vattr; local in function:nfs_lookup 1440 struct vattr vattr; local in function:nfs_mknodrpc 1544 struct vattr vattr; local in function:nfs_create 1660 struct vattr vattr; local in function:nfs_remove 2092 struct vattr vattr; local in function:nfs_mkdir 2210 struct vattr vattr; local in function:nfs_readdir 3227 struct vattr vattr; local in function:nfsspec_access 3303 struct vattr vattr; local in function:nfsfifo_close [all...] |
/src/sys/nfs/ |
nfs_bio.c | 686 struct vattr vattr; local in function:nfs_flushstalebuf 704 error = VOP_GETATTR(vp, &vattr, cred); 707 np->n_mtime = vattr.va_mtime; 709 error = VOP_GETATTR(vp, &vattr, cred); 712 if (timespeccmp(&np->n_mtime, &vattr.va_mtime, !=)) { 719 np->n_mtime = vattr.va_mtime;
|
nfs_serv.c | 177 struct vattr va; 187 nfsm_srvpostop_attr(1, (struct vattr *)0); 233 struct vattr va; 272 struct vattr va, preat; 413 struct vattr va, dirattr; 542 struct vattr attr; 582 nfsm_srvpostop_attr(1, (struct vattr *)0); 643 struct vattr va; 662 nfsm_srvpostop_attr(1, (struct vattr *)0); 857 struct vattr va, forat 3576 struct vattr vattr; local in function:nfsrv_access [all...] |
nfs_vnops.c | 313 * ufs_access() locally using the vattr. This may not be correct, 516 struct vattr *a_vap; 568 struct vattr *a_vap; 573 struct vattr *vap = ap->a_vap; 662 nfs_setattrrpc(struct vnode *vp, struct vattr *vap, kauth_cred_t cred, struct lwp *l) 713 nfsm_loadattr(vp, (struct vattr *)0, NAC_NOTRUNC); 788 struct vattr vattr; local in function:nfs_lookup 798 if (VOP_GETATTR(dvp, &vattr, cnp->cn_cred) 799 || timespeccmp(&vattr.va_mtime 998 struct vattr vattr; \/* dummy *\/ local in function:nfs_lookup 1707 struct vattr vattr; local in function:nfs_remove 3409 struct vattr vattr; local in function:nfsspec_close 3486 struct vattr vattr; local in function:nfsfifo_close [all...] |
/src/sys/dev/ |
vnd.c | 1053 vnd_cget(struct lwp *l, int unit, int *un, struct vattr *va) 1122 vndioctl_get(struct lwp *l, void *data, int unit, struct vattr *va) 1152 struct vattr vattr; local in function:vndioctl 1170 if ((error = vndioctl_get(l, data, unit, &vattr)) != 0) 1174 vnu->vnu_dev = vattr.va_fsid; 1175 vnu->vnu_ino = vattr.va_fileid; 1181 (cmd, l, data, unit, &vattr, vndioctl_get), 1197 (cmd, l, data, unit, &vattr, vndioctl_get), 1274 error = VOP_GETATTR(vp, &vattr, l->l_cred) [all...] |
/src/sys/fs/nfs/server/ |
nfs_nfsdport.c | 244 struct vattr vattr; local in function:nfsvno_accchk 315 getret = VOP_GETATTR(vp, &vattr, cred); 316 if (getret == 0 && cred->cr_uid == vattr.va_uid) 1515 struct vattr va;
|
/src/sys/sys/ |
vnode.h | 257 struct vattr { struct 588 struct vattr; 595 void vattr_null(struct vattr *); 618 struct vattr *, kauth_cred_t, void *, struct vnode **);
|