Home
last modified time | relevance | path

Searched refs:sb_bsize (Results 1 – 14 of 14) sorted by relevance

/fs/gfs2/
Dops_fstype.c179 sb->sb_bsize = be32_to_cpu(str->sb_bsize); in gfs2_sb_in()
270 sdp->sd_diptrs = (sdp->sd_sb.sb_bsize - in gfs2_read_sb()
272 sdp->sd_inptrs = (sdp->sd_sb.sb_bsize - in gfs2_read_sb()
274 sdp->sd_jbsize = sdp->sd_sb.sb_bsize - sizeof(struct gfs2_meta_header); in gfs2_read_sb()
275 sdp->sd_hash_bsize = sdp->sd_sb.sb_bsize / 2; in gfs2_read_sb()
278 sdp->sd_qc_per_block = (sdp->sd_sb.sb_bsize - in gfs2_read_sb()
297 sdp->sd_heightsize[0] = sdp->sd_sb.sb_bsize - in gfs2_read_sb()
299 sdp->sd_heightsize[1] = sdp->sd_sb.sb_bsize * sdp->sd_diptrs; in gfs2_read_sb()
316 sdp->sd_jheightsize[0] = sdp->sd_sb.sb_bsize - in gfs2_read_sb()
469 if (sdp->sd_sb.sb_bsize < bdev_logical_block_size(sb->s_bdev)) { in init_sb()
[all …]
Dlops.h35 limit = (sdp->sd_sb.sb_bsize - BUF_OFFSET) / sizeof(__be64); in buf_limit()
43 limit = (sdp->sd_sb.sb_bsize - DATABUF_OFFSET) / (2 * sizeof(__be64)); in databuf_limit()
Dfile.c758 loff_t bsize_mask = ~((loff_t)sdp->sd_sb.sb_bsize - 1); in gfs2_fallocate()
770 bytes = sdp->sd_max_rg_data * sdp->sd_sb.sb_bsize / 2; in gfs2_fallocate()
775 bytes = sdp->sd_sb.sb_bsize; in gfs2_fallocate()
805 if (error == -ENOSPC && bytes > sdp->sd_sb.sb_bsize) { in gfs2_fallocate()
809 bytes = sdp->sd_sb.sb_bsize; in gfs2_fallocate()
824 PAGE_CACHE_SIZE/sdp->sd_sb.sb_bsize); in gfs2_fallocate()
Dbmap.c606 unsigned int bsize = sdp->sd_sb.sb_bsize; in gfs2_block_map()
1014 if (newsize & (u64)(sdp->sd_sb.sb_bsize - 1)) { in trunc_start()
1174 (size > (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_dinode)))) { in do_grow()
1290 sdp->sd_sb.sb_bsize - sizeof(struct gfs2_dinode)) in gfs2_write_alloc_required()
1297 end_of_file = (i_size_read(&ip->i_inode) + sdp->sd_sb.sb_bsize - 1) >> shift; in gfs2_write_alloc_required()
1299 lblock_stop = (offset + len + sdp->sd_sb.sb_bsize - 1) >> shift; in gfs2_write_alloc_required()
Dinode.h68 change *= (GFS2_SB(inode)->sd_sb.sb_bsize/GFS2_BASIC_BLOCK); in gfs2_add_inode_blocks()
Ddir.c169 offset + size <= sdp->sd_sb.sb_bsize - sizeof(struct gfs2_dinode)) in gfs2_dir_write_data()
190 if (amount > sdp->sd_sb.sb_bsize - o) in gfs2_dir_write_data()
191 amount = sdp->sd_sb.sb_bsize - o; in gfs2_dir_write_data()
294 if (amount > sdp->sd_sb.sb_bsize - o) in gfs2_dir_read_data()
295 amount = sdp->sd_sb.sb_bsize - o; in gfs2_dir_read_data()
927 i_size_write(inode, sdp->sd_sb.sb_bsize / 2); in dir_make_exhash()
Dlops.c229 bh->b_size = sdp->sd_sb.sb_bsize; in gfs2_log_fake_buf()
472 if (offset + sizeof(u64) > sdp->sd_sb.sb_bsize) { in revoke_lo_before_commit()
545 while (offset + sizeof(u64) <= sdp->sd_sb.sb_bsize) { in revoke_lo_scan_elements()
Dlog.c56 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()
Dmeta_io.c155 create_empty_buffers(page, sdp->sd_sb.sb_bsize, 0); in gfs2_getbuf()
Drgrp.c491 bytes = sdp->sd_sb.sb_bsize - sizeof(struct gfs2_rgrp); in compute_bitstructs()
503 bytes = sdp->sd_sb.sb_bsize - in compute_bitstructs()
827 const unsigned int sects_per_blk = sdp->sd_sb.sb_bsize / in gfs2_rgrp_send_discards()
Daops.c668 PAGE_CACHE_SIZE/sdp->sd_sb.sb_bsize); in gfs2_write_begin()
681 if (pos + len > sdp->sd_sb.sb_bsize - sizeof(struct gfs2_dinode)) { in gfs2_write_begin()
Dincore.h537 u32 sb_bsize; member
Dinode.c500 di->di_size = cpu_to_be64(sdp->sd_sb.sb_bsize - sizeof(struct gfs2_dinode)); in init_dinode()
1121 if (size > sdp->sd_sb.sb_bsize - sizeof(struct gfs2_dinode) - 1) in gfs2_symlink()
Dsuper.c1158 buf->f_bsize = sdp->sd_sb.sb_bsize; in gfs2_statfs()