Lines Matching defs:sp
280 mntstatvfs(struct vfs *vfsp, struct statvfs64 *sp)
284 bzero((caddr_t)sp, sizeof (*sp));
285 sp->f_bsize = DEV_BSIZE;
286 sp->f_frsize = DEV_BSIZE;
287 sp->f_blocks = (fsblkcnt64_t)0;
288 sp->f_bfree = (fsblkcnt64_t)0;
289 sp->f_bavail = (fsblkcnt64_t)0;
290 sp->f_files = (fsfilcnt64_t)1;
291 sp->f_ffree = (fsfilcnt64_t)0;
292 sp->f_favail = (fsfilcnt64_t)0;
294 sp->f_fsid = d32;
295 (void) strcpy(sp->f_basetype, vfssw[mntfstype].vsw_name);
296 sp->f_flag = vf_to_stf(vfsp->vfs_flag);
297 sp->f_namemax = 64; /* quite arbitrary */
298 bzero(sp->f_fstr, sizeof (sp->f_fstr));
299 (void) strcpy(sp->f_fstr, "/mnttab");
300 (void) strcpy(&sp->f_fstr[8], "/mnttab");