Home
last modified time | relevance | path

Searched refs:prio_blocked (Results 1 – 4 of 4) sorted by relevance

/drivers/md/bcache/
Dbtree.c274 if (w->prio_blocked && in btree_complete_write()
275 !atomic_sub_return(w->prio_blocked, &b->c->prio_blocked)) in btree_complete_write()
286 w->prio_blocked = 0; in btree_complete_write()
417 w->prio_blocked += b->prio_blocked; in bch_btree_write()
418 b->prio_blocked = 0; in bch_btree_write()
985 if (b->prio_blocked && in btree_node_free()
986 !atomic_sub_return(b->prio_blocked, &b->c->prio_blocked)) in btree_node_free()
989 b->prio_blocked = 0; in btree_node_free()
1174 atomic_inc(&b->c->prio_blocked); in btree_gc_alloc()
1175 b->prio_blocked++; in btree_gc_alloc()
[all …]
Dbtree.h114 int prio_blocked; member
149 int prio_blocked; member
Dalloc.c397 if ((!atomic_read(&ca->set->prio_blocked) || in bch_allocator_thread()
433 allocator_wait(ca, !atomic_read(&ca->set->prio_blocked)); in bch_allocator_thread()
480 atomic_read(&ca->set->prio_blocked), fifo_used(&ca->free), in bch_bucket_alloc()
Dbcache.h769 atomic_t prio_blocked; member