Home
last modified time | relevance | path

Searched refs:buf__sz (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/hid/bpf/
H A Dhid_bpf_dispatch.c356 __hid_bpf_hw_check_params(struct hid_bpf_ctx *ctx, __u8 *buf, size_t *buf__sz, in __hid_bpf_hw_check_params() argument
376 if (*buf__sz < 1) in __hid_bpf_hw_check_params()
386 if (*buf__sz > report_len) in __hid_bpf_hw_check_params()
387 *buf__sz = report_len; in __hid_bpf_hw_check_params()
404 hid_bpf_hw_request(struct hid_bpf_ctx *ctx, __u8 *buf, size_t buf__sz, in hid_bpf_hw_request() argument
408 size_t size = buf__sz; in hid_bpf_hw_request()
466 hid_bpf_hw_output_report(struct hid_bpf_ctx *ctx, __u8 *buf, size_t buf__sz) in hid_bpf_hw_output_report() argument
469 size_t size = buf__sz; in hid_bpf_hw_output_report()
525 const size_t buf__sz) in hid_bpf_try_input_report() argument
533 return __hid_bpf_input_report(ctx, type, buf, buf__sz, from_hid_event_hook); in hid_bpf_try_input_report()
[all …]
/linux/tools/testing/selftests/hid/progs/
H A Dhid_bpf_helpers.h114 size_t buf__sz,
118 __u8 *buf, size_t buf__sz) __weak __ksym;
122 size_t buf__sz) __weak __ksym;
126 size_t buf__sz) __weak __ksym;
/linux/samples/hid/
H A Dhid_bpf_helpers.h17 size_t buf__sz,
/linux/tools/testing/selftests/bpf/
H A Dbpf_experimental.h222 extern int bpf_path_d_path(const struct path *path, char *buf, size_t buf__sz) __ksym;