Lines Matching refs:sc_free
456 sc->sc_free = be64_to_cpu(str->sc_free); in gfs2_statfs_change_in()
465 str->sc_free = cpu_to_be64(sc->sc_free); in gfs2_statfs_change_out()
534 l_sc->sc_free += free; in gfs2_statfs_change()
538 x = 100 * l_sc->sc_free; in gfs2_statfs_change()
539 y = m_sc->sc_free * sdp->sd_args.ar_statfs_percent; in gfs2_statfs_change()
562 m_sc->sc_free += l_sc->sc_free; in update_statfs()
597 if (!l_sc->sc_total && !l_sc->sc_free && !l_sc->sc_dinodes) { in gfs2_statfs_sync()
1054 sc->sc_free += rgd->rd_free; in statfs_slow_fill()
1149 sc->sc_free += l_sc->sc_free; in gfs2_statfs_i()
1154 if (sc->sc_free < 0) in gfs2_statfs_i()
1155 sc->sc_free = 0; in gfs2_statfs_i()
1156 if (sc->sc_free > sc->sc_total) in gfs2_statfs_i()
1157 sc->sc_free = sc->sc_total; in gfs2_statfs_i()
1194 buf->f_bfree = sc.sc_free; in gfs2_statfs()
1195 buf->f_bavail = sc.sc_free; in gfs2_statfs()
1196 buf->f_files = sc.sc_dinodes + sc.sc_free; in gfs2_statfs()
1197 buf->f_ffree = sc.sc_free; in gfs2_statfs()