Home
last modified time | relevance | path

Searched refs:sd_jbsize (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/fs/gfs2/
H A Dxattr.c39 unsigned int jbsize = sdp->sd_jbsize; in ea_calc_size()
64 if (size > sdp->sd_jbsize) in ea_check_size()
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()
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()
[all …]
H A Ddir.c181 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()
2033 rg_blocks + (DIV_ROUND_UP(size, sdp->sd_jbsize) + 1) + in leaf_dealloc()
H A Dincore.h699 u32 sd_jbsize; /* Size of a journaled data block */ member
H A Dops_fstype.c305 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()
H A Dinode.c478 ea->ea_rec_len = cpu_to_be32(sdp->sd_jbsize); in gfs2_init_xattr()