Lines Matching refs:external_filehdr

49 struct external_filehdr  struct
301 unsigned char hdrbuf[sizeof (struct external_filehdr)]; in simple_object_xcoff_match()
326 ocr->nscns = fetch_16 (hdrbuf + offsetof (struct external_filehdr, f_nscns)); in simple_object_xcoff_match()
330 + offsetof (struct external_filehdr, in simple_object_xcoff_match()
332 ocr->nsyms = fetch_32 (hdrbuf + offsetof (struct external_filehdr, in simple_object_xcoff_match()
334 ocr->scnhdr_offset = (sizeof (struct external_filehdr) in simple_object_xcoff_match()
335 + fetch_16 (hdrbuf + offsetof (struct external_filehdr, in simple_object_xcoff_match()
342 + offsetof (struct external_filehdr, in simple_object_xcoff_match()
344 ocr->nsyms = fetch_32 (hdrbuf + offsetof (struct external_filehdr, in simple_object_xcoff_match()
346 ocr->scnhdr_offset = (sizeof (struct external_filehdr) - 4 in simple_object_xcoff_match()
347 + fetch_16 (hdrbuf + offsetof (struct external_filehdr, in simple_object_xcoff_match()
579 unsigned char hdrbuf[sizeof (struct external_filehdr)]; in simple_object_xcoff_write_filehdr()
591 memset (hdr, 0, sizeof (struct external_filehdr)); in simple_object_xcoff_write_filehdr()
593 set_16 (hdr + offsetof (struct external_filehdr, f_magic), attrs->magic); in simple_object_xcoff_write_filehdr()
594 set_16 (hdr + offsetof (struct external_filehdr, f_nscns), nscns); in simple_object_xcoff_write_filehdr()
598 set_64 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_symptr), in simple_object_xcoff_write_filehdr()
600 set_32 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_nsyms), in simple_object_xcoff_write_filehdr()
603 set_16 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_flags), in simple_object_xcoff_write_filehdr()
608 set_32 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_symptr), in simple_object_xcoff_write_filehdr()
610 set_32 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_nsyms), in simple_object_xcoff_write_filehdr()
613 set_16 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_flags), in simple_object_xcoff_write_filehdr()
618 sizeof (struct external_filehdr), in simple_object_xcoff_write_filehdr()
731 scnhdr_offset = sizeof (struct external_filehdr) - (u64 ? 4 : 0); in simple_object_xcoff_write_to_file()