Lines Matching refs:buf
207 BPF_CALL_2(bpf_get_current_comm, char *, buf, u32, size) in BPF_CALL_2() argument
214 strncpy(buf, task->comm, size); in BPF_CALL_2()
220 buf[size - 1] = 0; in BPF_CALL_2()
223 memset(buf, 0, size); in BPF_CALL_2()
398 ptr = &READ_ONCE(storage->buf)->data[0]; in BPF_CALL_2()
416 static int __bpf_strtoull(const char *buf, size_t buf_len, u64 flags, in __bpf_strtoull() argument
420 const char *cur_buf = buf; in __bpf_strtoull()
426 if (!buf || !buf_len || !res || !is_negative) in __bpf_strtoull()
435 while (cur_buf < buf + buf_len && isspace(*cur_buf)) in __bpf_strtoull()
438 *is_negative = (cur_buf < buf + buf_len && *cur_buf == '-'); in __bpf_strtoull()
442 consumed = cur_buf - buf; in __bpf_strtoull()
467 static int __bpf_strtoll(const char *buf, size_t buf_len, u64 flags, in __bpf_strtoll() argument
474 err = __bpf_strtoull(buf, buf_len, flags, &_res, &is_negative); in __bpf_strtoll()
489 BPF_CALL_4(bpf_strtol, const char *, buf, size_t, buf_len, u64, flags, in BPF_CALL_4() argument
495 err = __bpf_strtoll(buf, buf_len, flags, &_res); in BPF_CALL_4()
514 BPF_CALL_4(bpf_strtoul, const char *, buf, size_t, buf_len, u64, flags, in BPF_CALL_4() argument
521 err = __bpf_strtoull(buf, buf_len, flags, &_res, &is_negative); in BPF_CALL_4()