/dports/devel/gdb/gdb-11.1/gdb/ |
H A D | dcache.c | 89 #define LINE_SIZE_MASK(dcache) ((dcache->line_size - 1)) argument 90 #define XFORM(dcache, x) ((x) & LINE_SIZE_MASK (dcache)) argument 91 #define MASK(dcache, x) ((x) & ~LINE_SIZE_MASK (dcache)) argument 225 xfree (dcache); in dcache_free() 247 for_each_block (&dcache->oldest, invalidate_block, dcache); in dcache_invalidate() 250 dcache->size = 0; in dcache_invalidate() 258 for_each_block (&dcache->freelist, free_block, dcache); in dcache_invalidate() 453 dcache->size = 0; in dcache_init() 457 return dcache; in dcache_init() 609 dcache ? (unsigned) dcache->line_size in dcache_info_1() [all …]
|
/dports/devel/gdb761/gdb-7.6.1/gdb/ |
H A D | dcache.c | 89 #define LINE_SIZE_MASK(dcache) ((dcache->line_size - 1)) argument 90 #define XFORM(dcache, x) ((x) & LINE_SIZE_MASK (dcache)) argument 91 #define MASK(dcache, x) ((x) & ~LINE_SIZE_MASK (dcache)) argument 234 xfree (dcache); in dcache_free() 256 for_each_block (&dcache->oldest, invalidate_block, dcache); in dcache_invalidate() 259 dcache->size = 0; in dcache_invalidate() 267 for_each_block (&dcache->freelist, free_block, dcache); in dcache_invalidate() 458 DCACHE *dcache; in dcache_init() local 460 dcache = (DCACHE *) xmalloc (sizeof (*dcache)); in dcache_init() 468 dcache->size = 0; in dcache_init() [all …]
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/gdb/ |
H A D | dcache.c | 194 dcache->valid_head = 0; in dcache_invalidate() 195 dcache->valid_tail = 0; in dcache_invalidate() 197 dcache->free_head = 0; in dcache_invalidate() 198 dcache->free_tail = 0; in dcache_invalidate() 205 dcache->free_head = db; in dcache_invalidate() 390 db = dcache->free_head; in dcache_alloc() 495 DCACHE *dcache; in dcache_init() local 497 dcache = (DCACHE *) xmalloc (sizeof (*dcache)); in dcache_init() 504 last_cache = dcache; in dcache_init() 505 return dcache; in dcache_init() [all …]
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/gdb/ |
H A D | dcache.c | 194 dcache->valid_head = 0; in dcache_invalidate() 195 dcache->valid_tail = 0; in dcache_invalidate() 197 dcache->free_head = 0; in dcache_invalidate() 198 dcache->free_tail = 0; in dcache_invalidate() 205 dcache->free_head = db; in dcache_invalidate() 390 db = dcache->free_head; in dcache_alloc() 495 DCACHE *dcache; in dcache_init() local 497 dcache = (DCACHE *) xmalloc (sizeof (*dcache)); in dcache_init() 504 last_cache = dcache; in dcache_init() 505 return dcache; in dcache_init() [all …]
|
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/venti/srv/ |
H A D | dcache.c | 91 dcache.full.l = &dcache.lock; in initdcache() 115 dcache.nheap = 0; in initdcache() 324 dcache.ndirty++; in dirtydblock() 326 if(dcache.ndirty >= dcache.maxdirty) in dirtydblock() 362 b = dcache.free; in bumpdblock() 368 if(dcache.ndirty >= dcache.maxdirty) in bumpdblock() 420 fixheap(db->heap, dcache.heap[--dcache.nheap]); in delheap() 468 if(k + 1 < dcache.nheap && dcache.heap[k]->used2 - now > dcache.heap[k + 1]->used2 - now) in downheap() 516 if(k < dcache.nheap && dcache.heap[i]->used2 - now > dcache.heap[k]->used2 - now) in checkdcache() 519 if(k < dcache.nheap && dcache.heap[i]->used2 - now > dcache.heap[k]->used2 - now) in checkdcache() [all …]
|
/dports/devel/avr-gdb/gdb-7.3.1/gdb/ |
H A D | dcache.c | 228 for_each_block (&dcache->oldest, invalidate_block, dcache); in dcache_invalidate() 230 dcache->oldest = NULL; in dcache_invalidate() 231 dcache->size = 0; in dcache_invalidate() 247 --dcache->size; in dcache_invalidate_line() 344 dcache->size++; in dcache_alloc() 419 DCACHE *dcache; in dcache_init() local 421 dcache = (DCACHE *) xmalloc (sizeof (*dcache)); in dcache_init() 429 dcache->size = 0; in dcache_init() 431 last_cache = dcache; in dcache_init() 433 return dcache; in dcache_init() [all …]
|
/dports/net/vnstat/vnstat-2.8/tests/ |
H A D | daemon_tests.c | 722 iterator = s.dcache; in START_TEST() 1195 s.dcache->updated = 300; in START_TEST() 1247 s.dcache->updated = 250; in START_TEST() 1279 s.dcache->updated = 200; in START_TEST() 1315 s.dcache->updated = 249; in START_TEST() 1372 datacache *dcache; in START_TEST() local 1374 dcache = NULL; in START_TEST() 1383 datacache *dcache; in START_TEST() local 1385 dcache = NULL; in START_TEST() 1413 datacache *dcache; in START_TEST() local [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/mips/mm/ |
H A D | c-octeon.c | 191 c->dcache.ways = 64; in probe_octeon() 193 c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon() 194 c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1; in probe_octeon() 206 c->dcache.ways = 32; in probe_octeon() 207 c->dcache.sets = 8; in probe_octeon() 208 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon() 221 c->dcache.sets = 8; in probe_octeon() 222 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon() 233 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_octeon() 236 c->dcache.sets = dcache_size / (c->dcache.linesz * c->dcache.ways); in probe_octeon() [all …]
|
H A D | c-r4k.c | 1126 c->dcache.ways = 2; in probe_pcache() 1140 c->dcache.ways = 2; in probe_pcache() 1154 c->dcache.ways = 4; in probe_pcache() 1253 c->dcache.waybit = __ffs(dcache_size / c->dcache.ways); in probe_pcache() 1319 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_pcache() 1371 c->dcache.waybit = __ffs(dcache_size/c->dcache.ways); in probe_pcache() 1393 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_pcache() 1397 c->dcache.sets = c->dcache.linesz ? in probe_pcache() 1398 dcache_size / (c->dcache.linesz * c->dcache.ways) : 0; in probe_pcache() 1507 c->dcache.linesz); in probe_pcache() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/mips/mm/ |
H A D | c-octeon.c | 191 c->dcache.ways = 64; in probe_octeon() 193 c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon() 194 c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1; in probe_octeon() 206 c->dcache.ways = 32; in probe_octeon() 207 c->dcache.sets = 8; in probe_octeon() 208 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon() 221 c->dcache.sets = 8; in probe_octeon() 222 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon() 233 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_octeon() 236 c->dcache.sets = dcache_size / (c->dcache.linesz * c->dcache.ways); in probe_octeon() [all …]
|
H A D | c-r4k.c | 1126 c->dcache.ways = 2; in probe_pcache() 1140 c->dcache.ways = 2; in probe_pcache() 1154 c->dcache.ways = 4; in probe_pcache() 1253 c->dcache.waybit = __ffs(dcache_size / c->dcache.ways); in probe_pcache() 1319 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_pcache() 1371 c->dcache.waybit = __ffs(dcache_size/c->dcache.ways); in probe_pcache() 1393 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_pcache() 1397 c->dcache.sets = c->dcache.linesz ? in probe_pcache() 1398 dcache_size / (c->dcache.linesz * c->dcache.ways) : 0; in probe_pcache() 1507 c->dcache.linesz); in probe_pcache() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/arch/mips/mm/ |
H A D | c-octeon.c | 191 c->dcache.ways = 64; in probe_octeon() 193 c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon() 194 c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1; in probe_octeon() 206 c->dcache.ways = 32; in probe_octeon() 207 c->dcache.sets = 8; in probe_octeon() 208 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon() 221 c->dcache.sets = 8; in probe_octeon() 222 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon() 233 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_octeon() 236 c->dcache.sets = dcache_size / (c->dcache.linesz * c->dcache.ways); in probe_octeon() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/sh/kernel/cpu/sh2/ |
H A D | probe.c | 34 boot_cpu_data.dcache.ways = 4; in cpu_probe() 35 boot_cpu_data.dcache.way_incr = (1<<12); in cpu_probe() 36 boot_cpu_data.dcache.sets = 256; in cpu_probe() 37 boot_cpu_data.dcache.entry_shift = 4; in cpu_probe() 39 boot_cpu_data.dcache.flags = 0; in cpu_probe() 56 boot_cpu_data.dcache.ways = 1; in cpu_probe() 57 boot_cpu_data.dcache.sets = 256; in cpu_probe() 58 boot_cpu_data.dcache.entry_shift = 5; in cpu_probe() 59 boot_cpu_data.dcache.linesz = 32; in cpu_probe() 60 boot_cpu_data.dcache.flags = 0; in cpu_probe() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/sh/kernel/cpu/sh2/ |
H A D | probe.c | 34 boot_cpu_data.dcache.ways = 4; in cpu_probe() 35 boot_cpu_data.dcache.way_incr = (1<<12); in cpu_probe() 36 boot_cpu_data.dcache.sets = 256; in cpu_probe() 37 boot_cpu_data.dcache.entry_shift = 4; in cpu_probe() 39 boot_cpu_data.dcache.flags = 0; in cpu_probe() 56 boot_cpu_data.dcache.ways = 1; in cpu_probe() 57 boot_cpu_data.dcache.sets = 256; in cpu_probe() 58 boot_cpu_data.dcache.entry_shift = 5; in cpu_probe() 59 boot_cpu_data.dcache.linesz = 32; in cpu_probe() 60 boot_cpu_data.dcache.flags = 0; in cpu_probe() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/arch/sh/kernel/cpu/sh2/ |
H A D | probe.c | 34 boot_cpu_data.dcache.ways = 4; in cpu_probe() 35 boot_cpu_data.dcache.way_incr = (1<<12); in cpu_probe() 36 boot_cpu_data.dcache.sets = 256; in cpu_probe() 37 boot_cpu_data.dcache.entry_shift = 4; in cpu_probe() 39 boot_cpu_data.dcache.flags = 0; in cpu_probe() 56 boot_cpu_data.dcache.ways = 1; in cpu_probe() 57 boot_cpu_data.dcache.sets = 256; in cpu_probe() 58 boot_cpu_data.dcache.entry_shift = 5; in cpu_probe() 59 boot_cpu_data.dcache.linesz = 32; in cpu_probe() 60 boot_cpu_data.dcache.flags = 0; in cpu_probe() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/sh/kernel/cpu/sh3/ |
H A D | probe.c | 50 boot_cpu_data.dcache.ways = 4; in cpu_probe() 51 boot_cpu_data.dcache.entry_shift = 4; in cpu_probe() 53 boot_cpu_data.dcache.flags = 0; in cpu_probe() 60 boot_cpu_data.dcache.way_incr = (1 << 11); in cpu_probe() 61 boot_cpu_data.dcache.entry_mask = 0x7f0; in cpu_probe() 62 boot_cpu_data.dcache.sets = 128; in cpu_probe() 67 boot_cpu_data.dcache.way_incr = (1 << 12); in cpu_probe() 68 boot_cpu_data.dcache.entry_mask = 0xff0; in cpu_probe() 69 boot_cpu_data.dcache.sets = 256; in cpu_probe() 92 boot_cpu_data.dcache.entry_mask = 0x1ff0; in cpu_probe() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/sh/kernel/cpu/sh3/ |
H A D | probe.c | 50 boot_cpu_data.dcache.ways = 4; in cpu_probe() 51 boot_cpu_data.dcache.entry_shift = 4; in cpu_probe() 53 boot_cpu_data.dcache.flags = 0; in cpu_probe() 60 boot_cpu_data.dcache.way_incr = (1 << 11); in cpu_probe() 61 boot_cpu_data.dcache.entry_mask = 0x7f0; in cpu_probe() 62 boot_cpu_data.dcache.sets = 128; in cpu_probe() 67 boot_cpu_data.dcache.way_incr = (1 << 12); in cpu_probe() 68 boot_cpu_data.dcache.entry_mask = 0xff0; in cpu_probe() 69 boot_cpu_data.dcache.sets = 256; in cpu_probe() 92 boot_cpu_data.dcache.entry_mask = 0x1ff0; in cpu_probe() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/arch/sh/kernel/cpu/sh3/ |
H A D | probe.c | 50 boot_cpu_data.dcache.ways = 4; in cpu_probe() 51 boot_cpu_data.dcache.entry_shift = 4; in cpu_probe() 53 boot_cpu_data.dcache.flags = 0; in cpu_probe() 60 boot_cpu_data.dcache.way_incr = (1 << 11); in cpu_probe() 61 boot_cpu_data.dcache.entry_mask = 0x7f0; in cpu_probe() 62 boot_cpu_data.dcache.sets = 128; in cpu_probe() 67 boot_cpu_data.dcache.way_incr = (1 << 12); in cpu_probe() 68 boot_cpu_data.dcache.entry_mask = 0xff0; in cpu_probe() 69 boot_cpu_data.dcache.sets = 256; in cpu_probe() 92 boot_cpu_data.dcache.entry_mask = 0x1ff0; in cpu_probe() [all …]
|
/dports/devel/binutils/binutils-2.37/gas/testsuite/gas/csky/ |
H A D | cskyv2_ck860.s | 10 dcache.cisw r31 11 dcache.civa r31 12 dcache.ciall 13 dcache.csw r31 14 dcache.cva r31 15 dcache.cval1 r31 16 dcache.call 17 dcache.isw r31 18 dcache.iva r31 19 dcache.iall
|
/dports/devel/arm-elf-binutils/binutils-2.37/gas/testsuite/gas/csky/ |
H A D | cskyv2_ck860.s | 10 dcache.cisw r31 11 dcache.civa r31 12 dcache.ciall 13 dcache.csw r31 14 dcache.cva r31 15 dcache.cval1 r31 16 dcache.call 17 dcache.isw r31 18 dcache.iva r31 19 dcache.iall
|
/dports/devel/gnulibiberty/binutils-2.37/gas/testsuite/gas/csky/ |
H A D | cskyv2_ck860.s | 10 dcache.cisw r31 11 dcache.civa r31 12 dcache.ciall 13 dcache.csw r31 14 dcache.cva r31 15 dcache.cval1 r31 16 dcache.call 17 dcache.isw r31 18 dcache.iva r31 19 dcache.iall
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/sh/kernel/cpu/ |
H A D | init.c | 128 waysize = current_cpu_data.dcache.sets; in cache_init() 139 waysize <<= current_cpu_data.dcache.entry_shift; in cache_init() 147 ways = current_cpu_data.dcache.ways; in cache_init() 155 addr += current_cpu_data.dcache.linesz) in cache_init() 158 addrstart += current_cpu_data.dcache.way_incr; in cache_init() 170 if (current_cpu_data.dcache.ways > 1) in cache_init() 313 current_cpu_data.dcache.entry_mask = current_cpu_data.dcache.way_incr - in cpu_init() 314 current_cpu_data.dcache.linesz; in cpu_init() 316 current_cpu_data.dcache.way_size = current_cpu_data.dcache.sets * in cpu_init() 317 current_cpu_data.dcache.linesz; in cpu_init() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/sh/kernel/cpu/ |
H A D | init.c | 128 waysize = current_cpu_data.dcache.sets; in cache_init() 139 waysize <<= current_cpu_data.dcache.entry_shift; in cache_init() 147 ways = current_cpu_data.dcache.ways; in cache_init() 155 addr += current_cpu_data.dcache.linesz) in cache_init() 158 addrstart += current_cpu_data.dcache.way_incr; in cache_init() 170 if (current_cpu_data.dcache.ways > 1) in cache_init() 313 current_cpu_data.dcache.entry_mask = current_cpu_data.dcache.way_incr - in cpu_init() 314 current_cpu_data.dcache.linesz; in cpu_init() 316 current_cpu_data.dcache.way_size = current_cpu_data.dcache.sets * in cpu_init() 317 current_cpu_data.dcache.linesz; in cpu_init() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/arch/sh/kernel/cpu/ |
H A D | init.c | 128 waysize = current_cpu_data.dcache.sets; in cache_init() 139 waysize <<= current_cpu_data.dcache.entry_shift; in cache_init() 147 ways = current_cpu_data.dcache.ways; in cache_init() 155 addr += current_cpu_data.dcache.linesz) in cache_init() 158 addrstart += current_cpu_data.dcache.way_incr; in cache_init() 170 if (current_cpu_data.dcache.ways > 1) in cache_init() 313 current_cpu_data.dcache.entry_mask = current_cpu_data.dcache.way_incr - in cpu_init() 314 current_cpu_data.dcache.linesz; in cpu_init() 316 current_cpu_data.dcache.way_size = current_cpu_data.dcache.sets * in cpu_init() 317 current_cpu_data.dcache.linesz; in cpu_init() [all …]
|
/dports/textproc/py-pygccxml/pygccxml-2.2.1/unittests/misc/ |
H A D | test_performance.py | 31 dcache = parser.file_cache_t(dcache_file_name) 35 dcache) 37 dcache.flush() 42 dcache = parser.file_cache_t(dcache_file_name) 46 dcache) 64 dcache) 66 dcache.flush() 75 dcache) 92 dcache) 94 dcache.flush() [all …]
|