Home
last modified time | relevance | path

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

/kernel/bpf/
Dhelpers.c723 static int try_get_fmt_tmp_buf(char **tmp_buf) in try_get_fmt_tmp_buf() argument
736 *tmp_buf = bufs->tmp_bufs[nest_level - 1]; in try_get_fmt_tmp_buf()
766 char *unsafe_ptr = NULL, *tmp_buf = NULL, *tmp_buf_end, *fmt_end; in bpf_bprintf_prepare() local
778 if (num_args && try_get_fmt_tmp_buf(&tmp_buf)) in bpf_bprintf_prepare()
781 tmp_buf_end = tmp_buf + MAX_BPRINTF_BUF_LEN; in bpf_bprintf_prepare()
782 *bin_args = (u32 *)tmp_buf; in bpf_bprintf_prepare()
834 if (tmp_buf) in bpf_bprintf_prepare()
841 if (tmp_buf) { in bpf_bprintf_prepare()
842 err = snprintf(tmp_buf, in bpf_bprintf_prepare()
843 (tmp_buf_end - tmp_buf), in bpf_bprintf_prepare()
[all …]