Searched refs:ec (Results 1 - 25 of 30) sorted by relevance

12

/gem5/ext/libelf/
H A Delf_phnum.c37 int ec; local
40 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) {
45 if ((eh = _libelf_ehdr(e, ec, 0)) == NULL)
H A Delf_shnum.c37 int ec; local
40 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) {
45 if ((eh = _libelf_ehdr(e, ec, 0)) == NULL)
H A Dgelf_checksum.c47 int ec; local
49 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) {
53 return (_libelf_checksum(e, ec));
H A Dlibelf_shdr.c32 _libelf_getshdr(Elf_Scn *s, int ec) argument
42 if (ec == ELFCLASSNONE)
43 ec = e->e_class;
45 if (ec != e->e_class) {
H A Delf_shstrndx.c37 int ec; local
40 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) {
45 if ((eh = _libelf_ehdr(e, ec, 0)) == NULL)
57 int ec; local
60 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64) ||
61 ((eh = _libelf_ehdr(e, ec, 0)) == NULL)) {
66 return (_libelf_setshstrndx(e, eh, ec, strndx));
H A Dgelf_dyn.c36 int ec; local
51 ec = e->e_class;
52 assert(ec == ELFCLASS32 || ec == ELFCLASS64);
54 if (ec == ELFCLASS32)
64 msz = _libelf_msize(ELF_T_DYN, ec, e->e_version);
73 if (ec == ELFCLASS32) {
92 int ec; local
107 ec = e->e_class;
108 assert(ec
[all...]
H A Dgelf_rel.c37 int ec; local
52 ec = e->e_class;
53 assert(ec == ELFCLASS32 || ec == ELFCLASS64);
55 if (ec == ELFCLASS32)
65 msz = _libelf_msize(ELF_T_REL, ec, e->e_version);
74 if (ec == ELFCLASS32) {
93 int ec; local
108 ec = e->e_class;
109 assert(ec
[all...]
H A Dgelf_rela.c37 int ec; local
52 ec = e->e_class;
53 assert(ec == ELFCLASS32 || ec == ELFCLASS64);
55 if (ec == ELFCLASS32)
65 msz = _libelf_msize(ELF_T_RELA, ec, e->e_version);
74 if (ec == ELFCLASS32) {
94 int ec; local
109 ec = e->e_class;
110 assert(ec
[all...]
H A Dlibelf_extended.c47 _libelf_setshnum(Elf *e, void *eh, int ec, size_t shnum) argument
57 if (ec == ELFCLASS32)
67 if (ec == ELFCLASS32)
77 _libelf_setshstrndx(Elf *e, void *eh, int ec, size_t shstrndx) argument
87 if (ec == ELFCLASS32)
97 if (ec == ELFCLASS32)
106 _libelf_setphnum(Elf *e, void *eh, int ec, size_t phnum) argument
116 if (ec == ELFCLASS32)
126 if (ec == ELFCLASS32)
H A Dgelf_symshndx.c38 int ec; local
54 ec = e->e_class;
55 assert(ec == ELFCLASS32 || ec == ELFCLASS64);
57 if (ec == ELFCLASS32)
68 msz = _libelf_msize(ELF_T_WORD, ec, e->e_version);
86 int ec; local
101 ec = e->e_class;
102 assert(ec == ELFCLASS32 || ec
[all...]
H A Dlibelf_phdr.c37 _libelf_getphdr(Elf *e, int ec) argument
47 assert(ec == ELFCLASS32 || ec == ELFCLASS64);
54 if ((phdr = (ec == ELFCLASS32 ?
63 if ((ehdr = _libelf_ehdr(e, ec, 0)) == NULL)
68 if (ec == ELFCLASS32) {
87 msz = _libelf_msize(ELF_T_PHDR, ec, EV_CURRENT);
96 if (ec == ELFCLASS32)
102 xlator = _libelf_get_translator(ELF_T_PHDR, ELF_TOMEMORY, ec);
110 _libelf_newphdr(Elf *e, int ec, size_ argument
[all...]
H A Dgelf_ehdr.c51 int ec; local
56 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) {
61 if (ec == ELFCLASS32) {
83 assert(ec == ELFCLASS64);
105 gelf_newehdr(Elf *e, int ec) argument
108 (ec == ELFCLASS32 || ec == ELFCLASS64))
109 return (_libelf_ehdr(e, ec, 1));
118 int ec; local
[all...]
H A Dgelf_sym.c37 int ec; local
52 ec = e->e_class;
53 assert(ec == ELFCLASS32 || ec == ELFCLASS64);
55 if (ec == ELFCLASS32)
65 msz = _libelf_msize(ELF_T_SYM, ec, e->e_version);
74 if (ec == ELFCLASS32) {
98 int ec; local
113 ec = e->e_class;
114 assert(ec
[all...]
H A Dgelf_shdr.c50 int ec; local
63 ec = s->s_elf->e_class;
64 assert(ec == ELFCLASS32 || ec == ELFCLASS64);
66 if (ec == ELFCLASS32) {
90 int ec; local
97 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) {
107 if (ec == ELFCLASS64) {
H A Delf_flag.c60 int ec; local
68 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) {
73 if (ec == ELFCLASS32)
111 int ec; local
119 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) {
124 if (ec == ELFCLASS32)
H A Dlibelf_ehdr.c41 _libelf_load_extended(Elf *e, int ec, uint64_t shoff, uint16_t phnum, argument
51 fsz = _libelf_fsize(ELF_T_SHDR, ec, e->e_version, 1);
62 xlator = _libelf_get_translator(ELF_T_SHDR, ELF_TOMEMORY, ec);
66 #define GET_SHDR_MEMBER(M) ((ec == ELFCLASS32) ? scn->s_shdr.s_shdr32.M : \
99 _libelf_ehdr(Elf *e, int ec, int allocate) argument
107 assert(ec == ELFCLASS32 || ec == ELFCLASS64);
114 if (e->e_class != ELFCLASSNONE && e->e_class != ec) {
125 e->e_class = ec;
127 if (ec
[all...]
H A Dgelf_phdr.c49 int ec; local
56 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64) ||
62 if (ec == ELFCLASS32) {
126 int ec, phnum; local
132 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) {
142 if ((ehdr = _libelf_ehdr(e, ec, 0)) == NULL)
145 if (ec == ELFCLASS32)
155 if (ec
[all...]
H A Delf_scn.c43 int ec, swapbytes; local
64 ec = e->e_class;
65 fsz = _libelf_fsize(ELF_T_SHDR, ec, e->e_version, (size_t) 1);
70 if (ec == ELFCLASS32) {
80 xlator = _libelf_get_translator(ELF_T_SHDR, ELF_TOMEMORY, ec);
105 if (ec == ELFCLASS32) {
125 int ec; local
130 ((ec = e->e_class) != ELFCLASS32 && ec != ELFCLASS64)) {
135 if ((ehdr = _libelf_ehdr(e, ec,
164 int ec; local
[all...]
H A Delf_update.c77 int ec; local
101 ec = e->e_class;
103 if (ec == ELFCLASS32) {
138 sh_align = _libelf_falign(elftype, ec);
200 (sh_entsize = _libelf_fsize(elftype, ec, e->e_version,
207 if (ec == ELFCLASS32) {
269 int ec; local
274 ec = e->e_class;
287 if (ec == ELFCLASS32)
323 int ec, eh_clas local
504 int ec; local
622 int ec; local
837 int ec; local
[all...]
/gem5/util/batch/
H A Dbatch.py142 ec = oar.wait()
144 if ec != 0 and self.oarhost:
239 ec = pbs.wait()
241 if ec != 0 and self.pbshost:
247 ec = ssh.wait()
249 return ec
H A Djob.py232 thepid,ec = os.waitpid(childpid, 0)
233 if ec:
234 print 'Exit code ', ec
/gem5/src/arch/arm/
H A Dfaults.hh180 const ExceptionClass ec; member in struct:ArmISA::ArmFault::FaultVals
198 fiqDisable(fiqDisable_), ec(ec_) {}
233 virtual ExceptionClass ec(ThreadContext *tc) const = 0;
273 ExceptionClass ec(ThreadContext *tc) const override { return vals.ec; }
314 ExceptionClass ec(ThreadContext *tc) const override;
332 ExceptionClass ec(ThreadContext *tc) const override;
345 ExceptionClass ec(ThreadContext *tc) const override;
364 ExceptionClass ec(ThreadContext *tc) const override;
380 ExceptionClass ec(ThreadContex
[all...]
H A Dfaults.cc386 uint32_t exc_class = (uint32_t) ec(tc);
590 if (ec(tc) != EC_UNKNOWN)
882 SupervisorCall::ec(ThreadContext *tc) const function in class:ArmISA::SupervisorCall
885 (from64 ? EC_SVC_64 : vals.ec);
905 UndefinedInstruction::ec(ThreadContext *tc) const function in class:ArmISA::UndefinedInstruction
912 return (overrideEc != EC_INVALID) ? overrideEc : vals.ec;
921 HypervisorCall::ec(ThreadContext *tc) const function in class:ArmISA::HypervisorCall
923 return from64 ? EC_HVC_64 : vals.ec;
927 HypervisorTrap::ec(ThreadContext *tc) const function in class:ArmISA::HypervisorTrap
929 return (overrideEc != EC_INVALID) ? overrideEc : vals.ec;
1002 SecureMonitorCall::ec(ThreadContext *tc) const function in class:ArmISA::SecureMonitorCall
1032 SupervisorTrap::ec(ThreadContext *tc) const function in class:ArmISA::SupervisorTrap
1041 SecureMonitorTrap::ec(ThreadContext *tc) const function in class:ArmISA::SecureMonitorTrap
1243 PrefetchAbort::ec(ThreadContext *tc) const function in class:ArmISA::PrefetchAbort
1257 ExceptionClass ec = ArmFaultVals<PrefetchAbort>::vals.ec; local
1300 DataAbort::ec(ThreadContext *tc) const function in class:ArmISA::DataAbort
1318 ExceptionClass ec = ArmFaultVals<DataAbort>::vals.ec; local
1597 SoftwareBreakpoint::ec(ThreadContext *tc) const function in class:ArmISA::SoftwareBreakpoint
[all...]
/gem5/util/pbs/
H A Dpbs.py172 ec = pbs.wait()
174 if ec != 0 and self.pbshost:
180 ec = ssh.wait()
182 return ec
H A Djob.py227 thepid,ec = os.waitpid(childpid, 0)
228 if ec:
229 print 'Exit code ', ec

Completed in 30 milliseconds

12