Lines Matching refs:sc_free
171 sc->sc_free = be64_to_cpu(str->sc_free); in gfs2_statfs_change_in()
180 str->sc_free = cpu_to_be64(sc->sc_free); in gfs2_statfs_change_out()
249 l_sc->sc_free += free; in gfs2_statfs_change()
253 x = 100 * l_sc->sc_free; in gfs2_statfs_change()
254 y = m_sc->sc_free * sdp->sd_args.ar_statfs_percent; in gfs2_statfs_change()
278 m_sc->sc_free += l_sc->sc_free; in update_statfs()
311 if (!l_sc->sc_total && !l_sc->sc_free && !l_sc->sc_dinodes) { in gfs2_statfs_sync()
794 sc->sc_free += rgd->rd_free; in statfs_slow_fill()
894 sc->sc_free += l_sc->sc_free; in gfs2_statfs_i()
899 if (sc->sc_free < 0) in gfs2_statfs_i()
900 sc->sc_free = 0; in gfs2_statfs_i()
901 if (sc->sc_free > sc->sc_total) in gfs2_statfs_i()
902 sc->sc_free = sc->sc_total; in gfs2_statfs_i()
939 buf->f_bfree = sc.sc_free; in gfs2_statfs()
940 buf->f_bavail = sc.sc_free; in gfs2_statfs()
941 buf->f_files = sc.sc_dinodes + sc.sc_free; in gfs2_statfs()
942 buf->f_ffree = sc.sc_free; in gfs2_statfs()