/titanic_44/usr/src/cmd/fs.d/ufs/df/ |
H A D | df.c | 100 ((b) < (fsblkcnt64_t)1024 ? \ 101 (x) / ((fsblkcnt64_t)1024 / (b)) : (x) * ((b) / (fsblkcnt64_t)1024)) 114 fsblkcnt64_t t_totalblks, t_avail, t_free, t_used, t_reserved; 470 fsblkcnt64_t totalblks, availblks, avail, free, used; in dfreedev() 520 totalblks = (fsblkcnt64_t)sblock.fs_dsize; in dfreedev() 522 (fsblkcnt64_t)sblock.fs_cstotal.cs_nbfree * in dfreedev() 523 (fsblkcnt64_t)sblock.fs_frag + in dfreedev() 524 (fsblkcnt64_t)sblock.fs_cstotal.cs_nffree; in dfreedev() 526 availblks = totalblks / (fsblkcnt64_t)100 * in dfreedev() 527 ((fsblkcnt64_t)100 - (fsblkcnt64_t)sblock.fs_minfree); in dfreedev() [all …]
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | statvfs.h | 102 fsblkcnt64_t f_blocks; /* total blocks of f_frsize */ 103 fsblkcnt64_t f_bfree; /* total free blocks of f_frsize */ 104 fsblkcnt64_t f_bavail; /* free blocks avail to non-superuser */ 131 fsblkcnt64_t f_blocks; /* total blocks of f_frsize */ 132 fsblkcnt64_t f_bfree; /* total free blocks of f_frsize */ 133 fsblkcnt64_t f_bavail; /* free blocks avail to non-superuser */
|
H A D | types.h | 175 typedef fsblkcnt_t fsblkcnt64_t; /* count of file system blocks */ typedef 180 typedef u_longlong_t fsblkcnt64_t; /* count of file system blocks */ typedef
|
/titanic_44/usr/src/cmd/fs.d/ |
H A D | df.c | 1181 adjust_total_blocks(struct df_request *dfrp, fsblkcnt64_t *total, in adjust_total_blocks() 1252 fsblkcnt64_t available_blocks = fsp->f_bavail; in g_output() 1253 fsblkcnt64_t total_blocks = fsp->f_blocks; in g_output() 1332 available_blocks = (fsblkcnt64_t)0; in g_output() 1369 fsblkcnt64_t total_blocks = fsp->f_blocks; in k_output() 1370 fsblkcnt64_t free_blocks = fsp->f_bfree; in k_output() 1371 fsblkcnt64_t available_blocks = fsp->f_bavail; in k_output() 1372 fsblkcnt64_t used_blocks; in k_output() 1383 if (free_blocks == (fsblkcnt64_t)-1) { in k_output() 1384 used_blocks = (fsblkcnt64_t)-1; in k_output() [all …]
|
/titanic_44/usr/src/uts/common/fs/mntfs/ |
H A D | mntvfsops.c | 287 sp->f_blocks = (fsblkcnt64_t)0; in mntstatvfs() 288 sp->f_bfree = (fsblkcnt64_t)0; in mntstatvfs() 289 sp->f_bavail = (fsblkcnt64_t)0; in mntstatvfs()
|
/titanic_44/usr/src/uts/common/fs/proc/ |
H A D | prvfsops.c | 311 sp->f_blocks = (fsblkcnt64_t)0; in prstatvfs() 312 sp->f_bfree = (fsblkcnt64_t)0; in prstatvfs() 313 sp->f_bavail = (fsblkcnt64_t)0; in prstatvfs()
|
/titanic_44/usr/src/ucbhead/sys/ |
H A D | types.h | 198 typedef fsblkcnt_t fsblkcnt64_t; typedef 204 typedef u_longlong_t fsblkcnt64_t; /* counts file system blocks */ typedef
|
/titanic_44/usr/src/uts/common/fs/fd/ |
H A D | fdops.c | 185 vap->va_nblocks = (fsblkcnt64_t)0; in fdgetattr() 461 sp->f_blocks = (fsblkcnt64_t)0; in fdstatvfs() 462 sp->f_bfree = (fsblkcnt64_t)0; in fdstatvfs() 463 sp->f_bavail = (fsblkcnt64_t)0; in fdstatvfs()
|
/titanic_44/usr/src/uts/common/syscall/ |
H A D | statvfs.c | 112 if (ds64.f_bavail == (fsblkcnt64_t)-1) in cstatvfs32() 114 if (ds64.f_bfree == (fsblkcnt64_t)-1) in cstatvfs32()
|
H A D | utssys.c | 152 fsblkcnt64_t fsbc64; in utssys_ustat32() 227 fsblkcnt64_t fsbc64; in uts_ustat64()
|
/titanic_44/usr/src/uts/common/fs/autofs/ |
H A D | auto_vfsops.c | 815 sbp->f_blocks = (fsblkcnt64_t)0; in auto_statvfs() 816 sbp->f_bfree = (fsblkcnt64_t)0; in auto_statvfs() 817 sbp->f_bavail = (fsblkcnt64_t)0; in auto_statvfs()
|
/titanic_44/usr/src/uts/common/fs/nfs/ |
H A D | nfs3_vfsops.c | 1553 sbp->f_blocks = (fsblkcnt64_t)res.resok.tbytes; in nfs3_statvfs() 1555 sbp->f_blocks = (fsblkcnt64_t) in nfs3_statvfs() 1559 sbp->f_bfree = (fsblkcnt64_t)res.resok.fbytes; in nfs3_statvfs() 1561 sbp->f_bfree = (fsblkcnt64_t) in nfs3_statvfs() 1565 sbp->f_bavail = (fsblkcnt64_t)res.resok.abytes; in nfs3_statvfs() 1567 sbp->f_bavail = (fsblkcnt64_t) in nfs3_statvfs()
|
H A D | nfs_vfsops.c | 1534 sbp->f_blocks = (fsblkcnt64_t)fs.fs_blocks; in nfs_statvfs() 1535 sbp->f_bfree = (fsblkcnt64_t)fs.fs_bfree; in nfs_statvfs() 1566 sbp->f_bavail = (fsblkcnt64_t)fs.fs_bavail; in nfs_statvfs() 1569 (fsblkcnt64_t)((long)fs.fs_bavail); in nfs_statvfs()
|
H A D | nfs4_srv_readdir.c | 322 if (sb.f_bavail != (fsblkcnt64_t)-1) { in rfs4_get_sb_encode() 332 if (sb.f_bfree != (fsblkcnt64_t)-1) { in rfs4_get_sb_encode() 342 if (sb.f_blocks != (fsblkcnt64_t)-1) { in rfs4_get_sb_encode()
|
H A D | nfs4_srv_attr.c | 2350 if (sarg->sbp->f_bavail != (fsblkcnt64_t)-1) { in rfs4_fattr4_space_avail() 2397 if (sarg->sbp->f_bfree != (fsblkcnt64_t)-1) { in rfs4_fattr4_space_free() 2444 if (sarg->sbp->f_blocks != (fsblkcnt64_t)-1) { in rfs4_fattr4_space_total()
|
/titanic_44/usr/src/uts/common/fs/doorfs/ |
H A D | door_vnops.c | 168 vap->va_nblocks = (fsblkcnt64_t)0; /* # of blocks allocated */ in door_getattr()
|
/titanic_44/usr/src/uts/common/fs/portfs/ |
H A D | port_vnops.c | 334 vap->va_nblocks = (fsblkcnt64_t)0; /* # of blocks allocated */ in port_getattr()
|
/titanic_44/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_vfsops.c | 454 sbp->f_blocks = (fsblkcnt64_t)fsp->hsfs_vol.vol_size; in hsfs_statvfs() 456 sbp->f_bfree = (fsblkcnt64_t)0; in hsfs_statvfs() 457 sbp->f_bavail = (fsblkcnt64_t)0; in hsfs_statvfs()
|
/titanic_44/usr/src/uts/common/fs/ufs/ |
H A D | ufs_vfsops.c | 1812 sp->f_blocks = (fsblkcnt64_t)fsp->fs_dsize; in ufs_statvfs() 1813 sp->f_bfree = (fsblkcnt64_t)fsp->fs_cstotal.cs_nbfree * fsp->fs_frag + in ufs_statvfs() 1839 sp->f_bavail = (fsblkcnt64_t)max_avail - used; in ufs_statvfs() 1841 sp->f_bavail = (fsblkcnt64_t)0; in ufs_statvfs()
|
/titanic_44/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_fsinfo.c | 102 fsblkcnt64_t total_blocks, free_blocks; in smb_com_query_information_disk()
|
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_client.c | 507 vap->va_nblocks = (fsblkcnt64_t)btod(np->r_attr.fa_allocsz); in smbfattr_to_vattr()
|
/titanic_44/usr/src/uts/common/fs/cachefs/ |
H A D | cachefs_ioctl.c | 922 fsblkcnt64_t avail = 0; in cachefs_io_getstats() 923 fsblkcnt64_t blocks; in cachefs_io_getstats() 930 blocks = (fsblkcnt64_t)(cachep->c_label.cl_maxblks - in cachefs_io_getstats() 933 blocks = (fsblkcnt64_t)0; in cachefs_io_getstats()
|
H A D | cachefs_resource.c | 741 fsblkcnt64_t blocklowat, blocklowatmax, maxblks, threshblks; in cachefs_garbage_collect() 785 if ((blocklowatmax = ((fsblkcnt64_t)cup->cu_blksused * 7) / 10) < in cachefs_garbage_collect()
|
/titanic_44/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_vfsops.c | 587 sbp->f_blocks = (fsblkcnt64_t)(sbp->f_bfree + tm->tm_anonmem); in tmp_statvfs()
|
/titanic_44/usr/src/uts/common/fs/fifofs/ |
H A D | fifovnops.c | 1503 vap->va_nblocks = (fsblkcnt64_t)btod(vap->va_size); in fifo_getattr() 1506 vap->va_nblocks = (fsblkcnt64_t)0; in fifo_getattr()
|