Home
last modified time | relevance | path

Searched refs:bpf_wq_init (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dwq_failures.c45 /* test that bpf_wq_init takes a map as a second argument
50 __msg(": (85) call bpf_wq_init#") /* anchor message */ in __flag()
63 if (bpf_wq_init(wq, &key, 0) != 0) in __flag()
70 /* test that the workqueue is part of the map in bpf_wq_init
75 __msg(": (85) call bpf_wq_init#") /* anchor message */ in __flag()
88 if (bpf_wq_init(wq, &lru, 0) != 0) in __flag()
111 if (bpf_wq_init(wq, &array, 0)) in test_wrong_wq_pointer()
137 if (bpf_wq_init(wq, &array, 0)) in test_wrong_wq_pointer_offset()
H A Dwq.c77 if (bpf_wq_init(wq, map, 0) != 0) in test_elem_callback()
107 if (bpf_wq_init(wq, map, 0) != 0) in test_hmap_elem_callback()
/linux/tools/testing/selftests/hid/progs/
H A Dhid_bpf_helpers.h117 extern int bpf_wq_init(struct bpf_wq *wq, void *p__map, unsigned int flags) __weak __ksym;
H A Dhid.c487 if (bpf_wq_init(wq, &hmap, 0) != 0) in test_inject_input_report_callback()
/linux/drivers/hid/bpf/progs/
H A Dhid_bpf_async.h154 err = bpf_wq_init(&elem->wq, &hid_bpf_async_ctx_map, 0); in hid_bpf_async_get_ctx()
H A Dhid_bpf_helpers.h34 extern int bpf_wq_init(struct bpf_wq *wq, void *p__map, unsigned int flags) __weak __ksym;
/linux/kernel/bpf/
H A Dhelpers.c3027 __bpf_kfunc int bpf_wq_init(struct bpf_wq *wq, void *p__map, unsigned int flags) in bpf_wq_init() function
3796 BTF_ID_FLAGS(func, bpf_wq_init)