Searched refs:max_optlen (Results 1 – 3 of 3) sorted by relevance
/linux/kernel/bpf/ |
A D | cgroup.c | 1381 max_optlen = PAGE_SIZE; in sockopt_alloc_buf() 1390 return max_optlen; in sockopt_alloc_buf() 1399 return max_optlen; in sockopt_alloc_buf() 1427 int ret, max_optlen; in __cgroup_bpf_run_filter_setsockopt() local 1442 max_optlen = sockopt_alloc_buf(&ctx, max_optlen, &buf); in __cgroup_bpf_run_filter_setsockopt() 1443 if (max_optlen < 0) in __cgroup_bpf_run_filter_setsockopt() 1444 return max_optlen; in __cgroup_bpf_run_filter_setsockopt() 1532 ctx.optlen = max_optlen; in __cgroup_bpf_run_filter_getsockopt() 1534 max_optlen = sockopt_alloc_buf(&ctx, max_optlen, &buf); in __cgroup_bpf_run_filter_getsockopt() 1535 if (max_optlen < 0) in __cgroup_bpf_run_filter_getsockopt() [all …]
|
/linux/include/linux/ |
A D | bpf-cgroup.h | 190 int __user *optlen, int max_optlen, 421 max_optlen, retval) \ argument 431 max_optlen, retval); \ 522 optlen, max_optlen, retval) ({ retval; }) argument
|
/linux/net/ |
A D | socket.c | 2202 int max_optlen; in __sys_getsockopt() local 2213 max_optlen = BPF_CGROUP_GETSOCKOPT_MAX_OPTLEN(optlen); in __sys_getsockopt() 2225 optval, optlen, max_optlen, in __sys_getsockopt()
|
Completed in 15 milliseconds