Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-cache-background-tracker.h38 struct background_tracker;
44 struct background_tracker *btracker_create(unsigned int max_work);
51 void btracker_destroy(struct background_tracker *b);
53 unsigned int btracker_nr_writebacks_queued(struct background_tracker *b);
54 unsigned int btracker_nr_demotions_queued(struct background_tracker *b);
65 int btracker_queue(struct background_tracker *b,
73 int btracker_issue(struct background_tracker *b, struct policy_work **work);
79 void btracker_complete(struct background_tracker *b, struct policy_work *op);
84 bool btracker_promotion_already_present(struct background_tracker *b,
H A Ddm-cache-background-tracker.c14 struct background_tracker { struct
27 struct background_tracker *btracker_create(unsigned int max_work) in btracker_create() argument
29 struct background_tracker *b = kmalloc(sizeof(*b), GFP_KERNEL); in btracker_create()
50 void btracker_destroy(struct background_tracker *b) in btracker_destroy()
75 static bool __insert_pending(struct background_tracker *b, in __insert_pending()
104 static struct bt_work *__find_pending(struct background_tracker *b, in __find_pending()
129 static void update_stats(struct background_tracker *b, struct policy_work *w, int delta) in update_stats()
146 unsigned int btracker_nr_writebacks_queued(struct background_tracker *b) in btracker_nr_writebacks_queued()
152 unsigned int btracker_nr_demotions_queued(struct background_tracker *b) in btracker_nr_demotions_queued()
158 static bool max_work_reached(struct background_tracker *b) in max_work_reached()
[all …]
H A Ddm-cache-policy-smq.c858 struct background_tracker *bg_work;