Searched refs:cur_len (Results 1 – 2 of 2) sorted by relevance
/kernel/bpf/ |
D | helpers.c | 443 size_t cur_len = buf_len; in __bpf_strtoull() local 465 cur_len -= consumed; in __bpf_strtoull() 466 if (!cur_len) in __bpf_strtoull() 469 cur_len = min(cur_len, sizeof(str) - 1); in __bpf_strtoull() 470 memcpy(str, cur_buf, cur_len); in __bpf_strtoull() 471 str[cur_len] = '\0'; in __bpf_strtoull()
|
D | cgroup.c | 1692 .cur_len = PAGE_SIZE, in __cgroup_bpf_run_filter_sysctl() 1701 ctx.cur_val = kmalloc_track_caller(ctx.cur_len, GFP_KERNEL); in __cgroup_bpf_run_filter_sysctl() 1703 table->proc_handler(table, 0, ctx.cur_val, &ctx.cur_len, &pos)) { in __cgroup_bpf_run_filter_sysctl() 1705 ctx.cur_len = 0; in __cgroup_bpf_run_filter_sysctl() 2092 return copy_sysctl_value(buf, buf_len, ctx->cur_val, ctx->cur_len); in BPF_CALL_3()
|