Home
last modified time | relevance | path

Searched refs:fsblkcnt64_t (Results 1 – 25 of 33) sorted by relevance

12

/titanic_44/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c100 ((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 Dstatvfs.h102 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 Dtypes.h175 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 Ddf.c1181 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 Dmntvfsops.c287 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 Dprvfsops.c311 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 Dtypes.h198 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 Dfdops.c185 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 Dstatvfs.c112 if (ds64.f_bavail == (fsblkcnt64_t)-1) in cstatvfs32()
114 if (ds64.f_bfree == (fsblkcnt64_t)-1) in cstatvfs32()
H A Dutssys.c152 fsblkcnt64_t fsbc64; in utssys_ustat32()
227 fsblkcnt64_t fsbc64; in uts_ustat64()
/titanic_44/usr/src/uts/common/fs/autofs/
H A Dauto_vfsops.c815 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 Dnfs3_vfsops.c1553 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 Dnfs_vfsops.c1534 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 Dnfs4_srv_readdir.c322 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 Dnfs4_srv_attr.c2350 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 Ddoor_vnops.c168 vap->va_nblocks = (fsblkcnt64_t)0; /* # of blocks allocated */ in door_getattr()
/titanic_44/usr/src/uts/common/fs/portfs/
H A Dport_vnops.c334 vap->va_nblocks = (fsblkcnt64_t)0; /* # of blocks allocated */ in port_getattr()
/titanic_44/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vfsops.c454 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 Dufs_vfsops.c1812 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 Dsmb_fsinfo.c102 fsblkcnt64_t total_blocks, free_blocks; in smb_com_query_information_disk()
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_client.c507 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 Dcachefs_ioctl.c922 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 Dcachefs_resource.c741 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 Dtmp_vfsops.c587 sbp->f_blocks = (fsblkcnt64_t)(sbp->f_bfree + tm->tm_anonmem); in tmp_statvfs()
/titanic_44/usr/src/uts/common/fs/fifofs/
H A Dfifovnops.c1503 vap->va_nblocks = (fsblkcnt64_t)btod(vap->va_size); in fifo_getattr()
1506 vap->va_nblocks = (fsblkcnt64_t)0; in fifo_getattr()

12