Lines Matching refs:buf__sz
359 __hid_bpf_hw_check_params(struct hid_bpf_ctx *ctx, __u8 *buf, size_t *buf__sz, in __hid_bpf_hw_check_params() argument
379 if (*buf__sz < 1) in __hid_bpf_hw_check_params()
389 if (*buf__sz > report_len) in __hid_bpf_hw_check_params()
390 *buf__sz = report_len; in __hid_bpf_hw_check_params()
407 hid_bpf_hw_request(struct hid_bpf_ctx *ctx, __u8 *buf, size_t buf__sz, in hid_bpf_hw_request() argument
411 size_t size = buf__sz; in hid_bpf_hw_request()
467 hid_bpf_hw_output_report(struct hid_bpf_ctx *ctx, __u8 *buf, size_t buf__sz) in hid_bpf_hw_output_report() argument
470 size_t size = buf__sz; in hid_bpf_hw_output_report()
526 const size_t buf__sz) in hid_bpf_try_input_report() argument
534 return __hid_bpf_input_report(ctx, type, buf, buf__sz, from_hid_event_hook); in hid_bpf_try_input_report()
551 const size_t buf__sz) in hid_bpf_input_report() argument
560 ret = __hid_bpf_input_report(ctx, type, buf, buf__sz, true /* lock_already_taken */); in hid_bpf_input_report()