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