Lines Matching refs:buf_len
2033 size_t, buf_len, u64, flags) in BPF_CALL_4() argument
2043 tmp_ret = sysctl_cpy_dir(ctx->head->parent, &buf, &buf_len); in BPF_CALL_4()
2048 ret = strscpy(buf, ctx->table->procname, buf_len); in BPF_CALL_4()
2090 char *, buf, size_t, buf_len) in BPF_CALL_3() argument
2092 return copy_sysctl_value(buf, buf_len, ctx->cur_val, ctx->cur_len); in BPF_CALL_3()
2105 size_t, buf_len) in BPF_CALL_3() argument
2108 if (buf && buf_len) in BPF_CALL_3()
2109 memset(buf, '\0', buf_len); in BPF_CALL_3()
2112 return copy_sysctl_value(buf, buf_len, ctx->new_val, ctx->new_len); in BPF_CALL_3()
2125 const char *, buf, size_t, buf_len) in BPF_CALL_3() argument
2127 if (!ctx->write || !ctx->new_val || !ctx->new_len || !buf || !buf_len) in BPF_CALL_3()
2130 if (buf_len > PAGE_SIZE - 1) in BPF_CALL_3()
2133 memcpy(ctx->new_val, buf, buf_len); in BPF_CALL_3()
2134 ctx->new_len = buf_len; in BPF_CALL_3()