Searched refs:used (Results 1 - 22 of 22) sorted by relevance

/gem5/src/systemc/tests/tlm/multi_sockets/
H A DextensionPool.h36 ExtensionPool(int size): used(NULL){
60 //delete all used elements
61 while (used){
62 entry* e=used;
63 used=used->next;
85 e->next=used;
86 used=e;
87 return used->that; //if all elements of pool are used, jus
101 entry* used; member in class:ExtensionPool
[all...]
/gem5/ext/systemc/src/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/
H A Dtlm_fifo_peek.h47 if( used() < 1 ) {
61 if( n >= used() || n < -1 ) {
66 n = used() - 1;
87 if( n >= used() || n < 0 ) {
H A Dtlm_fifo_resize.h79 if( static_cast<int>( new_size ) < used() ) {
81 new_size = used();
H A Dtlm_fifo.h116 int used() const { function in class:tlm::tlm_fifo
129 std::cout << "size " << size() << " - " << used() << " used "
186 return used() == 0;
251 m_num_readable = buffer.used();
H A Dcircular_buffer.h46 bool is_empty() const { return used() == 0; }
50 int used() const { return m_used; } function in class:tlm::circular_buffer
83 int m_used; // number of used spaces
96 std::cout << "Free/Used " << free() << "/" << used() << std::endl;
112 for( int i = 0; i < used(); i++ ) {
134 for( int i=0; i < used(); i++ ) {
156 for( i = 0; i < size && i < used(); i++ ) {
/gem5/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/
H A Dfifo_peek.hh42 if (used() < 1) {
54 if (n >= used() || n < -1) {
59 n = used() - 1;
77 if (n >= used() || n < 0) {
H A Dfifo_resize.hh69 if (static_cast<int>(new_size) < used()) {
70 new_size = used();
H A Dcircular_buffer.hh41 bool is_empty() const { return used() == 0; }
45 int used() const { return m_used; } function in class:tlm::circular_buffer
83 int m_used; // number of used spaces
94 std::cout << "Free/Used " << free() << "/" << used() << std::endl;
106 for (int i = 0; i < used(); i++) {
121 for (int i = 0; i < used(); i++) {
142 for (i = 0; i < size && i < used(); i++) {
H A Dfifo.hh108 int used() const { return m_num_readable - m_num_read; } function in class:tlm::tlm_fifo
119 std::cout << "size " << size() << " - " << used() << " used "
164 bool is_empty() const { return used() == 0; }
220 m_num_readable = buffer.used();
/gem5/src/arch/sparc/
H A Dpagetable.cc13 * contributors may be used to endorse or promote products derived from
50 SERIALIZE_SCALAR(used);
67 UNSERIALIZE_SCALAR(used);
H A Dtlb.cc13 * contributors may be used to endorse or promote products derived from
89 t->used = false;
131 if (tlb[x].used) {
132 tlb[x].used = false;
167 if (new_entry->valid && new_entry->used)
180 new_entry->used = true;;
187 // If all entries have their used bit set, clear it on them all,
191 new_entry->used = true;
221 // Mark the entries used bit and clear other used bit
[all...]
H A Dpagetable.hh13 * contributors may be used to endorse or promote products derived from
265 bool used; member in struct:SparcISA::TlbEntry
/gem5/src/systemc/ext/tlm_core/1/req_rsp/interfaces/
H A Dfifo_ifs.hh38 virtual int used() const = 0;
/gem5/src/dev/virtio/
H A Dvirtio_ring.h19 * may be used to endorse or promote products derived from this software
43 /* The Host uses this in used->flags to advise the Guest: don't kick me when
55 /* The Guest publishes the used index for which it expects an interrupt
58 * at the end of the used ring. Guest should ignore the used->flags field. */
79 /* u32 is used here for ids for padding reasons. */
81 /* Index of start of used descriptor chain. */
83 /* Total length of the descriptor chain which was used (written to) */
100 struct vring_used *used; member in struct:vring
120 * // A ring of used descripto
[all...]
H A Dbase.cc22 * contributors may be used to endorse or promote products derived from
229 avail(proxy, size), used(proxy, size),
267 used.setAddress(addr_used);
276 avail.ring[_last_avail % used.ring.size()]);
280 VirtDescriptor::Index index(avail.ring[_last_avail % used.ring.size()]);
292 used.readHeader();
293 DPRINTF(VIO, "produceDescriptor: dscIdx: %i, len: %i, used.idx: %i\n",
294 desc->index(), len, used.header.index);
296 struct vring_used_elem &e(used.ring[used
[all...]
H A Dbase.hh22 * contributors may be used to endorse or promote products derived from
353 * @note This interfaces is normally only used by VirtDescriptor
433 * Page size used by VirtIO.\ It's hard-coded to 4096 bytes in
467 * is used to select the data type for the items in the ring (used
548 /** Ring of used (outgoing) descriptors */
549 VirtRing<struct vring_used_elem> used; member in class:VirtQueue
616 * method used to inform the guest is transport dependent, but is
664 * @warning The address in the packet should not be used to
679 * @warning The address in the packet should not be used t
[all...]
/gem5/ext/systemc/src/tlm_core/tlm_1/tlm_req_rsp/tlm_1_interfaces/
H A Dtlm_fifo_ifs.h42 virtual int used() const = 0;
/gem5/src/mem/slicc/symbols/
H A DSymbol.py13 # contributors may be used to endorse or promote products derived from
47 self.used = False
H A DStateMachine.py14 # contributors may be used to endorse or promote products derived from
180 action.used = True
188 # Look at all actions to make sure we used them all
190 if not action.used:
/gem5/src/systemc/tests/
H A Dverify.py13 # contributors may be used to endorse or promote products derived from
309 self.used = False
313 self.used = True
336 items = filter(lambda i: not i[1].used, items)
/gem5/ext/systemc/src/sysc/qt/md/
H A Dhppa_b.s53 stwm %r3,64(%sp) ; store r3 (may be used by caller)
/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_nbcommon.inc2638 // This constructor is mainly used in finding a "range" of bits from a
2733 // will be used as a temporary store. The following code tries to
2786 // This constructor is mainly used in finding a "range" of bits from a
2881 // will be used as a temporary store. The following code tries to

Completed in 35 milliseconds