Searched refs:secs_to_gc (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/lightnvm/ |
D | pblk-read.c | 427 gc_rq->secs_to_gc = read_ppalist_rq_gc(pblk, &rqd, gc_rq->line, in pblk_submit_read_gc() 431 if (gc_rq->secs_to_gc == 1) in pblk_submit_read_gc() 434 gc_rq->secs_to_gc = read_rq_gc(pblk, &rqd, gc_rq->line, in pblk_submit_read_gc() 439 if (!(gc_rq->secs_to_gc)) in pblk_submit_read_gc() 443 rqd.nr_ppas = gc_rq->secs_to_gc; in pblk_submit_read_gc() 462 atomic_long_add(gc_rq->secs_to_gc, &pblk->sync_reads); in pblk_submit_read_gc() 463 atomic_long_add(gc_rq->secs_to_gc, &pblk->recov_gc_reads); in pblk_submit_read_gc() 464 atomic_long_sub(gc_rq->secs_to_gc, &pblk->inflight_reads); in pblk_submit_read_gc()
|
D | pblk-cache.c | 103 if (!pblk_rb_may_write_gc(&pblk->rwb, gc_rq->secs_to_gc, &bpos)) { in pblk_write_gc_to_cache() 125 WARN_ONCE(gc_rq->secs_to_gc != valid_entries, in pblk_write_gc_to_cache()
|
D | pblk-gc.c | 105 if (!gc_rq->secs_to_gc) in pblk_gc_line_ws()
|
D | pblk.h | 221 int secs_to_gc; member
|