Lines Matching refs:sc_free
175 sc->sc_free = be64_to_cpu(str->sc_free); in gfs2_statfs_change_in()
184 str->sc_free = cpu_to_be64(sc->sc_free); in gfs2_statfs_change_out()
253 l_sc->sc_free += free; in gfs2_statfs_change()
257 x = 100 * l_sc->sc_free; in gfs2_statfs_change()
258 y = m_sc->sc_free * sdp->sd_args.ar_statfs_percent; in gfs2_statfs_change()
282 m_sc->sc_free += l_sc->sc_free; in update_statfs()
315 if (!l_sc->sc_total && !l_sc->sc_free && !l_sc->sc_dinodes) { in gfs2_statfs_sync()
798 sc->sc_free += rgd->rd_free; in statfs_slow_fill()
898 sc->sc_free += l_sc->sc_free; in gfs2_statfs_i()
903 if (sc->sc_free < 0) in gfs2_statfs_i()
904 sc->sc_free = 0; in gfs2_statfs_i()
905 if (sc->sc_free > sc->sc_total) in gfs2_statfs_i()
906 sc->sc_free = sc->sc_total; in gfs2_statfs_i()
943 buf->f_bfree = sc.sc_free; in gfs2_statfs()
944 buf->f_bavail = sc.sc_free; in gfs2_statfs()
945 buf->f_files = sc.sc_dinodes + sc.sc_free; in gfs2_statfs()
946 buf->f_ffree = sc.sc_free; in gfs2_statfs()