Lines Matching defs:work
16 struct policy_work work;
52 DMERR("couldn't create mempool for background work items");
90 cmp = cmp_oblock(w->work.oblock, nw->work.oblock);
118 cmp = cmp_oblock(w->work.oblock, oblock);
178 struct policy_work *work,
190 memcpy(&w->work, work, sizeof(*work));
195 * bit of work for the same oblock.
202 *pwork = &w->work;
206 update_stats(b, &w->work, 1);
213 * Returns -ENODATA if there's no work.
215 int btracker_issue(struct background_tracker *b, struct policy_work **work)
224 *work = &w->work;
233 struct bt_work *w = container_of(op, struct bt_work, work);
235 update_stats(b, &w->work, -1);