Searched refs:STRSIZE (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | netif_receive_skb.c | 16 #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 D | btf_dump.c | 258 #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()
|