Searched refs:sd_jbsize (Results 1 – 5 of 5) sorted by relevance
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()[all …]
181 o = do_div(lblock, sdp->sd_jbsize) + sizeof(struct gfs2_meta_header); in gfs2_dir_write_data()202 if (amount == sdp->sd_jbsize || new) in gfs2_dir_write_data()284 o = do_div(lblock, sdp->sd_jbsize) + sizeof(struct gfs2_meta_header); in gfs2_dir_read_data()2032 rg_blocks + (DIV_ROUND_UP(size, sdp->sd_jbsize) + 1) + in leaf_dealloc()
701 u32 sd_jbsize; /* Size of a journaled data block */ member
305 sdp->sd_jbsize = sdp->sd_sb.sb_bsize - sizeof(struct gfs2_meta_header); in gfs2_read_sb()326 sdp->sd_jbsize); in gfs2_read_sb()
457 ea->ea_rec_len = cpu_to_be32(sdp->sd_jbsize); in gfs2_init_xattr()