Searched refs:parent (Results 1 - 25 of 128) sorted by relevance

123456

/gem5/ext/libelf/
H A Delf_next.c38 Elf *parent; local
43 if ((parent = e->e_parent) == NULL) {
48 assert (parent->e_kind == ELF_K_AR);
49 assert (parent->e_cmd == ELF_C_READ);
51 assert(e->e_rawfile > parent->e_rawfile);
53 next = e->e_rawfile - parent->e_rawfile + e->e_rawsize;
56 parent->e_u.e_ar.e_next = (next >= (off_t) parent->e_rawsize) ? (off_t) 0 : next;
/gem5/src/systemc/ext/channel/
H A Dsc_out.hh54 explicit sc_out(sc_port_b<sc_signal_inout_if<T> > &parent) : argument
55 sc_inout<T>(parent)
57 sc_out(const char *name, sc_port_b<sc_signal_inout_if<T> > &parent) : argument
58 sc_inout<T>(name, parent)
60 explicit sc_out(sc_out<T> &parent) : sc_inout<T>(parent) {} argument
61 sc_out(const char *name, sc_out<T> &parent) : sc_inout<T>(name, parent) {} argument
H A Dsc_fifo_in.hh65 explicit sc_fifo_in(sc_port_b<sc_fifo_in_if<T> > &parent) : argument
66 sc_port<sc_fifo_in_if<T>, 0>(parent),
69 sc_fifo_in(const char *name, sc_port_b<sc_fifo_in_if<T> > &parent) : argument
70 sc_port<sc_fifo_in_if<T>, 0>(name, parent),
73 explicit sc_fifo_in(sc_port<sc_fifo_in_if<T>, 0> &parent) : argument
74 sc_port<sc_fifo_in_if<T>, 0>(parent),
77 sc_fifo_in(const char *name, sc_port<sc_fifo_in_if<T>, 0> &parent) : argument
78 sc_port<sc_fifo_in_if<T>, 0>(name, parent),
H A Dsc_fifo_out.hh64 explicit sc_fifo_out(sc_port_b<sc_fifo_out_if<T> > &parent) : argument
65 sc_port<sc_fifo_out_if<T>, 0>(parent),
68 sc_fifo_out(const char *name, sc_port_b<sc_fifo_out_if<T> > &parent) : argument
69 sc_port<sc_fifo_out_if<T>, 0>(name, parent),
72 explicit sc_fifo_out(sc_port<sc_fifo_out_if<T>, 0> &parent) : argument
73 sc_port<sc_fifo_out_if<T>, 0>(parent),
76 sc_fifo_out(const char *name, sc_port<sc_fifo_out_if<T>, 0> &parent) : argument
77 sc_port<sc_fifo_out_if<T>, 0>(name, parent),
H A Dsc_in.hh69 explicit sc_in(sc_port_b<sc_signal_in_if<T> > &parent) : argument
70 sc_port<sc_signal_in_if<T>, 1>(parent),
73 sc_in(const char *name, sc_port_b<sc_signal_in_if<T> > &parent) : argument
74 sc_port<sc_signal_in_if<T>, 1>(name, parent),
77 explicit sc_in(sc_port<sc_signal_in_if<T>, 1> &parent) : argument
78 sc_port<sc_signal_in_if<T>, 1>(parent),
81 sc_in(const char *name, sc_port<sc_signal_in_if<T>, 1> &parent) : argument
82 sc_port<sc_signal_in_if<T>, 1>(name, parent),
200 explicit sc_in(sc_port_b<sc_signal_in_if<bool> > &parent) : argument
201 sc_port<sc_signal_in_if<bool>, 1>(parent),
207 sc_in(const char *name, sc_port_b<sc_signal_in_if<bool> > &parent) argument
214 sc_in(sc_port<sc_signal_in_if<bool>, 1> &parent) argument
221 sc_in(const char *name, sc_port<sc_signal_in_if<bool>, 1> &parent) argument
365 sc_in(sc_port_b<sc_signal_in_if<sc_dt::sc_logic> > &parent) argument
372 sc_in(const char *name, sc_port_b<sc_signal_in_if<sc_dt::sc_logic> > &parent) argument
380 sc_in(sc_port<sc_signal_in_if<sc_dt::sc_logic>, 1> &parent) argument
387 sc_in(const char *name, sc_port<sc_signal_in_if<sc_dt::sc_logic>, 1> &parent) argument
[all...]
/gem5/src/mem/
H A Dmem_delay.cc85 parent(_parent)
92 const Tick when = curTick() + parent.delayResp(pkt);
94 parent.slavePort.schedTimingResp(pkt, when);
102 if (parent.trySatisfyFunctional(pkt)) {
105 parent.slavePort.sendFunctionalSnoop(pkt);
112 const Tick delay = parent.delaySnoopResp(pkt);
114 return delay + parent.slavePort.sendAtomicSnoop(pkt);
120 parent.slavePort.sendTimingSnoopReq(pkt);
126 parent(_parent)
133 const Tick delay = parent
[all...]
H A Dmem_delay.hh91 parent.slavePort.sendRangeChange();
95 return parent.slavePort.isSnooping();
99 MemDelay& parent; member in class:MemDelay::MasterPort
114 return parent.masterPort.getAddrRanges();
121 MemDelay& parent; member in class:MemDelay::SlavePort
/gem5/src/base/
H A Dtrie.hh59 Node *parent; member in struct:Trie::Node
64 parent(NULL)
96 parent, this, key, mask, value);
120 * @param parent The node we're currently "at", which can be updated.
127 goesAfter(Node **parent, Node *kid, Key key, Key new_mask) argument
130 *parent = kid;
223 new_node->parent = node;
246 new_node->parent = node;
247 kid->parent = new_node;
259 new_node->parent
301 Node *parent = node->parent; local
[all...]
/gem5/src/mem/probes/
H A Dbase.hh83 parent(_parent) {}
86 parent.handleRequest(pkt_info);
90 BaseMemProbe &parent; member in class:BaseMemProbe::PacketListener
/gem5/src/dev/virtio/
H A Dconsole.hh112 : VirtQueue(proxy, size), parent(_parent) {}
120 std::string name() const { return parent.name() + ".qRecv"; }
123 VirtIOConsole &parent; member in class:VirtIOConsole::TermRecvQueue
136 : VirtQueue(proxy, size), parent(_parent) {}
141 std::string name() const { return parent.name() + ".qTrans"; }
144 VirtIOConsole &parent; member in class:VirtIOConsole::TermTransQueue
H A Dconsole.cc84 while (parent.device.dataAvailable() && (d = consumeDescriptor())) {
87 while (parent.device.dataAvailable() && len < d->size()) {
88 uint8_t in(parent.device.readData());
95 parent.kick();
111 parent.device.writeData(data[i]);
115 parent.kick();
/gem5/src/base/stats/
H A Dgroup.cc51 Group::Group(Group *parent, const char *name) argument
52 : mergedParent(name ? nullptr : parent)
54 if (parent && name) {
55 parent->addStatGroup(name, this);
56 } else if (parent && !name) {
57 parent->mergeStatGroup(this);
/gem5/src/mem/slicc/ast/
H A DFuncDeclAST.py43 def files(self, parent=None):
46 def generate(self, parent = None):
79 if parent is None:
92 if parent is not None:
93 if not parent.addFunc(func):
94 self.error("Duplicate method: %s:%s()" % (parent, self.ident))
95 func.class_name = parent.c_ident
H A DDeclListAST.py41 def files(self, parent=None):
44 s |= decl.files(parent)
H A DDeclAST.py34 def files(self, parent=None):
H A DObjDeclAST.py43 def generate(self, parent = None):
76 # Add data member to the parent type
77 if parent:
78 if not parent.addDataMember(self.ident, type, self.pairs, init_code):
79 self.error("Duplicate data member: %s:%s" % (parent, self.ident))
/gem5/src/systemc/core/
H A Devent.cc59 parent = internal ? nullptr : pickParentObj();
66 _basename = pickUniqueName(parent, _basename);
68 if (parent) {
69 Object *obj = Object::getFromScObject(parent);
75 std::string path = parent ? (std::string(parent->name()) + ".") : "";
96 if (parent) {
97 Object *obj = Object::getFromScObject(parent);
136 return parent;
213 if (!parent)
[all...]
H A Dobject.cc91 _sc_obj(_sc_obj), _basename(obj_name ? obj_name : ""), parent(nullptr)
96 parent = pickParentObj();
105 _basename = sc_gem5::pickUniqueName(parent, original_name);
107 if (parent)
108 addObject(&parent->_gem5_object->children, _sc_obj);
114 sc_core::sc_object *sc_p = parent;
145 child->_gem5_object->parent = nullptr;
152 if (parent)
153 popObject(&parent->_gem5_object->children, _name);
198 return parent;
275 pickUniqueName(::sc_core::sc_object *parent, std::string base) argument
[all...]
/gem5/src/python/m5/util/
H A Dmultidict.py34 def __init__(self, parent = {}, **kwargs):
36 self.parent = parent
46 return key in self.local or key in self.parent
52 if key in self.parent:
65 if not self.deleted.get(key, False) and key in self.parent:
66 return self.parent[key]
71 return len(self.local) + len(self.parent)
77 if self.parent:
78 for key,value in self.parent
[all...]
/gem5/ext/systemc/src/sysc/communication/
H A Dsc_export.cpp74 sc_module* parent = static_cast<sc_module*>( get_parent_object() ); local
75 sc_object::hierarchy_scope scope( parent );
90 sc_module* parent = static_cast<sc_module*>( get_parent_object() ); local
91 sc_object::hierarchy_scope scope( parent );
106 sc_module* parent = static_cast<sc_module*>( get_parent_object() ); local
107 sc_object::hierarchy_scope scope( parent );
122 sc_module* parent = static_cast<sc_module*>( get_parent_object() ); local
123 sc_object::hierarchy_scope scope( parent );
H A Dsc_port.cpp54 sc_port_base* parent; member in struct:sc_core::sc_bind_elem
64 parent( 0 )
69 parent( 0 )
74 parent( parent_ )
289 // bind parent port to this port
295 // cannot bind a parent port after elaboration
303 // check if parent port is already bound to this port
306 if( &parent_ == m_bind_info->vec[i]->parent ) {
361 // cannot bind a parent port after elaboration
401 if( m_bind_info->vec[i]->parent !
413 this_type* parent = vec[i]->parent; local
560 sc_module* parent = static_cast<sc_module*>( get_parent_object() ); local
572 sc_module* parent = static_cast<sc_module*>( get_parent_object() ); local
580 sc_module* parent = static_cast<sc_module*>( get_parent_object() ); local
588 sc_module* parent = static_cast<sc_module*>( get_parent_object() ); local
[all...]
/gem5/src/dev/arm/
H A Dgeneric_timer.hh125 /// Pointer to parent class.
153 SimObject &parent,
201 SimObject &parent,
204 : ArchTimer(name, parent, sysctr, interrupt), system(system) {}
231 CoreTimers(GenericTimer &parent, ArmSystem &system, unsigned cpu, argument
238 physS(csprintf("%s.phys_s_timer%d", parent.name(), cpu),
239 system, parent, parent.systemCounter,
243 physNS(csprintf("%s.arch_timer%d", parent.name(), cpu),
244 system, parent, paren
199 ArchTimerKvm(const std::string &name, ArmSystem &system, SimObject &parent, SystemCounter &sysctr, ArmInterruptPin *interrupt) argument
293 GenericTimer &parent; member in class:GenericTimerISA
[all...]
/gem5/src/gpu-compute/
H A Dlds_state.cc79 * set the parent and name based on the parent
86 fatal_if(x_parent == parent,
87 "should not be setting the parent twice");
89 parent = x_parent;
122 int numBanks = std::min(parent->wfSize(), banks);
126 int groups = (parent->wfSize() > numBanks) ?
127 (parent->wfSize() / numBanks) : 1;
171 panic_if(bank_conflicts > parent->wfSize(),
204 parent
[all...]
/gem5/ext/
H A Dgit-commit-msg176 if parent=`git rev-parse "HEAD^0" 2>/dev/null`
178 echo "parent $parent"
/gem5/src/cpu/
H A Dnativetrace.cc64 parent->check(this);

Completed in 26 milliseconds

123456