Home
last modified time | relevance | path

Searched refs:revokes (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/fs/gfs2/
H A Dtrans.h38 unsigned int blocks, unsigned int revokes,
41 unsigned int revokes);
H A Dlog.c449 while (available >= revokes) { in __gfs2_log_try_reserve_revokes()
451 &available, available - revokes)) in __gfs2_log_try_reserve_revokes()
466 if (revokes) in gfs2_log_release_revokes()
467 atomic_add(revokes, &sdp->sd_log_revokes_available); in gfs2_log_release_revokes()
573 unsigned int revokes = tr->tr_revokes; in gfs2_log_try_reserve() local
577 if (revokes && !__gfs2_log_try_reserve_revokes(sdp, revokes)) { in gfs2_log_try_reserve()
578 revoke_blks = DIV_ROUND_UP(revokes, sdp->sd_inptrs); in gfs2_log_try_reserve()
587 gfs2_log_release_revokes(sdp, revokes); in gfs2_log_try_reserve()
604 unsigned int revokes = tr->tr_revokes; in gfs2_log_reserve() local
608 if (revokes) { in gfs2_log_reserve()
[all …]
H A Dglops.c95 unsigned int revokes; in gfs2_ail_empty_gl() local
98 revokes = atomic_read(&gl->gl_ail_count); in gfs2_ail_empty_gl()
100 if (!revokes) { in gfs2_ail_empty_gl()
129 ret = __gfs2_trans_begin(&tr, sdp, 0, revokes, _RET_IP_); in gfs2_ail_empty_gl()
134 __gfs2_ail_flush(gl, 0, revokes); in gfs2_ail_empty_gl()
147 unsigned int revokes = atomic_read(&gl->gl_ail_count); in gfs2_ail_flush() local
150 if (!revokes) in gfs2_ail_flush()
153 ret = gfs2_trans_begin(sdp, 0, revokes); in gfs2_ail_flush()
156 __gfs2_ail_flush(gl, fsync, revokes); in gfs2_ail_flush()
H A Dtrans.c41 unsigned int blocks, unsigned int revokes, in __gfs2_trans_begin() argument
50 BUG_ON(blocks == 0 && revokes == 0); in __gfs2_trans_begin()
57 tr->tr_revokes = revokes; in __gfs2_trans_begin()
110 unsigned int revokes) in gfs2_trans_begin() argument
118 error = __gfs2_trans_begin(tr, sdp, blocks, revokes, _RET_IP_); in gfs2_trans_begin()
H A Dlog.h77 void gfs2_log_release_revokes(struct gfs2_sbd *sdp, unsigned int revokes);
H A Dbmap.c1508 unsigned int jblocks_rqsted, revokes; in sweep_bh_for_rgrps() local
1518 revokes = jblocks_rqsted; in sweep_bh_for_rgrps()
1520 revokes += end - start; in sweep_bh_for_rgrps()
1522 revokes += sdp->sd_inptrs; in sweep_bh_for_rgrps()
1523 ret = gfs2_trans_begin(sdp, jblocks_rqsted, revokes); in sweep_bh_for_rgrps()
H A Dlops.c933 unsigned int revokes = be32_to_cpu(ld->ld_data1); in revoke_lo_scan_elements() local
964 if (!--revokes) in revoke_lo_scan_elements()
/openbmc/linux/fs/jbd2/
H A Dtransaction.c705 int revokes; in stop_this_handle() local
716 revokes = handle->h_revoke_credits_requested - handle->h_revoke_credits; in stop_this_handle()
717 if (revokes) { in stop_this_handle()
721 WARN_ON_ONCE(DIV_ROUND_UP(revokes, rr_per_blk) in stop_this_handle()
723 t_revokes = atomic_add_return(revokes, in stop_this_handle()
727 DIV_ROUND_UP(t_revokes - revokes, rr_per_blk); in stop_this_handle()
/openbmc/linux/Documentation/virt/hyperv/
H A Doverview.rst107 revokes the sharing, in which case Hyper-V removes the overlay page,