Lines Matching refs:steal
46 static int steal(struct generic_task_desc * _tweed_top_,
93 // start trying to steal work
96 int success = steal(_tweed_top_, &workers[steal_id]);
230 * workers can steal tasks from it.
244 * workers can steal tasks from it.
252 static int steal(struct generic_task_desc * _tweed_top_,
260 // check if there is actually work to steal
263 // try to steal task
267 // we didn't succeed in the steal, back off
273 return 0; // didn't steal anything
291 return 0; // didn't steal anything
319 // steal work from the thief
320 return steal(_tweed_top_, (struct worker_desc *) GET_THIEF(_tweed_top_));