Lines Matching refs:sc_free
168 sc->sc_free = be64_to_cpu(str->sc_free); in gfs2_statfs_change_in()
177 str->sc_free = cpu_to_be64(sc->sc_free); in gfs2_statfs_change_out()
233 l_sc->sc_free += free; in gfs2_statfs_change()
238 x = 100 * l_sc->sc_free; in gfs2_statfs_change()
239 y = m_sc->sc_free * sdp->sd_args.ar_statfs_percent; in gfs2_statfs_change()
261 m_sc->sc_free += l_sc->sc_free; in update_statfs()
292 if (!l_sc->sc_total && !l_sc->sc_free && !l_sc->sc_dinodes) { in gfs2_statfs_sync()
859 sc->sc_free += rgd->rd_free; in statfs_slow_fill()
959 sc->sc_free += l_sc->sc_free; in gfs2_statfs_i()
964 if (sc->sc_free < 0) in gfs2_statfs_i()
965 sc->sc_free = 0; in gfs2_statfs_i()
966 if (sc->sc_free > sc->sc_total) in gfs2_statfs_i()
967 sc->sc_free = sc->sc_total; in gfs2_statfs_i()
1004 buf->f_bfree = sc.sc_free; in gfs2_statfs()
1005 buf->f_bavail = sc.sc_free; in gfs2_statfs()
1006 buf->f_files = sc.sc_dinodes + sc.sc_free; in gfs2_statfs()
1007 buf->f_ffree = sc.sc_free; in gfs2_statfs()