Home
last modified time | relevance | path

Searched refs:sb_bsize_shift (Results 1 – 12 of 12) sorted by relevance

/fs/gfs2/
Dinode.h48 (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()
Dquota.c701 blk = index << (PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift); in gfs2_write_buf_to_page()
839 q.qu_warn = cpu_to_be64(fdq->d_spc_softlimit >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota()
843 q.qu_limit = cpu_to_be64(fdq->d_spc_hardlimit >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota()
847 q.qu_value = cpu_to_be64(fdq->d_space >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota()
1340 unsigned int blocks = size >> sdp->sd_sb.sb_bsize_shift; in gfs2_quota_init()
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()
1696 ((fdq->d_spc_softlimit >> sdp->sd_sb.sb_bsize_shift) == be64_to_cpu(qd->qd_qb.qb_warn))) in gfs2_set_dqblk()
1700 ((fdq->d_spc_hardlimit >> sdp->sd_sb.sb_bsize_shift) == be64_to_cpu(qd->qd_qb.qb_limit))) in gfs2_set_dqblk()
[all …]
Dacl.h12 #define GFS2_ACL_MAX_ENTRIES(sdp) ((300 << (sdp)->sd_sb.sb_bsize_shift) >> 12)
Dbmap.h37 *data_blocks = (len >> sdp->sd_sb.sb_bsize_shift) + 3; in gfs2_write_calc_reserv()
Dops_fstype.c206 sb->sb_bsize_shift = be32_to_cpu(str->sb_bsize_shift); in gfs2_sb_in()
294 sdp->sd_fsb2bb_shift = sdp->sd_sb.sb_bsize_shift - in gfs2_read_sb()
303 sdp->sd_hash_bsize_shift = sdp->sd_sb.sb_bsize_shift - 1; in gfs2_read_sb()
1081 sdp->sd_sb.sb_bsize_shift = sb->s_blocksize_bits; in gfs2_fill_super()
1082 sdp->sd_fsb2bb_shift = sdp->sd_sb.sb_bsize_shift - in gfs2_fill_super()
Dmeta_io.c123 shift = PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift; in gfs2_getbuf()
439 sdp->sd_sb.sb_bsize_shift; in gfs2_meta_ra()
Dfile.c400 size_t blks = (size + sdp->sd_sb.sb_bsize - 1) >> sdp->sd_sb.sb_bsize_shift; in gfs2_size_hint()
989 *len = ((loff_t)max_data - 3) << sdp->sd_sb.sb_bsize_shift; in calc_max_reserv()
1008 loff_t next = (offset + len - 1) >> sdp->sd_sb.sb_bsize_shift; in __gfs2_fallocate()
1011 next = (next + 1) << sdp->sd_sb.sb_bsize_shift; in __gfs2_fallocate()
Dincore.h645 u32 sb_bsize_shift; member
Dbmap.c1757 unsigned int bsize_shift = sdp->sd_sb.sb_bsize_shift; in punch_hole()
2290 unsigned int shift = sdp->sd_sb.sb_bsize_shift; in gfs2_map_journal_extents()
2359 shift = sdp->sd_sb.sb_bsize_shift; in gfs2_write_alloc_required()
Dlops.c491 unsigned int bsize_shift = sdp->sd_sb.sb_bsize_shift; in gfs2_find_jhead()
Dsuper.c111 jd->jd_blocks = size >> sdp->sd_sb.sb_bsize_shift; in gfs2_jdesc_check()
Drgrp.c1408 unsigned bs_shift = sdp->sd_sb.sb_bsize_shift; in gfs2_fitrim()