Lines Matching refs:tmp_log_buf
787 char *tmp_log_buf = NULL, *opts_log_buf = NULL; in bcc_prog_load_xattr() local
807 tmp_log_buf = malloc(tmp_log_buf_size); in bcc_prog_load_xattr()
808 if (!tmp_log_buf) { in bcc_prog_load_xattr()
813 tmp_log_buf[0] = 0; in bcc_prog_load_xattr()
814 opts_log_buf = tmp_log_buf; in bcc_prog_load_xattr()
947 if (tmp_log_buf) in bcc_prog_load_xattr()
948 free(tmp_log_buf); in bcc_prog_load_xattr()
953 tmp_log_buf = malloc(tmp_log_buf_size); in bcc_prog_load_xattr()
954 if (!tmp_log_buf) { in bcc_prog_load_xattr()
959 tmp_log_buf[0] = 0; in bcc_prog_load_xattr()
960 …f_prog_load(prog_type, new_prog_name, license, insns, insns_cnt, opts, tmp_log_buf, tmp_log_buf_si… in bcc_prog_load_xattr()
963 free(tmp_log_buf); in bcc_prog_load_xattr()
964 tmp_log_buf = NULL; in bcc_prog_load_xattr()
979 else if (tmp_log_buf) in bcc_prog_load_xattr()
980 bpf_print_hints(ret, tmp_log_buf); in bcc_prog_load_xattr()
986 if (tmp_log_buf) in bcc_prog_load_xattr()
987 free(tmp_log_buf); in bcc_prog_load_xattr()