Lines Matching refs:sd_jbsize
39 unsigned int jbsize = sdp->sd_jbsize; in ea_calc_size()
64 if (size > sdp->sd_jbsize) in ea_check_size()
459 unsigned int nptrs = DIV_ROUND_UP(amount, sdp->sd_jbsize); in gfs2_iter_unstuffed()
496 cp_size = (sdp->sd_jbsize > amount) ? amount : sdp->sd_jbsize; in gfs2_iter_unstuffed()
500 dout += sdp->sd_jbsize; in gfs2_iter_unstuffed()
506 din += sdp->sd_jbsize; in gfs2_iter_unstuffed()
509 amount -= sdp->sd_jbsize; in gfs2_iter_unstuffed()
652 ea->ea_rec_len = cpu_to_be32(sdp->sd_jbsize); in ea_alloc_blk()
687 if (GFS2_EAREQ_SIZE_STUFFED(er) <= sdp->sd_jbsize) { in ea_write()
697 ea->ea_num_ptrs = DIV_ROUND_UP(er->er_data_len, sdp->sd_jbsize); in ea_write()
714 copy = data_len > sdp->sd_jbsize ? sdp->sd_jbsize : in ea_write()
717 if (copy < sdp->sd_jbsize) in ea_write()
719 sdp->sd_jbsize - copy); in ea_write()
805 unsigned int jbsize = GFS2_SB(&ip->i_inode)->sd_jbsize; in ea_init()
956 GFS2_SB(&ip->i_inode)->sd_jbsize); in ea_set_simple()
1067 if (GFS2_EAREQ_SIZE_STUFFED(&er) > GFS2_SB(&ip->i_inode)->sd_jbsize) in ea_set_i()
1068 blks += DIV_ROUND_UP(er.er_data_len, GFS2_SB(&ip->i_inode)->sd_jbsize); in ea_set_i()