Searched refs:jd_blocks (Results 1 – 8 of 8) sorted by relevance
16 if (++*blk == jd->jd_blocks) in gfs2_replay_incr_blk()
433 return atomic_read(&sdp->sd_log_blks_free) == sdp->sd_jdesc->jd_blocks; in gfs2_log_is_empty()474 sdp->sd_jdesc->jd_blocks); in gfs2_log_release()627 dist += sdp->sd_jdesc->jd_blocks; in log_distance()1245 ((sdp->sd_jdesc->jd_blocks - atomic_read(&sdp->sd_log_blks_free)) > in gfs2_log_commit()1278 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()
771 atomic_set(&sdp->sd_log_blks_free, sdp->sd_jdesc->jd_blocks); in init_journal()772 atomic_set(&sdp->sd_log_thresh1, 2*sdp->sd_jdesc->jd_blocks/5); in init_journal()773 atomic_set(&sdp->sd_log_thresh2, 4*sdp->sd_jdesc->jd_blocks/5); in init_journal()812 atomic_set(&sdp->sd_log_blks_free, sdp->sd_jdesc->jd_blocks); in init_journal()813 atomic_set(&sdp->sd_log_thresh1, 2*sdp->sd_jdesc->jd_blocks/5); in init_journal()814 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()1129 sdp->sd_jdesc->jd_blocks); in gfs2_dinode_dealloc()1340 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()