Lines Matching refs:buf
191 BPF_CALL_2(bpf_get_current_comm, char *, buf, u32, size) in BPF_CALL_2() argument
198 strncpy(buf, task->comm, size); in BPF_CALL_2()
204 buf[size - 1] = 0; in BPF_CALL_2()
207 memset(buf, 0, size); in BPF_CALL_2()
346 ptr = &READ_ONCE(storage->buf)->data[0]; in BPF_CALL_2()
364 static int __bpf_strtoull(const char *buf, size_t buf_len, u64 flags, in __bpf_strtoull() argument
368 const char *cur_buf = buf; in __bpf_strtoull()
374 if (!buf || !buf_len || !res || !is_negative) in __bpf_strtoull()
383 while (cur_buf < buf + buf_len && isspace(*cur_buf)) in __bpf_strtoull()
386 *is_negative = (cur_buf < buf + buf_len && *cur_buf == '-'); in __bpf_strtoull()
390 consumed = cur_buf - buf; in __bpf_strtoull()
415 static int __bpf_strtoll(const char *buf, size_t buf_len, u64 flags, in __bpf_strtoll() argument
422 err = __bpf_strtoull(buf, buf_len, flags, &_res, &is_negative); in __bpf_strtoll()
437 BPF_CALL_4(bpf_strtol, const char *, buf, size_t, buf_len, u64, flags, in BPF_CALL_4() argument
443 err = __bpf_strtoll(buf, buf_len, flags, &_res); in BPF_CALL_4()
462 BPF_CALL_4(bpf_strtoul, const char *, buf, size_t, buf_len, u64, flags, in BPF_CALL_4() argument
469 err = __bpf_strtoull(buf, buf_len, flags, &_res, &is_negative); in BPF_CALL_4()