Home
last modified time | relevance | path

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

/kernel/
Daudit.c2032 int i, avail, new_len; in audit_log_n_hex() local
2042 new_len = len<<1; in audit_log_n_hex()
2043 if (new_len >= avail) { in audit_log_n_hex()
2045 new_len = AUDIT_BUFSIZ*(((new_len-avail)/AUDIT_BUFSIZ) + 1); in audit_log_n_hex()
2046 avail = audit_expand(ab, new_len); in audit_log_n_hex()
2065 int avail, new_len; in audit_log_n_string() local
2075 new_len = slen + 3; /* enclosing quotes + null terminator */ in audit_log_n_string()
2076 if (new_len > avail) { in audit_log_n_string()
2077 avail = audit_expand(ab, new_len); in audit_log_n_string()
/kernel/bpf/
Dringbuf.c461 u32 new_len; in bpf_ringbuf_commit() local
465 new_len = hdr->len ^ BPF_RINGBUF_BUSY_BIT; in bpf_ringbuf_commit()
467 new_len |= BPF_RINGBUF_DISCARD_BIT; in bpf_ringbuf_commit()
470 xchg(&hdr->len, new_len); in bpf_ringbuf_commit()
Dcgroup.c1694 .new_len = 0, in __cgroup_bpf_run_filter_sysctl()
1713 ctx.new_len = min_t(size_t, PAGE_SIZE, *pcount); in __cgroup_bpf_run_filter_sysctl()
1715 memcpy(ctx.new_val, *buf, ctx.new_len); in __cgroup_bpf_run_filter_sysctl()
1718 ctx.new_len = 0; in __cgroup_bpf_run_filter_sysctl()
1733 *pcount = ctx.new_len; in __cgroup_bpf_run_filter_sysctl()
2112 return copy_sysctl_value(buf, buf_len, ctx->new_val, ctx->new_len); in BPF_CALL_3()
2127 if (!ctx->write || !ctx->new_val || !ctx->new_len || !buf || !buf_len) in BPF_CALL_3()
2134 ctx->new_len = buf_len; in BPF_CALL_3()
/kernel/events/
Dcore.c9136 u16 new_len; member
9170 perf_output_put(&handle, text_poke_event->new_len); in perf_event_text_poke_output()
9173 __output_copy(&handle, text_poke_event->new_bytes, text_poke_event->new_len); in perf_event_text_poke_output()
9184 size_t old_len, const void *new_bytes, size_t new_len) in perf_event_text_poke() argument
9193 tot += sizeof(text_poke_event.new_len) + new_len; in perf_event_text_poke()
9201 .new_len = new_len, in perf_event_text_poke()