Lines Matching refs:sc_free
466 sc->sc_free = be64_to_cpu(str->sc_free); in gfs2_statfs_change_in()
475 str->sc_free = cpu_to_be64(sc->sc_free); in gfs2_statfs_change_out()
544 l_sc->sc_free += free; in gfs2_statfs_change()
548 x = 100 * l_sc->sc_free; in gfs2_statfs_change()
549 y = m_sc->sc_free * sdp->sd_args.ar_statfs_percent; in gfs2_statfs_change()
573 m_sc->sc_free += l_sc->sc_free; in update_statfs()
606 if (!l_sc->sc_total && !l_sc->sc_free && !l_sc->sc_dinodes) { in gfs2_statfs_sync()
1072 sc->sc_free += rgd->rd_free; in statfs_slow_fill()
1172 sc->sc_free += l_sc->sc_free; in gfs2_statfs_i()
1177 if (sc->sc_free < 0) in gfs2_statfs_i()
1178 sc->sc_free = 0; in gfs2_statfs_i()
1179 if (sc->sc_free > sc->sc_total) in gfs2_statfs_i()
1180 sc->sc_free = sc->sc_total; in gfs2_statfs_i()
1217 buf->f_bfree = sc.sc_free; in gfs2_statfs()
1218 buf->f_bavail = sc.sc_free; in gfs2_statfs()
1219 buf->f_files = sc.sc_dinodes + sc.sc_free; in gfs2_statfs()
1220 buf->f_ffree = sc.sc_free; in gfs2_statfs()