Home
last modified time | relevance | path

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

/linux/fs/gfs2/
A 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()
A Dquota.c708 blk = index << (PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift); in gfs2_write_buf_to_page()
846 q.qu_warn = cpu_to_be64(fdq->d_spc_softlimit >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota()
850 q.qu_limit = cpu_to_be64(fdq->d_spc_hardlimit >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota()
854 q.qu_value = cpu_to_be64(fdq->d_space >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota()
1349 unsigned int blocks = size >> sdp->sd_sb.sb_bsize_shift; in gfs2_quota_init()
1649 fdq->d_spc_hardlimit = be64_to_cpu(qlvb->qb_limit) << sdp->sd_sb.sb_bsize_shift; in gfs2_get_dqblk()
1650 fdq->d_spc_softlimit = be64_to_cpu(qlvb->qb_warn) << sdp->sd_sb.sb_bsize_shift; in gfs2_get_dqblk()
1651 fdq->d_space = be64_to_cpu(qlvb->qb_value) << sdp->sd_sb.sb_bsize_shift; in gfs2_get_dqblk()
1708 ((fdq->d_spc_softlimit >> sdp->sd_sb.sb_bsize_shift) == be64_to_cpu(qd->qd_qb.qb_warn))) in gfs2_set_dqblk()
1712 ((fdq->d_spc_hardlimit >> sdp->sd_sb.sb_bsize_shift) == be64_to_cpu(qd->qd_qb.qb_limit))) in gfs2_set_dqblk()
[all …]
A Dacl.h12 #define GFS2_ACL_MAX_ENTRIES(sdp) ((300 << (sdp)->sd_sb.sb_bsize_shift) >> 12)
A Dmeta_io.c125 shift = PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift; in gfs2_getbuf()
411 unsigned int shift = PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift; in gfs2_getjdatabuf()
516 sdp->sd_sb.sb_bsize_shift; in gfs2_meta_ra()
A Dbmap.h37 *data_blocks = (len >> sdp->sd_sb.sb_bsize_shift) + 3; in gfs2_write_calc_reserv()
A Dops_fstype.c209 sb->sb_bsize_shift = be32_to_cpu(str->sb_bsize_shift); in gfs2_sb_in()
297 sdp->sd_fsb2bb_shift = sdp->sd_sb.sb_bsize_shift - in gfs2_read_sb()
308 sdp->sd_hash_bsize_shift = sdp->sd_sb.sb_bsize_shift - 1; in gfs2_read_sb()
1176 sdp->sd_sb.sb_bsize_shift = sb->s_blocksize_bits; in gfs2_fill_super()
1177 sdp->sd_fsb2bb_shift = sdp->sd_sb.sb_bsize_shift - in gfs2_fill_super()
A Dfile.c370 size_t blks = (size + sdp->sd_sb.sb_bsize - 1) >> sdp->sd_sb.sb_bsize_shift; in gfs2_size_hint()
1239 *len = ((loff_t)max_data - 3) << sdp->sd_sb.sb_bsize_shift; in calc_max_reserv()
1258 loff_t next = (offset + len - 1) >> sdp->sd_sb.sb_bsize_shift; in __gfs2_fallocate()
1261 next = (next + 1) << sdp->sd_sb.sb_bsize_shift; in __gfs2_fallocate()
A Dincore.h631 u32 sb_bsize_shift; member
A Dbmap.c1710 unsigned int bsize_shift = sdp->sd_sb.sb_bsize_shift; in punch_hole()
2244 unsigned int shift = sdp->sd_sb.sb_bsize_shift; in gfs2_map_journal_extents()
2313 shift = sdp->sd_sb.sb_bsize_shift; in gfs2_write_alloc_required()
A Dlops.c520 unsigned int bsize_shift = sdp->sd_sb.sb_bsize_shift; in gfs2_find_jhead()
A Dsuper.c112 jd->jd_blocks = size >> sdp->sd_sb.sb_bsize_shift; in gfs2_jdesc_check()
A Drgrp.c1398 unsigned bs_shift = sdp->sd_sb.sb_bsize_shift; in gfs2_fitrim()
/linux/include/uapi/linux/
A Dgfs2_ondisk.h121 __be32 sb_bsize_shift; member

Completed in 35 milliseconds