Home
last modified time | relevance | path

Searched refs:background_tracker (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/md/
Ddm-cache-background-tracker.h16 struct background_tracker;
21 struct background_tracker *btracker_create(unsigned max_work);
22 void btracker_destroy(struct background_tracker *b);
24 unsigned btracker_nr_writebacks_queued(struct background_tracker *b);
25 unsigned btracker_nr_demotions_queued(struct background_tracker *b);
31 int btracker_queue(struct background_tracker *b,
38 int btracker_issue(struct background_tracker *b, struct policy_work **work);
39 void btracker_complete(struct background_tracker *b,
41 bool btracker_promotion_already_present(struct background_tracker *b,
Ddm-cache-background-tracker.c19 struct background_tracker { struct
32 struct background_tracker *btracker_create(unsigned max_work) in btracker_create() argument
34 struct background_tracker *b = kmalloc(sizeof(*b), GFP_KERNEL); in btracker_create()
61 void btracker_destroy(struct background_tracker *b) in btracker_destroy()
79 static bool __insert_pending(struct background_tracker *b, in __insert_pending()
108 static struct bt_work *__find_pending(struct background_tracker *b, in __find_pending()
133 static void update_stats(struct background_tracker *b, struct policy_work *w, int delta) in update_stats()
150 unsigned btracker_nr_writebacks_queued(struct background_tracker *b) in btracker_nr_writebacks_queued()
156 unsigned btracker_nr_demotions_queued(struct background_tracker *b) in btracker_nr_demotions_queued()
162 static bool max_work_reached(struct background_tracker *b) in max_work_reached()
[all …]
Ddm-cache-policy-smq.c855 struct background_tracker *bg_work;