Searched refs:background_tracker (Results 1 – 3 of 3) sorted by relevance
30 struct background_tracker;36 struct background_tracker *btracker_create(unsigned int max_work);43 void btracker_destroy(struct background_tracker *b);45 unsigned int btracker_nr_writebacks_queued(struct background_tracker *b);46 unsigned int btracker_nr_demotions_queued(struct background_tracker *b);57 int btracker_queue(struct background_tracker *b,65 int btracker_issue(struct background_tracker *b, struct policy_work **work);71 void btracker_complete(struct background_tracker *b, struct policy_work *op);76 bool btracker_promotion_already_present(struct background_tracker *b,
20 struct background_tracker { struct33 struct background_tracker *btracker_create(unsigned int max_work) in btracker_create() argument35 struct background_tracker *b = kmalloc(sizeof(*b), GFP_KERNEL); in btracker_create()62 void btracker_destroy(struct background_tracker *b) in btracker_destroy()88 static bool __insert_pending(struct background_tracker *b, in __insert_pending()117 static struct bt_work *__find_pending(struct background_tracker *b, in __find_pending()171 static bool max_work_reached(struct background_tracker *b) in max_work_reached()178 static struct bt_work *alloc_work(struct background_tracker *b) in alloc_work()186 int btracker_queue(struct background_tracker *b, in btracker_queue()239 void btracker_complete(struct background_tracker *b, in btracker_complete()[all …]
858 struct background_tracker *bg_work;