Lines Matching refs:qlvb
967 struct gfs2_quota_lvb *qlvb; in update_qd() local
977 qlvb = (struct gfs2_quota_lvb *)qd->qd_gl->gl_lksb.sb_lvbptr; in update_qd()
978 qlvb->qb_magic = cpu_to_be32(GFS2_MAGIC); in update_qd()
979 qlvb->__pad = 0; in update_qd()
980 qlvb->qb_limit = q.qu_limit; in update_qd()
981 qlvb->qb_warn = q.qu_warn; in update_qd()
982 qlvb->qb_value = q.qu_value; in update_qd()
983 qd->qd_qb = *qlvb; in update_qd()
1615 struct gfs2_quota_lvb *qlvb; in gfs2_get_dqblk() local
1636 qlvb = (struct gfs2_quota_lvb *)qd->qd_gl->gl_lksb.sb_lvbptr; in gfs2_get_dqblk()
1637 fdq->d_spc_hardlimit = be64_to_cpu(qlvb->qb_limit) << sdp->sd_sb.sb_bsize_shift; in gfs2_get_dqblk()
1638 fdq->d_spc_softlimit = be64_to_cpu(qlvb->qb_warn) << sdp->sd_sb.sb_bsize_shift; in gfs2_get_dqblk()
1639 fdq->d_space = be64_to_cpu(qlvb->qb_value) << sdp->sd_sb.sb_bsize_shift; in gfs2_get_dqblk()