Lines Matching defs:buf_len
445 static int __bpf_strtoull(const char *buf, size_t buf_len, u64 flags,
450 size_t cur_len = buf_len;
455 if (!buf || !buf_len || !res || !is_negative)
464 while (cur_buf < buf + buf_len && isspace(*cur_buf))
467 *is_negative = (cur_buf < buf + buf_len && *cur_buf == '-');
496 static int __bpf_strtoll(const char *buf, size_t buf_len, u64 flags,
503 err = __bpf_strtoull(buf, buf_len, flags, &_res, &is_negative);
518 BPF_CALL_4(bpf_strtol, const char *, buf, size_t, buf_len, u64, flags,
524 err = __bpf_strtoll(buf, buf_len, flags, &_res);
543 BPF_CALL_4(bpf_strtoul, const char *, buf, size_t, buf_len, u64, flags,
550 err = __bpf_strtoull(buf, buf_len, flags, &_res, &is_negative);