/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | trans.h | 38 unsigned int blocks, unsigned int revokes, 41 unsigned int revokes);
|
H A D | glops.c | 92 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() 102 * We have nothing on the ail, but there could be revokes on in gfs2_ail_empty_gl() 107 * io outstanding for writing revokes, so we should wait for in gfs2_ail_empty_gl() 110 * If none of these conditions are true, our revokes are all in gfs2_ail_empty_gl() 126 ret = __gfs2_trans_begin(&tr, sdp, 0, revokes, _RET_IP_); in gfs2_ail_empty_gl() 128 fs_err(sdp, "Transaction error %d: Unable to write revokes.", ret); in gfs2_ail_empty_gl() 131 __gfs2_ail_flush(gl, 0, revokes); in gfs2_ail_empty_gl() 144 unsigned int revokes in gfs2_ail_flush() local [all...] |
H A D | log.c | 300 * @max_revokes: If nonzero, issue revokes for the bd items for written buffers 335 * If we have space for revokes and the bd is no longer on any in gfs2_ail1_empty_one() 353 * @max_revokes: If non-zero, add revokes where appropriate 444 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() 458 * gfs2_log_release_revokes - Release a given number of revokes 460 * @revokes: The number of revokes to release 464 void gfs2_log_release_revokes(struct gfs2_sbd *sdp, unsigned int revokes) in gfs2_log_release_revokes() argument 573 unsigned int revokes = tr->tr_revokes; gfs2_log_try_reserve() local 604 unsigned int revokes = tr->tr_revokes; gfs2_log_reserve() local [all...] |
H A D | trans.c | 31 fs_warn(sdp, "blocks=%u revokes=%u reserved=%u touched=%u\n", in gfs2_print_trans() 41 unsigned int blocks, unsigned int revokes, in __gfs2_trans_begin() 50 BUG_ON(blocks == 0 && revokes == 0); in __gfs2_trans_begin() 57 tr->tr_revokes = revokes; in __gfs2_trans_begin() 81 * reserved revokes. If that fails, do a full-block allocation outside in __gfs2_trans_begin() 83 * appropriate number of blocks to revokes, use as many revokes locally in __gfs2_trans_begin() 84 * as needed, and "release" the surplus into the revokes pool. in __gfs2_trans_begin() 110 unsigned int revokes) in gfs2_trans_begin() 118 error = __gfs2_trans_begin(tr, sdp, blocks, revokes, _RET_IP in gfs2_trans_begin() 40 __gfs2_trans_begin(struct gfs2_trans *tr, struct gfs2_sbd *sdp, unsigned int blocks, unsigned int revokes, unsigned long ip) __gfs2_trans_begin() argument 109 gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, unsigned int revokes) gfs2_trans_begin() argument [all...] |
H A D | log.h | 18 * revokes and one block for the log header. Log flushes other than 77 extern void gfs2_log_release_revokes(struct gfs2_sbd *sdp, unsigned int revokes);
|
H A D | bmap.c | 1508 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 D | lops.c | 933 unsigned int revokes = be32_to_cpu(ld->ld_data1); in revoke_lo_scan_elements() local 964 if (!--revokes) in revoke_lo_scan_elements()
|
/kernel/linux/linux-5.10/fs/gfs2/ |
H A D | trans.c | 31 fs_warn(sdp, "blocks=%u revokes=%u reserved=%u touched=%u\n", in gfs2_print_trans() 41 unsigned int revokes) in gfs2_trans_begin() 50 BUG_ON(blocks == 0 && revokes == 0); in gfs2_trans_begin() 61 tr->tr_revokes = revokes; in gfs2_trans_begin() 66 if (revokes) in gfs2_trans_begin() 67 tr->tr_reserved += gfs2_struct2blk(sdp, revokes); in gfs2_trans_begin() 40 gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, unsigned int revokes) gfs2_trans_begin() argument
|
H A D | trans.h | 38 unsigned int revokes);
|
H A D | glops.c | 103 * We have nothing on the ail, but there could be revokes on in gfs2_ail_empty_gl() 108 * io outstanding for writing revokes, so we should wait for in gfs2_ail_empty_gl() 111 * If none of these conditions are true, our revokes are all in gfs2_ail_empty_gl() 148 unsigned int revokes = atomic_read(&gl->gl_ail_count); in gfs2_ail_flush() local 152 if (!revokes) in gfs2_ail_flush() 155 while (revokes > max_revokes) in gfs2_ail_flush()
|
H A D | bmap.c | 1553 unsigned int jblocks_rqsted, revokes; in sweep_bh_for_rgrps() local 1563 revokes = jblocks_rqsted; in sweep_bh_for_rgrps() 1565 revokes += end - start; in sweep_bh_for_rgrps() 1567 revokes += sdp->sd_inptrs; in sweep_bh_for_rgrps() 1568 ret = gfs2_trans_begin(sdp, jblocks_rqsted, revokes); in sweep_bh_for_rgrps()
|
H A D | lops.c | 911 unsigned int revokes = be32_to_cpu(ld->ld_data1); in revoke_lo_scan_elements() local 942 if (!--revokes) in revoke_lo_scan_elements()
|
/kernel/linux/linux-5.10/fs/jbd2/ |
H A D | transaction.c | 711 int revokes; in stop_this_handle() local 720 * small numbers of revokes are relatively common. in stop_this_handle() 722 revokes = handle->h_revoke_credits_requested - handle->h_revoke_credits; in stop_this_handle() 723 if (revokes) { in stop_this_handle() 727 WARN_ON_ONCE(DIV_ROUND_UP(revokes, rr_per_blk) in stop_this_handle() 729 t_revokes = atomic_add_return(revokes, in stop_this_handle() 733 DIV_ROUND_UP(t_revokes - revokes, rr_per_blk); in stop_this_handle()
|
/kernel/linux/linux-6.6/fs/jbd2/ |
H A D | transaction.c | 720 int revokes; in stop_this_handle() local 729 * small numbers of revokes are relatively common. in stop_this_handle() 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()
|