Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/trace/
Dbpf_trace.c596 int err = -EINVAL, fmt_cnt = 0, memcpy_cnt = 0; in BPF_CALL_5() local
675 if (memcpy_cnt >= MAX_SEQ_PRINTF_MAX_MEMCPY) { in BPF_CALL_5()
681 err = strncpy_from_kernel_nofault(bufs->buf[memcpy_cnt], in BPF_CALL_5()
684 bufs->buf[memcpy_cnt][0] = '\0'; in BPF_CALL_5()
685 params[fmt_cnt] = (u64)(long)bufs->buf[memcpy_cnt]; in BPF_CALL_5()
688 memcpy_cnt++; in BPF_CALL_5()
713 if (memcpy_cnt >= MAX_SEQ_PRINTF_MAX_MEMCPY) { in BPF_CALL_5()
721 err = copy_from_kernel_nofault(bufs->buf[memcpy_cnt], in BPF_CALL_5()
725 memset(bufs->buf[memcpy_cnt], 0, copy_size); in BPF_CALL_5()
726 params[fmt_cnt] = (u64)(long)bufs->buf[memcpy_cnt]; in BPF_CALL_5()
[all …]