Searched refs:jd_blocks (Results 1 – 8 of 8) sorted by relevance
16 if (++*blk == jd->jd_blocks) in gfs2_replay_incr_blk()
441 return atomic_read(&sdp->sd_log_blks_free) == sdp->sd_jdesc->jd_blocks; in gfs2_log_is_empty()482 sdp->sd_jdesc->jd_blocks); in gfs2_log_release()635 dist += sdp->sd_jdesc->jd_blocks; in log_distance()1253 ((sdp->sd_jdesc->jd_blocks - atomic_read(&sdp->sd_log_blks_free)) > in gfs2_log_commit()1286 unsigned int used_blocks = sdp->sd_jdesc->jd_blocks - atomic_read(&sdp->sd_log_blks_free); in gfs2_ail_flush_reqd()
50 if (++value == sdp->sd_jdesc->jd_blocks) { in gfs2_log_pointers_init()
768 atomic_set(&sdp->sd_log_blks_free, sdp->sd_jdesc->jd_blocks); in init_journal()769 atomic_set(&sdp->sd_log_thresh1, 2*sdp->sd_jdesc->jd_blocks/5); in init_journal()770 atomic_set(&sdp->sd_log_thresh2, 4*sdp->sd_jdesc->jd_blocks/5); in init_journal()810 atomic_set(&sdp->sd_log_blks_free, sdp->sd_jdesc->jd_blocks); in init_journal()811 atomic_set(&sdp->sd_log_thresh1, 2*sdp->sd_jdesc->jd_blocks/5); in init_journal()812 atomic_set(&sdp->sd_log_thresh2, 4*sdp->sd_jdesc->jd_blocks/5); in init_journal()
112 jd->jd_blocks = size >> sdp->sd_sb.sb_bsize_shift; in gfs2_jdesc_check()1130 sdp->sd_jdesc->jd_blocks); in gfs2_dinode_dealloc()1339 ret = gfs2_trans_begin(sdp, 0, sdp->sd_jdesc->jd_blocks); in evict_linked_inode()
73 if (gfs2_assert_warn(sdp, tr->tr_reserved <= sdp->sd_jdesc->jd_blocks)) in __gfs2_trans_begin()
516 u32 jd_blocks; member
141 if (++sdp->sd_log_flush_head == sdp->sd_jdesc->jd_blocks) in gfs2_log_incr_head()