Searched refs:new_len (Results 1 – 2 of 2) sorted by relevance
/kernel/ |
D | audit.c | 1907 int i, avail, new_len; in audit_log_n_hex() local 1917 new_len = len<<1; in audit_log_n_hex() 1918 if (new_len >= avail) { in audit_log_n_hex() 1920 new_len = AUDIT_BUFSIZ*(((new_len-avail)/AUDIT_BUFSIZ) + 1); in audit_log_n_hex() 1921 avail = audit_expand(ab, new_len); in audit_log_n_hex() 1940 int avail, new_len; in audit_log_n_string() local 1950 new_len = slen + 3; /* enclosing quotes + null terminator */ in audit_log_n_string() 1951 if (new_len > avail) { in audit_log_n_string() 1952 avail = audit_expand(ab, new_len); in audit_log_n_string()
|
/kernel/bpf/ |
D | cgroup.c | 895 .new_len = 0, in __cgroup_bpf_run_filter_sysctl() 924 ctx.new_len = min_t(size_t, PAGE_SIZE, *pcount); in __cgroup_bpf_run_filter_sysctl() 926 copy_from_user(ctx.new_val, buf, ctx.new_len)) in __cgroup_bpf_run_filter_sysctl() 928 ctx.new_len = 0; in __cgroup_bpf_run_filter_sysctl() 940 *pcount = ctx.new_len; in __cgroup_bpf_run_filter_sysctl() 1253 return copy_sysctl_value(buf, buf_len, ctx->new_val, ctx->new_len); in BPF_CALL_3() 1268 if (!ctx->write || !ctx->new_val || !ctx->new_len || !buf || !buf_len) in BPF_CALL_3() 1275 ctx->new_len = buf_len; in BPF_CALL_3()
|