Home
last modified time | relevance | path

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

/kernel/bpf/
Dhelpers.c446 size_t cur_len = buf_len; in __bpf_strtoull() local
468 cur_len -= consumed; in __bpf_strtoull()
469 if (!cur_len) in __bpf_strtoull()
472 cur_len = min(cur_len, sizeof(str) - 1); in __bpf_strtoull()
473 memcpy(str, cur_buf, cur_len); in __bpf_strtoull()
474 str[cur_len] = '\0'; in __bpf_strtoull()
Dcgroup.c1324 .cur_len = PAGE_SIZE, in __cgroup_bpf_run_filter_sysctl()
1333 ctx.cur_val = kmalloc_track_caller(ctx.cur_len, GFP_KERNEL); in __cgroup_bpf_run_filter_sysctl()
1335 table->proc_handler(table, 0, ctx.cur_val, &ctx.cur_len, &pos)) { in __cgroup_bpf_run_filter_sysctl()
1337 ctx.cur_len = 0; in __cgroup_bpf_run_filter_sysctl()
1773 return copy_sysctl_value(buf, buf_len, ctx->cur_val, ctx->cur_len); in BPF_CALL_3()