Searched refs:max_chunks (Results 1 – 7 of 7) sorted by relevance
22 TraceBufferRingBuffer(size_t max_chunks) in TraceBufferRingBuffer() argument23 : max_chunks_(max_chunks), in TraceBufferRingBuffer()26 queue_tail_(max_chunks), in TraceBufferRingBuffer()29 chunks_.reserve(max_chunks); in TraceBufferRingBuffer()30 for (size_t i = 0; i < max_chunks; ++i) in TraceBufferRingBuffer()157 TraceBufferVector(size_t max_chunks) in TraceBufferVector() argument160 max_chunks_(max_chunks) { in TraceBufferVector()339 TraceBuffer* TraceBuffer::CreateTraceBufferRingBuffer(size_t max_chunks) { in CreateTraceBufferRingBuffer() argument340 return new TraceBufferRingBuffer(max_chunks); in CreateTraceBufferRingBuffer()343 TraceBuffer* TraceBuffer::CreateTraceBufferVectorOfSize(size_t max_chunks) { in CreateTraceBufferVectorOfSize() argument[all …]
81 static TraceBuffer* CreateTraceBufferRingBuffer(size_t max_chunks);82 static TraceBuffer* CreateTraceBufferVectorOfSize(size_t max_chunks);
22 TraceBufferRingBuffer(size_t max_chunks) in TraceBufferRingBuffer() argument23 : max_chunks_(max_chunks), in TraceBufferRingBuffer()26 queue_tail_(max_chunks), in TraceBufferRingBuffer()29 chunks_.reserve(max_chunks); in TraceBufferRingBuffer()30 for (size_t i = 0; i < max_chunks; ++i) in TraceBufferRingBuffer()156 TraceBufferVector(size_t max_chunks) in TraceBufferVector() argument159 max_chunks_(max_chunks) { in TraceBufferVector()338 TraceBuffer* TraceBuffer::CreateTraceBufferRingBuffer(size_t max_chunks) { in CreateTraceBufferRingBuffer() argument339 return new TraceBufferRingBuffer(max_chunks); in CreateTraceBufferRingBuffer()342 TraceBuffer* TraceBuffer::CreateTraceBufferVectorOfSize(size_t max_chunks) { in CreateTraceBufferVectorOfSize() argument[all …]
80 static TraceBuffer* CreateTraceBufferRingBuffer(size_t max_chunks);81 static TraceBuffer* CreateTraceBufferVectorOfSize(size_t max_chunks);
49 uint32_t max_chunks; member
878 best_backing->max_chunks = 4; in sparse_backing_alloc()879 best_backing->chunks = CALLOC(best_backing->max_chunks, in sparse_backing_alloc()986 if (backing->num_chunks >= backing->max_chunks) { in sparse_backing_free()987 unsigned new_max_chunks = 2 * backing->max_chunks; in sparse_backing_free()990 sizeof(*backing->chunks) * backing->max_chunks, in sparse_backing_free()995 backing->max_chunks = new_max_chunks; in sparse_backing_free()
1089 int max_chunks = cols / 16; in SetupMatrixVectorData() local1090 int selected_chunks = (max_chunks / 2); in SetupMatrixVectorData()1092 bool max_chunks_is_odd = (max_chunks % 2) > 0; in SetupMatrixVectorData()1101 for (int j = 0; j < max_chunks; j++) { in SetupMatrixVectorData()