Lines Matching refs:log_sz
6899 static void patch_log(char *buf, size_t buf_sz, size_t log_sz, in patch_log() argument
6903 size_t rem_sz = (buf + log_sz) - (orig + orig_sz); in patch_log()
6924 } else if (patch_sz - orig_sz > buf_sz - log_sz) { in patch_log()
6926 rem_sz -= (patch_sz - orig_sz) - (buf_sz - log_sz); in patch_log()
6937 char *buf, size_t buf_sz, size_t log_sz, in fixup_log_failed_core_relo() argument
6972 patch_log(buf, buf_sz, log_sz, line1, line3 - line1, patch); in fixup_log_failed_core_relo()
6976 char *buf, size_t buf_sz, size_t log_sz, in fixup_log_missing_map_load() argument
7005 patch_log(buf, buf_sz, log_sz, line1, line3 - line1, patch); in fixup_log_missing_map_load()
7013 size_t log_sz; in fixup_verifier_log() local
7019 log_sz = strlen(buf) + 1; in fixup_verifier_log()
7020 next_line = buf + log_sz - 1; in fixup_verifier_log()
7033 fixup_log_failed_core_relo(prog, buf, buf_sz, log_sz, in fixup_verifier_log()
7041 fixup_log_missing_map_load(prog, buf, buf_sz, log_sz, in fixup_verifier_log()