Lines Matching defs:work
17 struct policy_work work;
53 DMERR("couldn't create mempool for background work items");
99 cmp = cmp_oblock(w->work.oblock, nw->work.oblock);
127 cmp = cmp_oblock(w->work.oblock, oblock);
187 struct policy_work *work,
199 memcpy(&w->work, work, sizeof(*work));
204 * bit of work for the same oblock.
211 *pwork = &w->work;
215 update_stats(b, &w->work, 1);
222 * Returns -ENODATA if there's no work.
224 int btracker_issue(struct background_tracker *b, struct policy_work **work)
233 *work = &w->work;
242 struct bt_work *w = container_of(op, struct bt_work, work);
244 update_stats(b, &w->work, -1);