Lines Matching defs:tw
4520 static struct bpf_task_work_ctx *bpf_task_work_fetch_ctx(struct bpf_task_work *tw,
4523 struct bpf_task_work_kern *twk = (void *)tw;
4541 * tw->ctx is set by concurrent BPF program, release allocated
4551 static struct bpf_task_work_ctx *bpf_task_work_acquire_ctx(struct bpf_task_work *tw,
4565 ctx = bpf_task_work_fetch_ctx(tw, map);
4589 bpf_task_work_cancel_and_free(tw);
4596 static int bpf_task_work_schedule(struct task_struct *task, struct bpf_task_work *tw,
4615 ctx = bpf_task_work_acquire_ctx(tw, map);
4626 ctx->map_val = (void *)tw - map->record->task_work_off;
4644 * @tw: Pointer to struct bpf_task_work in BPF map value for internal bookkeeping
4651 __bpf_kfunc int bpf_task_work_schedule_signal(struct task_struct *task, struct bpf_task_work *tw,
4655 return bpf_task_work_schedule(task, tw, map__map, callback, aux, TWA_SIGNAL);
4662 * @tw: Pointer to struct bpf_task_work in BPF map value for internal bookkeeping
4669 __bpf_kfunc int bpf_task_work_schedule_resume(struct task_struct *task, struct bpf_task_work *tw,
4673 return bpf_task_work_schedule(task, tw, map__map, callback, aux, TWA_RESUME);