Lines Matching defs:rc
212 int i, nr_ptnote=0, rc=0;
234 rc = read_from_oldmem(notes_section, max_sz, &offset, 0);
235 if (rc < 0) {
237 return rc;
293 int i, nr_ptnote=0, rc=0;
315 rc = read_from_oldmem(notes_section, max_sz, &offset, 0);
316 if (rc < 0) {
318 return rc;
488 int rc=0;
495 rc = read_from_oldmem((char*)&ehdr, sizeof(Elf64_Ehdr), &addr, 0);
496 if (rc < 0)
497 return rc;
520 rc = read_from_oldmem(elfcorebuf, elfcorebuf_sz, &addr, 0);
521 if (rc < 0) {
523 return rc;
527 rc = merge_note_headers_elf64(elfcorebuf, &elfcorebuf_sz, &vmcore_list);
528 if (rc) {
530 return rc;
532 rc = process_ptload_program_headers_elf64(elfcorebuf, elfcorebuf_sz,
534 if (rc) {
536 return rc;
544 int rc=0;
551 rc = read_from_oldmem((char*)&ehdr, sizeof(Elf32_Ehdr), &addr, 0);
552 if (rc < 0)
553 return rc;
576 rc = read_from_oldmem(elfcorebuf, elfcorebuf_sz, &addr, 0);
577 if (rc < 0) {
579 return rc;
583 rc = merge_note_headers_elf32(elfcorebuf, &elfcorebuf_sz, &vmcore_list);
584 if (rc) {
586 return rc;
588 rc = process_ptload_program_headers_elf32(elfcorebuf, elfcorebuf_sz,
590 if (rc) {
592 return rc;
602 int rc=0;
605 rc = read_from_oldmem(e_ident, EI_NIDENT, &addr, 0);
606 if (rc < 0)
607 return rc;
615 rc = parse_crash_elf64_headers();
616 if (rc)
617 return rc;
622 rc = parse_crash_elf32_headers();
623 if (rc)
624 return rc;
639 int rc = 0;
643 return rc;
644 rc = parse_crash_elf_headers();
645 if (rc) {
647 return rc;