Lines Matching defs:data
130 void *data;
201 static bool io_task_worker_match(struct callback_head *cb, void *data)
208 return worker == data;
626 static int io_wq_worker(void *data)
628 struct io_worker *worker = data;
740 static bool io_wq_work_match_all(struct io_wq_work *work, void *data)
863 void *data)
872 ret = func(worker, data);
882 static bool io_wq_worker_wake(struct io_worker *worker, void *data)
919 static bool io_wq_work_match_item(struct io_wq_work *work, void *data)
921 return work == data;
967 match.data = work,
990 if (work && match->fn(work, match->data)) {
999 static bool io_wq_worker_cancel(struct io_worker *worker, void *data)
1001 struct io_cb_cancel_data *match = data;
1045 if (!match->fn(work, match->data))
1084 void *data, bool cancel_all)
1088 .data = data,
1141 struct io_wq *io_wq_create(unsigned bounded, struct io_wq_data *data)
1146 if (WARN_ON_ONCE(!data->free_work || !data->do_work))
1155 refcount_inc(&data->hash->refs);
1156 wq->hash = data->hash;
1157 wq->free_work = data->free_work;
1158 wq->do_work = data->do_work;
1183 wq->task = get_task_struct(data->task);
1192 io_wq_put_hash(data->hash);
1198 static bool io_task_work_match(struct callback_head *cb, void *data)
1205 return worker->wq == data;
1279 static bool io_wq_worker_affinity(struct io_worker *worker, void *data)
1281 struct online_data *od = data;