Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dnetif_receive_skb.c16 #define STRSIZE 2048 macro
34 __type(value, char[STRSIZE]);
71 ret = bpf_snprintf_btf(_str, STRSIZE, \
115 ret = bpf_snprintf_btf(str, STRSIZE, &p, sizeof(p), 0); in BPF_PROG()
123 __ret = bpf_snprintf_btf(str, STRSIZE, &p, sizeof(p), 0); in BPF_PROG()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_dump.c258 #define STRSIZE 4096 macro
262 char *s = ctx, new[STRSIZE]; in btf_dump_snprintf()
264 vsnprintf(new, STRSIZE, fmt, args); in btf_dump_snprintf()
265 if (strlen(s) < STRSIZE) in btf_dump_snprintf()
266 strncat(s, new, STRSIZE - strlen(s) - 1); in btf_dump_snprintf()
861 char str[STRSIZE]; in test_btf_dump()