Searched refs:num_args (Results 1 – 3 of 3) sorted by relevance
/kernel/bpf/ |
D | helpers.c | 809 u32 num_args, struct bpf_bprintf_data *data) in bpf_bprintf_prepare() argument 811 bool get_buffers = (data->get_bin_args && num_args) || data->get_buf; in bpf_bprintf_prepare() 828 if (num_args) in bpf_bprintf_prepare() 851 if (num_spec >= num_args) { in bpf_bprintf_prepare() 1040 int err, num_args; in BPF_CALL_5() local 1045 num_args = data_len / 8; in BPF_CALL_5() 1050 err = bpf_bprintf_prepare(fmt, UINT_MAX, args, num_args, &data); in BPF_CALL_5()
|
D | verifier.c | 7435 int err, fmt_map_off, num_args; in check_bpf_snprintf_call() local 7442 num_args = data_len_reg->var_off.value / 8; in check_bpf_snprintf_call() 7459 err = bpf_bprintf_prepare(fmt, UINT_MAX, NULL, num_args, &data); in check_bpf_snprintf_call()
|
/kernel/trace/ |
D | bpf_trace.c | 433 int ret, num_args; in BPF_CALL_4() local 438 num_args = data_len / 8; in BPF_CALL_4() 440 ret = bpf_bprintf_prepare(fmt, fmt_size, args, num_args, &data); in BPF_CALL_4() 475 int err, num_args; in BPF_CALL_5() local 480 num_args = data_len / 8; in BPF_CALL_5() 482 err = bpf_bprintf_prepare(fmt, fmt_size, args, num_args, &data); in BPF_CALL_5() 2332 if (prog->aux->max_ctx_offset > btp->num_args * sizeof(u64)) in __bpf_probe_register()
|