Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_sysctl_loop2.c18 #define MAX_ULONG_STR_LEN 7 macro
19 #define MAX_VALUE_STR_LEN (TCP_MEM_LOOPS * MAX_ULONG_STR_LEN)
62 ret = bpf_strtoul(value + off, MAX_ULONG_STR_LEN, 0, in sysctl_tcp_mem()
64 if (ret <= 0 || ret > MAX_ULONG_STR_LEN) in sysctl_tcp_mem()
66 off += ret & MAX_ULONG_STR_LEN; in sysctl_tcp_mem()
Dtest_sysctl_loop1.c18 #define MAX_ULONG_STR_LEN 7 macro
19 #define MAX_VALUE_STR_LEN (TCP_MEM_LOOPS * MAX_ULONG_STR_LEN)
64 ret = bpf_strtoul(value + off, MAX_ULONG_STR_LEN, 0, in sysctl_tcp_mem()
66 if (ret <= 0 || ret > MAX_ULONG_STR_LEN) in sysctl_tcp_mem()
68 off += ret & MAX_ULONG_STR_LEN; in sysctl_tcp_mem()
Dtest_sysctl_prog.c13 #define MAX_ULONG_STR_LEN 0xF macro
62 ret = bpf_strtoul(value + off, MAX_ULONG_STR_LEN, 0, in sysctl_tcp_mem()
64 if (ret <= 0 || ret > MAX_ULONG_STR_LEN) in sysctl_tcp_mem()
66 off += ret & MAX_ULONG_STR_LEN; in sysctl_tcp_mem()