Home
last modified time | relevance | path

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

/linux-6.6.21/fs/gfs2/
Dlog.c444 static bool __gfs2_log_try_reserve_revokes(struct gfs2_sbd *sdp, unsigned int revokes) in __gfs2_log_try_reserve_revokes() argument
449 while (available >= revokes) { in __gfs2_log_try_reserve_revokes()
451 &available, available - revokes)) in __gfs2_log_try_reserve_revokes()
464 void gfs2_log_release_revokes(struct gfs2_sbd *sdp, unsigned int revokes) in gfs2_log_release_revokes() argument
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()
579 *extra_revokes = revoke_blks * sdp->sd_inptrs - revokes; in gfs2_log_try_reserve()
[all …]
Dtrans.h38 unsigned int blocks, unsigned int revokes,
41 unsigned int revokes);
Dglops.c92 unsigned int revokes; in gfs2_ail_empty_gl() local
95 revokes = atomic_read(&gl->gl_ail_count); in gfs2_ail_empty_gl()
97 if (!revokes) { in gfs2_ail_empty_gl()
126 ret = __gfs2_trans_begin(&tr, sdp, 0, revokes, _RET_IP_); in gfs2_ail_empty_gl()
131 __gfs2_ail_flush(gl, 0, revokes); in gfs2_ail_empty_gl()
144 unsigned int revokes = atomic_read(&gl->gl_ail_count); in gfs2_ail_flush() local
147 if (!revokes) in gfs2_ail_flush()
150 ret = gfs2_trans_begin(sdp, 0, revokes); in gfs2_ail_flush()
153 __gfs2_ail_flush(gl, fsync, revokes); in gfs2_ail_flush()
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()
Dlog.h77 extern void gfs2_log_release_revokes(struct gfs2_sbd *sdp, unsigned int revokes);
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()
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()
/linux-6.6.21/fs/jbd2/
Dtransaction.c720 int revokes; in stop_this_handle() local
731 revokes = handle->h_revoke_credits_requested - handle->h_revoke_credits; in stop_this_handle()
732 if (revokes) { in stop_this_handle()
736 WARN_ON_ONCE(DIV_ROUND_UP(revokes, rr_per_blk) in stop_this_handle()
738 t_revokes = atomic_add_return(revokes, in stop_this_handle()
742 DIV_ROUND_UP(t_revokes - revokes, rr_per_blk); in stop_this_handle()
/linux-6.6.21/Documentation/virt/hyperv/
Doverview.rst107 revokes the sharing, in which case Hyper-V removes the overlay page,