Searched refs:sb_bsize (Results 1 – 15 of 15) sorted by relevance
170 if (sb->sb_bsize < 512 || sb->sb_bsize > PAGE_SIZE || in gfs2_check_sb()171 (sb->sb_bsize & (sb->sb_bsize - 1))) { in gfs2_check_sb()175 if (sb->sb_bsize_shift != ffs(sb->sb_bsize) - 1) { in gfs2_check_sb()204 sb->sb_bsize = be32_to_cpu(str->sb_bsize); in gfs2_sb_in()296 sdp->sd_diptrs = (sdp->sd_sb.sb_bsize - in gfs2_read_sb()298 sdp->sd_inptrs = (sdp->sd_sb.sb_bsize - in gfs2_read_sb()300 sdp->sd_jbsize = sdp->sd_sb.sb_bsize - sizeof(struct gfs2_meta_header); in gfs2_read_sb()301 sdp->sd_hash_bsize = sdp->sd_sb.sb_bsize / 2; in gfs2_read_sb()304 sdp->sd_qc_per_block = (sdp->sd_sb.sb_bsize - in gfs2_read_sb()307 sdp->sd_blocks_per_bitmap = (sdp->sd_sb.sb_bsize - in gfs2_read_sb()[all …]
40 limit = (sdp->sd_sb.sb_bsize - BUF_OFFSET) / sizeof(__be64); in buf_limit()48 limit = (sdp->sd_sb.sb_bsize - DATABUF_OFFSET) / (2 * sizeof(__be64)); in databuf_limit()
65 change *= (GFS2_SB(inode)->sd_sb.sb_bsize/GFS2_BASIC_BLOCK); in gfs2_add_inode_blocks()
347 size_t blks = (size + sdp->sd_sb.sb_bsize - 1) >> sdp->sd_sb.sb_bsize_shift; in gfs2_size_hint()947 loff_t bsize_mask = ~((loff_t)sdp->sd_sb.sb_bsize - 1); in __gfs2_fallocate()956 bytes = sdp->sd_max_rg_data * sdp->sd_sb.sb_bsize / 2; in __gfs2_fallocate()961 bytes = sdp->sd_sb.sb_bsize; in __gfs2_fallocate()1019 PAGE_SIZE/sdp->sd_sb.sb_bsize); in __gfs2_fallocate()
56 first = (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_log_descriptor)) / ssize; in gfs2_struct2blk()59 second = (sdp->sd_sb.sb_bsize - in gfs2_struct2blk()629 int max_revokes = (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_log_descriptor)) / sizeof(u64); in gfs2_write_revokes()646 max_revokes += (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_meta_header)) / sizeof(u64); in gfs2_write_revokes()
649 u32 sb_bsize; member881 return GFS2_SB(&ip->i_inode)->sd_sb.sb_bsize - sizeof(struct gfs2_dinode); in gfs2_max_stuffed_size()
120 …unsigned int max_revokes = (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_log_descriptor)) / sizeof(u64… in gfs2_ail_flush()127 max_revokes += (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_meta_header)) / sizeof(u64); in gfs2_ail_flush()
194 if (amount > sdp->sd_sb.sb_bsize - o) in gfs2_dir_write_data()195 amount = sdp->sd_sb.sb_bsize - o; in gfs2_dir_write_data()298 if (amount > sdp->sd_sb.sb_bsize - o) in gfs2_dir_read_data()299 amount = sdp->sd_sb.sb_bsize - o; in gfs2_dir_read_data()981 i_size_write(inode, sdp->sd_sb.sb_bsize / 2); in dir_make_exhash()
635 if (offset + sizeof(u64) > sdp->sd_sb.sb_bsize) { in revoke_lo_before_commit()706 while (offset + sizeof(u64) <= sdp->sd_sb.sb_bsize) { in revoke_lo_scan_elements()
145 create_empty_buffers(page, sdp->sd_sb.sb_bsize, 0); in gfs2_getbuf()
797 bytes = sdp->sd_sb.sb_bsize - sizeof(struct gfs2_rgrp); in compute_bitstructs()811 bytes = sdp->sd_sb.sb_bsize - in compute_bitstructs()901 const unsigned bsize = sdp->sd_sb.sb_bsize; in read_rindex_entry()1410 minlen = max_t(u64, r.minlen, sdp->sd_sb.sb_bsize); in gfs2_fitrim()
903 while ((lblock + 1) * sdp->sd_sb.sb_bsize > sdp->sd_heightsize[height]) in gfs2_iomap_get()2355 end_of_file = (i_size_read(&ip->i_inode) + sdp->sd_sb.sb_bsize - 1) >> shift; in gfs2_write_alloc_required()2357 lblock_stop = (offset + len + sdp->sd_sb.sb_bsize - 1) >> shift; in gfs2_write_alloc_required()
1218 buf->f_bsize = sdp->sd_sb.sb_bsize; in gfs2_statfs()
700 unsigned bsize = sdp->sd_sb.sb_bsize, bnum = 0, boff = 0; in gfs2_write_buf_to_page()
120 __be32 sb_bsize; member