Searched refs:optval (Results 1 – 1 of 1) sorted by relevance
1404 ctx->optval = buf->data; in sockopt_alloc_buf()1405 ctx->optval_end = ctx->optval + max_optlen; in sockopt_alloc_buf()1409 ctx->optval = kzalloc(max_optlen, GFP_USER); in sockopt_alloc_buf()1410 if (!ctx->optval) in sockopt_alloc_buf()1413 ctx->optval_end = ctx->optval + max_optlen; in sockopt_alloc_buf()1421 if (ctx->optval == buf->data) in sockopt_free_buf()1423 kfree(ctx->optval); in sockopt_free_buf()1429 return ctx->optval != buf->data; in sockopt_buf_allocated()1433 int *optname, char __user *optval, in __cgroup_bpf_run_filter_setsockopt() argument1464 if (copy_from_user(ctx.optval, optval, min(*optlen, max_optlen)) != 0) { in __cgroup_bpf_run_filter_setsockopt()[all …]