Searched refs:left_cnt (Results 1 – 1 of 1) sorted by relevance
17 size_t left_cnt; in libbpf_print_cb() local19 left_cnt = sizeof(libbpf_log_buf) - libbpf_log_pos; in libbpf_print_cb()20 emitted_cnt = vsnprintf(libbpf_log_buf + libbpf_log_pos, left_cnt, fmt, args); in libbpf_print_cb()22 if (emitted_cnt < 0 || emitted_cnt + 1 > left_cnt) { in libbpf_print_cb()