Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sysctl_loop1.c19 #define MAX_VALUE_STR_LEN (TCP_MEM_LOOPS * MAX_ULONG_STR_LEN) macro
45 char value[MAX_VALUE_STR_LEN]; in sysctl_tcp_mem()
58 ret = bpf_sysctl_get_current_value(ctx, value, MAX_VALUE_STR_LEN); in sysctl_tcp_mem()
59 if (ret < 0 || ret >= MAX_VALUE_STR_LEN) in sysctl_tcp_mem()
H A Dtest_sysctl_loop2.c19 #define MAX_VALUE_STR_LEN (TCP_MEM_LOOPS * MAX_ULONG_STR_LEN) macro
46 char value[MAX_VALUE_STR_LEN]; in sysctl_tcp_mem()
56 ret = bpf_sysctl_get_current_value(ctx, value, MAX_VALUE_STR_LEN); in sysctl_tcp_mem()
57 if (ret < 0 || ret >= MAX_VALUE_STR_LEN) in sysctl_tcp_mem()
H A Dtest_sysctl_prog.c16 #define MAX_VALUE_STR_LEN 0x40 macro
46 char value[MAX_VALUE_STR_LEN]; in sysctl_tcp_mem()
56 ret = bpf_sysctl_get_current_value(ctx, value, MAX_VALUE_STR_LEN); in sysctl_tcp_mem()
57 if (ret < 0 || ret >= MAX_VALUE_STR_LEN) in sysctl_tcp_mem()