Home
last modified time | relevance | path

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

/linux/drivers/hid/bpf/
H A Dhid_bpf_dispatch.c361 __hid_bpf_hw_check_params(struct hid_bpf_ctx *ctx, __u8 *buf, size_t *buf__sz, in __hid_bpf_hw_check_params() argument
381 if (*buf__sz < 1) in __hid_bpf_hw_check_params()
395 if (*buf__sz > report_len) in __hid_bpf_hw_check_params()
396 *buf__sz = report_len; in __hid_bpf_hw_check_params()
406 * @buf__sz: the size of the data to transfer
413 hid_bpf_hw_request(struct hid_bpf_ctx *ctx, __u8 *buf, size_t buf__sz, in hid_bpf_hw_request() argument
417 size_t size = buf__sz; in hid_bpf_hw_request()
470 * @buf__sz: the size of the data to transfer
475 hid_bpf_hw_output_report(struct hid_bpf_ctx *ctx, __u8 *buf, size_t buf__sz) in hid_bpf_hw_output_report() argument
478 size_t size = buf__sz; in hid_bpf_hw_output_report()
534 hid_bpf_try_input_report(struct hid_bpf_ctx * ctx,enum hid_report_type type,u8 * buf,const size_t buf__sz) hid_bpf_try_input_report() argument
559 hid_bpf_input_report(struct hid_bpf_ctx * ctx,enum hid_report_type type,u8 * buf,const size_t buf__sz) hid_bpf_input_report() argument
[all...]
/linux/tools/testing/selftests/hid/progs/
H A Dhid_bpf_helpers.h117 size_t buf__sz,
121 __u8 *buf, size_t buf__sz) __weak __ksym;
125 size_t buf__sz) __weak __ksym;
129 size_t buf__sz) __weak __ksym;
/linux/fs/
H A Dbpf_fs_kfuncs.c81 __bpf_kfunc int bpf_path_d_path(const struct path *path, char *buf, size_t buf__sz) in bpf_path_d_path() argument
86 if (!buf__sz) in bpf_path_d_path()
89 ret = d_path(path, buf, buf__sz); in bpf_path_d_path()
93 len = buf + buf__sz - ret; in bpf_path_d_path()
/linux/samples/hid/
H A Dhid_bpf_helpers.h17 size_t buf__sz,
/linux/tools/testing/selftests/bpf/
H A Dbpf_experimental.h75 extern int bpf_path_d_path(const struct path *path, char *buf, size_t buf__sz) __ksym;