Home
last modified time | relevance | path

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

/kernel/
Daudit.c1976 int i, avail, new_len; in audit_log_n_hex() local
1986 new_len = len<<1; in audit_log_n_hex()
1987 if (new_len >= avail) { in audit_log_n_hex()
1989 new_len = AUDIT_BUFSIZ*(((new_len-avail)/AUDIT_BUFSIZ) + 1); in audit_log_n_hex()
1990 avail = audit_expand(ab, new_len); in audit_log_n_hex()
2009 int avail, new_len; in audit_log_n_string() local
2019 new_len = slen + 3; /* enclosing quotes + null terminator */ in audit_log_n_string()
2020 if (new_len > avail) { in audit_log_n_string()
2021 avail = audit_expand(ab, new_len); in audit_log_n_string()
/kernel/bpf/
Dcgroup.c898 .new_len = 0, in __cgroup_bpf_run_filter_sysctl()
927 ctx.new_len = min_t(size_t, PAGE_SIZE, *pcount); in __cgroup_bpf_run_filter_sysctl()
929 copy_from_user(ctx.new_val, buf, ctx.new_len)) in __cgroup_bpf_run_filter_sysctl()
931 ctx.new_len = 0; in __cgroup_bpf_run_filter_sysctl()
943 *pcount = ctx.new_len; in __cgroup_bpf_run_filter_sysctl()
1278 return copy_sysctl_value(buf, buf_len, ctx->new_val, ctx->new_len); in BPF_CALL_3()
1293 if (!ctx->write || !ctx->new_val || !ctx->new_len || !buf || !buf_len) in BPF_CALL_3()
1300 ctx->new_len = buf_len; in BPF_CALL_3()