Home
last modified time | relevance | path

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

/linux-4.4.14/fs/gfs2/
Dxattr.c44 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()
640 ea->ea_rec_len = cpu_to_be32(sdp->sd_jbsize); in ea_alloc_blk()
675 if (GFS2_EAREQ_SIZE_STUFFED(er) <= sdp->sd_jbsize) { in ea_write()
685 ea->ea_num_ptrs = DIV_ROUND_UP(er->er_data_len, sdp->sd_jbsize); in ea_write()
[all …]
Ddir.c185 o = do_div(lblock, sdp->sd_jbsize) + sizeof(struct gfs2_meta_header); in gfs2_dir_write_data()
206 if (amount == sdp->sd_jbsize || new) in gfs2_dir_write_data()
288 o = do_div(lblock, sdp->sd_jbsize) + sizeof(struct gfs2_meta_header); in gfs2_dir_read_data()
1944 rg_blocks + (DIV_ROUND_UP(size, sdp->sd_jbsize) + 1) + in leaf_dealloc()
Dops_fstype.c291 sdp->sd_jbsize = sdp->sd_sb.sb_bsize - sizeof(struct gfs2_meta_header); in gfs2_read_sb()
305 sdp->sd_jbsize); in gfs2_read_sb()
338 sdp->sd_jheightsize[1] = sdp->sd_jbsize * sdp->sd_diptrs; in gfs2_read_sb()
Dincore.h677 u32 sd_jbsize; /* Size of a journaled data block */ member
Dbmap.c629 bsize = sdp->sd_jbsize; in gfs2_block_map()
Dinode.c449 ea->ea_rec_len = cpu_to_be32(sdp->sd_jbsize); in gfs2_init_xattr()