Searched refs:max_optlen (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/kernel/bpf/ |
H A D | cgroup.c | 1783 max_optlen = PAGE_SIZE; in sockopt_alloc_buf() 1792 return max_optlen; in sockopt_alloc_buf() 1801 return max_optlen; in sockopt_alloc_buf() 1829 int ret, max_optlen; in __cgroup_bpf_run_filter_setsockopt() local 1836 max_optlen = sockopt_alloc_buf(&ctx, max_optlen, &buf); in __cgroup_bpf_run_filter_setsockopt() 1837 if (max_optlen < 0) in __cgroup_bpf_run_filter_setsockopt() 1838 return max_optlen; in __cgroup_bpf_run_filter_setsockopt() 1926 ctx.optlen = max_optlen; in __cgroup_bpf_run_filter_getsockopt() 1927 max_optlen = sockopt_alloc_buf(&ctx, max_optlen, &buf); in __cgroup_bpf_run_filter_getsockopt() 1928 if (max_optlen < 0) in __cgroup_bpf_run_filter_getsockopt() [all …]
|
/openbmc/linux/include/linux/ |
H A D | bpf-cgroup.h | 146 sockptr_t optlen, int max_optlen, 379 max_optlen, retval) \ argument 390 max_optlen, retval); \ 496 optlen, max_optlen, retval) ({ retval; }) argument
|
/openbmc/linux/net/ |
H A D | socket.c | 2363 int max_optlen __maybe_unused = 0; in do_sock_getsockopt() 2372 copy_from_sockptr(&max_optlen, optlen, sizeof(int)); in do_sock_getsockopt() 2390 optval, optlen, max_optlen, in do_sock_getsockopt()
|