Searched refs:sb_bsize_shift (Results 1 – 13 of 13) sorted by relevance
48 (GFS2_SB(inode)->sd_sb.sb_bsize_shift - GFS2_BASIC_BLOCK_SHIFT); in gfs2_set_inode_blocks()54 (GFS2_SB(inode)->sd_sb.sb_bsize_shift - GFS2_BASIC_BLOCK_SHIFT); in gfs2_get_inode_blocks()
12 #define GFS2_ACL_MAX_ENTRIES(sdp) ((300 << (sdp)->sd_sb.sb_bsize_shift) >> 12)
745 blk = index << (PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift); in gfs2_write_buf_to_page()871 q.qu_warn = cpu_to_be64(fdq->d_spc_softlimit >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota()875 q.qu_limit = cpu_to_be64(fdq->d_spc_hardlimit >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota()879 q.qu_value = cpu_to_be64(fdq->d_space >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota()1382 unsigned int blocks = size >> sdp->sd_sb.sb_bsize_shift; in gfs2_quota_init()1657 fdq->d_spc_hardlimit = be64_to_cpu(qlvb->qb_limit) << sdp->sd_sb.sb_bsize_shift; in gfs2_get_dqblk()1658 fdq->d_spc_softlimit = be64_to_cpu(qlvb->qb_warn) << sdp->sd_sb.sb_bsize_shift; in gfs2_get_dqblk()1659 fdq->d_space = be64_to_cpu(qlvb->qb_value) << sdp->sd_sb.sb_bsize_shift; in gfs2_get_dqblk()1716 ((fdq->d_spc_softlimit >> sdp->sd_sb.sb_bsize_shift) == be64_to_cpu(qd->qd_qb.qb_warn))) in gfs2_set_dqblk()1720 ((fdq->d_spc_hardlimit >> sdp->sd_sb.sb_bsize_shift) == be64_to_cpu(qd->qd_qb.qb_limit))) in gfs2_set_dqblk()[all …]
127 shift = PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift; in gfs2_getbuf()410 unsigned int shift = PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift; in gfs2_getjdatabuf()521 sdp->sd_sb.sb_bsize_shift; in gfs2_meta_ra()
37 *data_blocks = (len >> sdp->sd_sb.sb_bsize_shift) + 3; in gfs2_write_calc_reserv()
180 if (sb->sb_bsize_shift != ffs(sb->sb_bsize) - 1) { in gfs2_check_sb()209 sb->sb_bsize_shift = be32_to_cpu(str->sb_bsize_shift); in gfs2_sb_in()295 sdp->sd_fsb2bb_shift = sdp->sd_sb.sb_bsize_shift - in gfs2_read_sb()306 sdp->sd_hash_bsize_shift = sdp->sd_sb.sb_bsize_shift - 1; in gfs2_read_sb()1194 sdp->sd_sb.sb_bsize_shift = sb->s_blocksize_bits; in gfs2_fill_super()1195 sdp->sd_fsb2bb_shift = sdp->sd_sb.sb_bsize_shift - in gfs2_fill_super()
371 size_t blks = (size + sdp->sd_sb.sb_bsize - 1) >> sdp->sd_sb.sb_bsize_shift; in gfs2_size_hint()1236 *len = ((loff_t)max_data - 3) << sdp->sd_sb.sb_bsize_shift; in calc_max_reserv()1255 loff_t next = (offset + len - 1) >> sdp->sd_sb.sb_bsize_shift; in __gfs2_fallocate()1258 next = (next + 1) << sdp->sd_sb.sb_bsize_shift; in __gfs2_fallocate()
629 u32 sb_bsize_shift; member
1717 unsigned int bsize_shift = sdp->sd_sb.sb_bsize_shift; in punch_hole()2243 unsigned int shift = sdp->sd_sb.sb_bsize_shift; in gfs2_map_journal_extents()2312 shift = sdp->sd_sb.sb_bsize_shift; in gfs2_write_alloc_required()
518 unsigned int bsize_shift = sdp->sd_sb.sb_bsize_shift; in gfs2_find_jhead()
112 jd->jd_blocks = size >> sdp->sd_sb.sb_bsize_shift; in gfs2_jdesc_check()
1399 unsigned bs_shift = sdp->sd_sb.sb_bsize_shift; in gfs2_fitrim()
121 __be32 sb_bsize_shift; member