Home
last modified time | relevance | path

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

/kernel/bpf/
Dcgroup.c1759 ctx->optval = buf->data; in sockopt_alloc_buf()
1760 ctx->optval_end = ctx->optval + max_optlen; in sockopt_alloc_buf()
1764 ctx->optval = kzalloc(max_optlen, GFP_USER); in sockopt_alloc_buf()
1765 if (!ctx->optval) in sockopt_alloc_buf()
1768 ctx->optval_end = ctx->optval + max_optlen; in sockopt_alloc_buf()
1776 if (ctx->optval == buf->data) in sockopt_free_buf()
1778 kfree(ctx->optval); in sockopt_free_buf()
1784 return ctx->optval != buf->data; in sockopt_buf_allocated()
1788 int *optname, char __user *optval, in __cgroup_bpf_run_filter_setsockopt() argument
1811 if (copy_from_user(ctx.optval, optval, min(*optlen, max_optlen)) != 0) { in __cgroup_bpf_run_filter_setsockopt()
[all …]