Home
last modified time | relevance | path

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

/linux-6.1.9/fs/gfs2/
Dlog.c435 static bool __gfs2_log_try_reserve_revokes(struct gfs2_sbd *sdp, unsigned int revokes) in __gfs2_log_try_reserve_revokes() argument
440 while (available >= revokes) { in __gfs2_log_try_reserve_revokes()
442 &available, available - revokes)) in __gfs2_log_try_reserve_revokes()
455 void gfs2_log_release_revokes(struct gfs2_sbd *sdp, unsigned int revokes) in gfs2_log_release_revokes() argument
457 if (revokes) in gfs2_log_release_revokes()
458 atomic_add(revokes, &sdp->sd_log_revokes_available); in gfs2_log_release_revokes()
564 unsigned int revokes = tr->tr_revokes; in gfs2_log_try_reserve() local
568 if (revokes && !__gfs2_log_try_reserve_revokes(sdp, revokes)) { in gfs2_log_try_reserve()
569 revoke_blks = DIV_ROUND_UP(revokes, sdp->sd_inptrs); in gfs2_log_try_reserve()
570 *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()
129 __gfs2_ail_flush(gl, 0, revokes); in gfs2_ail_empty_gl()
141 unsigned int revokes = atomic_read(&gl->gl_ail_count); in gfs2_ail_flush() local
144 if (!revokes) in gfs2_ail_flush()
147 ret = gfs2_trans_begin(sdp, 0, revokes); in gfs2_ail_flush()
150 __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.c1497 unsigned int jblocks_rqsted, revokes; in sweep_bh_for_rgrps() local
1507 revokes = jblocks_rqsted; in sweep_bh_for_rgrps()
1509 revokes += end - start; in sweep_bh_for_rgrps()
1511 revokes += sdp->sd_inptrs; in sweep_bh_for_rgrps()
1512 ret = gfs2_trans_begin(sdp, jblocks_rqsted, revokes); in sweep_bh_for_rgrps()
Dlops.c935 unsigned int revokes = be32_to_cpu(ld->ld_data1); in revoke_lo_scan_elements() local
966 if (!--revokes) in revoke_lo_scan_elements()
/linux-6.1.9/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.1.9/Documentation/virt/hyperv/
Doverview.rst107 revokes the sharing, in which case Hyper-V removes the overlay page,