Lines Matching refs:vap
378 ctfs_common_getattr(vnode_t *vp, vattr_t *vap) in ctfs_common_getattr() argument
380 vap->va_uid = 0; in ctfs_common_getattr()
381 vap->va_gid = 0; in ctfs_common_getattr()
382 vap->va_rdev = 0; in ctfs_common_getattr()
383 vap->va_blksize = DEV_BSIZE; in ctfs_common_getattr()
384 vap->va_nblocks = howmany(vap->va_size, vap->va_blksize); in ctfs_common_getattr()
385 vap->va_seq = 0; in ctfs_common_getattr()
386 vap->va_fsid = vp->v_vfsp->vfs_dev; in ctfs_common_getattr()
387 vap->va_nodeid = gfs_file_inode(vp); in ctfs_common_getattr()
486 vattr_t *vap, in ctfs_root_getattr() argument
491 vap->va_type = VDIR; in ctfs_root_getattr()
492 vap->va_mode = 0555; in ctfs_root_getattr()
493 vap->va_nlink = 2 + ct_ntypes + 1; in ctfs_root_getattr()
494 vap->va_size = vap->va_nlink; in ctfs_root_getattr()
495 vap->va_atime.tv_sec = vp->v_vfsp->vfs_mtime; in ctfs_root_getattr()
496 vap->va_atime.tv_nsec = 0; in ctfs_root_getattr()
497 vap->va_mtime = vap->va_ctime = vap->va_atime; in ctfs_root_getattr()
498 ctfs_common_getattr(vp, vap); in ctfs_root_getattr()