Lines Matching refs:sd_jbsize
44 unsigned int jbsize = sdp->sd_jbsize; in ea_calc_size()
69 if (size > sdp->sd_jbsize) in ea_check_size()
468 unsigned int nptrs = DIV_ROUND_UP(amount, sdp->sd_jbsize); in gfs2_iter_unstuffed()
505 cp_size = (sdp->sd_jbsize > amount) ? amount : sdp->sd_jbsize; in gfs2_iter_unstuffed()
509 dout += sdp->sd_jbsize; in gfs2_iter_unstuffed()
515 din += sdp->sd_jbsize; in gfs2_iter_unstuffed()
518 amount -= sdp->sd_jbsize; in gfs2_iter_unstuffed()
638 ea->ea_rec_len = cpu_to_be32(sdp->sd_jbsize); in ea_alloc_blk()
673 if (GFS2_EAREQ_SIZE_STUFFED(er) <= sdp->sd_jbsize) { in ea_write()
683 ea->ea_num_ptrs = DIV_ROUND_UP(er->er_data_len, sdp->sd_jbsize); in ea_write()
700 copy = data_len > sdp->sd_jbsize ? sdp->sd_jbsize : in ea_write()
703 if (copy < sdp->sd_jbsize) in ea_write()
705 sdp->sd_jbsize - copy); in ea_write()
800 unsigned int jbsize = GFS2_SB(&ip->i_inode)->sd_jbsize; in ea_init()
957 GFS2_SB(&ip->i_inode)->sd_jbsize); in ea_set_simple()
1068 if (GFS2_EAREQ_SIZE_STUFFED(&er) > GFS2_SB(&ip->i_inode)->sd_jbsize) in ea_set_i()
1069 blks += DIV_ROUND_UP(er.er_data_len, GFS2_SB(&ip->i_inode)->sd_jbsize); in ea_set_i()
1243 unsigned int nptrs = DIV_ROUND_UP(amount, sdp->sd_jbsize); in ea_acl_chmod_unstuffed()