Lines Matching refs:tw
4167 static struct bpf_task_work_ctx *bpf_task_work_fetch_ctx(struct bpf_task_work *tw, in bpf_task_work_fetch_ctx() argument
4170 struct bpf_task_work_kern *twk = (void *)tw; in bpf_task_work_fetch_ctx()
4198 static struct bpf_task_work_ctx *bpf_task_work_acquire_ctx(struct bpf_task_work *tw, in bpf_task_work_acquire_ctx() argument
4203 ctx = bpf_task_work_fetch_ctx(tw, map); in bpf_task_work_acquire_ctx()
4226 bpf_task_work_cancel_and_free(tw); in bpf_task_work_acquire_ctx()
4233 static int bpf_task_work_schedule(struct task_struct *task, struct bpf_task_work *tw, in bpf_task_work_schedule() argument
4252 ctx = bpf_task_work_acquire_ctx(tw, map); in bpf_task_work_schedule()
4263 ctx->map_val = (void *)tw - map->record->task_work_off; in bpf_task_work_schedule()
4289 struct bpf_task_work *tw, void *map__map, in bpf_task_work_schedule_signal_impl() argument
4293 return bpf_task_work_schedule(task, tw, map__map, callback, aux__prog, TWA_SIGNAL); in bpf_task_work_schedule_signal_impl()
4308 struct bpf_task_work *tw, void *map__map, in bpf_task_work_schedule_resume_impl() argument
4312 return bpf_task_work_schedule(task, tw, map__map, callback, aux__prog, TWA_RESUME); in bpf_task_work_schedule_resume_impl()