Searched refs:sd_log_blks_free (Results 1 – 4 of 4) sorted by relevance
/linux-3.4.99/fs/gfs2/ |
D | log.c | 332 free_blocks = atomic_read(&sdp->sd_log_blks_free); in gfs2_log_reserve() 339 if (atomic_read(&sdp->sd_log_blks_free) <= wanted) in gfs2_log_reserve() 341 free_blocks = atomic_read(&sdp->sd_log_blks_free); in gfs2_log_reserve() 345 if (atomic_cmpxchg(&sdp->sd_log_blks_free, free_blocks, in gfs2_log_reserve() 486 atomic_add(dist, &sdp->sd_log_blks_free); in log_pull_tail() 488 gfs2_assert_withdraw(sdp, atomic_read(&sdp->sd_log_blks_free) <= in log_pull_tail() 686 atomic_dec(&sdp->sd_log_blks_free); /* Adjust for unreserved buffer */ in gfs2_log_flush() 729 atomic_add(unused, &sdp->sd_log_blks_free); in log_refund() 731 gfs2_assert_withdraw(sdp, atomic_read(&sdp->sd_log_blks_free) <= in log_refund() 776 ((sdp->sd_jdesc->jd_blocks - atomic_read(&sdp->sd_log_blks_free)) > in gfs2_log_commit() [all …]
|
D | trans.c | 89 atomic_add(blks, &sdp->sd_log_blks_free); in gfs2_log_release() 91 gfs2_assert_withdraw(sdp, atomic_read(&sdp->sd_log_blks_free) <= in gfs2_log_release()
|
D | ops_fstype.c | 680 atomic_set(&sdp->sd_log_blks_free, sdp->sd_jdesc->jd_blocks); in init_journal() 719 atomic_set(&sdp->sd_log_blks_free, sdp->sd_jdesc->jd_blocks); in init_journal() 726 trace_gfs2_log_blocks(sdp, atomic_read(&sdp->sd_log_blks_free)); in init_journal()
|
D | incore.h | 708 atomic_t sd_log_blks_free; member
|