Home
last modified time | relevance | path

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

/kernel/bpf/
Dhelpers.c391 size_t cur_len = buf_len; in __bpf_strtoull() local
413 cur_len -= consumed; in __bpf_strtoull()
414 if (!cur_len) in __bpf_strtoull()
417 cur_len = min(cur_len, sizeof(str) - 1); in __bpf_strtoull()
418 memcpy(str, cur_buf, cur_len); in __bpf_strtoull()
419 str[cur_len] = '\0'; in __bpf_strtoull()
Dcgroup.c896 .cur_len = PAGE_SIZE, in __cgroup_bpf_run_filter_sysctl()
904 ctx.cur_val = kmalloc_track_caller(ctx.cur_len, GFP_KERNEL); in __cgroup_bpf_run_filter_sysctl()
912 &ctx.cur_len, &pos)) { in __cgroup_bpf_run_filter_sysctl()
914 ctx.cur_len = 0; in __cgroup_bpf_run_filter_sysctl()
919 ctx.cur_len = 0; in __cgroup_bpf_run_filter_sysctl()
1258 return copy_sysctl_value(buf, buf_len, ctx->cur_val, ctx->cur_len); in BPF_CALL_3()