Home
last modified time | relevance | path

Searched refs:total (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/openbmc/qemu/util/
H A Dqemu-co-shared-resource.c31 uint64_t total; /* Set in shres_create() and not changed anymore */ member
40 SharedResource *shres_create(uint64_t total) in shres_create() argument
44 s->total = s->available = total; in shres_create()
53 assert(s->available == s->total); in shres_destroy()
71 assert(n <= s->total); in co_get_from_shres()
81 assert(s->total - s->available >= n); in co_put_to_shres()
H A Dmmap-alloc.c254 size_t offset, total; in qemu_ram_mmap() local
261 total = size + align; in qemu_ram_mmap()
263 guardptr = mmap_reserve(total, fd); in qemu_ram_mmap()
277 munmap(guardptr, total); in qemu_ram_mmap()
289 total -= offset; in qemu_ram_mmap()
290 if (total > size + guard_pagesize) { in qemu_ram_mmap()
291 munmap(ptr + size + guard_pagesize, total - size - guard_pagesize); in qemu_ram_mmap()
/openbmc/qemu/tests/qemu-iotests/
H A D184.out137 "bps-total": 0,
138 "iops-total-max-length": 1,
139 "iops-total": 1000,
142 "bps-total-max": 0,
148 "bps-total-max-length": 1,
152 "iops-total-max": 0
164 "bps-total": 0,
165 "iops-total-max-length": 1,
166 "iops-total": 0,
169 "bps-total-max": 0,
[all …]
H A D219.out6 {"return": [{"current-progress": "FILTERED", "id": "job0", "status": "running", "total-progress": "…
14 {"return": [{"current-progress": 65536, "id": "job0", "status": "paused", "total-progress": 4194304…
17 {"return": [{"current-progress": 131072, "id": "job0", "status": "running", "total-progress": 41943…
21 {"return": [{"current-progress": 131072, "id": "job0", "status": "paused", "total-progress": 419430…
24 {"return": [{"current-progress": 196608, "id": "job0", "status": "running", "total-progress": 41943…
28 {"return": [{"current-progress": 196608, "id": "job0", "status": "paused", "total-progress": 419430…
31 {"return": [{"current-progress": 262144, "id": "job0", "status": "running", "total-progress": 41943…
35 {"return": [{"current-progress": 262144, "id": "job0", "status": "paused", "total-progress": 419430…
38 {"return": [{"current-progress": 327680, "id": "job0", "status": "running", "total-progress": 41943…
49 {"return": [{"current-progress": 4194304, "id": "job0", "status": "ready", "total-progress": 419430…
[all …]
/openbmc/qemu/system/
H A Dbootdevice.c251 size_t total = 0; in get_boot_devices_list() local
262 if (total) { in get_boot_devices_list()
263 list[total-1] = '\n'; in get_boot_devices_list()
266 list = g_realloc(list, total + len); in get_boot_devices_list()
267 memcpy(&list[total], bootpath, len); in get_boot_devices_list()
268 total += len; in get_boot_devices_list()
272 *size = total; in get_boot_devices_list()
276 list[total-1] = '\n'; in get_boot_devices_list()
277 list = g_realloc(list, total + 5); in get_boot_devices_list()
278 memcpy(&list[total], "HALT", 5); in get_boot_devices_list()
[all …]
/openbmc/openbmc/poky/scripts/tiny/
H A Ddirsize.py53 total = 0
58 total += r.show(minsize)
60 total = self.size
61 return total
69 total = rootfs.show(minsize)
71 (total, rootfs.size, 100 * float(total) / rootfs.size))
H A Dksize.py37 self.total = int(sizes[3])
39 self.text = self.data = self.bss = self.total = 0
43 (indent+self.title, self.total, self.text, self.data, self.bss))
66 r.totals["total"] += b.sizes.total
71 r.deltas["total"] = r.sizes.total - r.totals["total"]
94 if p.sizes.total > 0:
110 return this.sizes.total < that.sizes.total
117 if this.sizes.total < that.sizes.total:
119 if this.sizes.total > that.sizes.total:
/openbmc/qemu/block/
H A Dprogress_meter.c42 uint64_t *total) in progress_get_snapshot() argument
47 *total = pm->total; in progress_get_snapshot()
59 pm->total = pm->current + remaining; in progress_set_remaining()
65 pm->total += delta; in progress_increase_remaining()
/openbmc/u-boot/scripts/
H A Dbin2c.c14 int ch, total = 0; in main() local
23 total++; in main()
25 if (total % 16 == 0) in main()
33 argv[1], total); in main()
/openbmc/qemu/tests/bench/
H A Dbufferiszero-bench.c23 double total = 0.0; in test() local
28 total += len; in test()
31 total /= MiB; in test()
34 total / g_test_timer_last()); in test()
H A Dbenchmark-crypto-hmac.c26 double total = 0.0; in test_hmac_speed() local
54 total += chunk_size; in test_hmac_speed()
57 total /= MiB; in test_hmac_speed()
60 chunk_size, total / g_test_timer_last()); in test_hmac_speed()
/openbmc/qemu/tests/unit/
H A Dtest-bitmap.c18 unsigned long *bmap1, *bmap2, *bmap3, total; in check_bitmap_copy_with_offset() local
28 total = BITS_PER_LONG * 4; in check_bitmap_copy_with_offset()
31 bitmap_copy_with_dst_offset(bmap2, bmap1, 115, total); in check_bitmap_copy_with_offset()
33 bitmap_copy_with_dst_offset(bmap3, bmap2, 85, total + 115); in check_bitmap_copy_with_offset()
35 bitmap_copy_with_src_offset(bmap2, bmap3, 200, total); in check_bitmap_copy_with_offset()
37 g_assert_cmpmem(bmap1, total / BITS_PER_LONG, in check_bitmap_copy_with_offset()
38 bmap2, total / BITS_PER_LONG); in check_bitmap_copy_with_offset()
/openbmc/openbmc/poky/bitbake/lib/toaster/orm/management/commands/
H A Dlsupdates.py63 def mini_progress(self, what, i, total): argument
65 pec = (float(i)/float(total))*100
121 total = len(index.branches)
125 self.mini_progress("Releases", i, total)
133 total = len(index.layerItems)
156 self.mini_progress("layers", i, total)
165 total = len(index.layerBranches)
191 self.mini_progress("layer versions", i, total)
217 total = len(dependlist)
223 self.mini_progress("Layer version dependencies", i, total)
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Devent.py407 def __init__(self, total, msg = "Operation Completed"): argument
409 self.total = total
414 def __init__(self, current, total, msg = "Operation in Progress"): argument
417 self.total = total
418 self.msg = msg + ": %s/%s" % (current, total);
499 def __init__(self, total, n, p, failures=0, interrupted=0): argument
501 OperationCompleted.__init__(self, total, "Building Succeeded")
503 OperationCompleted.__init__(self, total, "Building Failed")
611 def __init__(self, total): argument
613 self.total = total
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Devent.py156 event = bb.event.OperationProgress(current=10, total=100)
175 event2 = bb.event.OperationCompleted(total=123)
204 event2 = bb.event.OperationCompleted(total=123)
218 event2 = bb.event.OperationCompleted(total=123)
307 event2 = bb.event.OperationCompleted(total=1)
392 event2 = bb.event.OperationCompleted(total=123)
497 total = 123
498 event = bb.event.OperationCompleted(total, msg)
500 self.assertEqual(event.total, total)
506 total = 123
[all …]
/openbmc/u-boot/arch/x86/cpu/tangier/
H A Dsdram.c107 int type, total = 0; in sfi_setup_e820() local
134 if (total == E820MAX) in sfi_setup_e820()
136 entries[total].addr = start; in sfi_setup_e820()
137 entries[total].size = size; in sfi_setup_e820()
138 entries[total].type = type; in sfi_setup_e820()
140 total++; in sfi_setup_e820()
143 return total; in sfi_setup_e820()
/openbmc/qemu/docs/
H A Dthrottle.txt25 write operations. This gives us a total of six different parameters.
34 | throttling.iops-total | iops |
37 | throttling.bps-total | bps |
44 write limits or not, but note that if iops-total is set then neither
45 iops-read nor iops-write can be set. The same applies to bps-total and
53 -drive file=hd0.qcow2,throttling.iops-total=100
83 this section we'll use 'iops-total' as an example.
85 The I/O limit during bursts is set using 'iops-total-max', and the
86 maximum length (in seconds) is set with 'iops-total-max-length'. So if
92 throttling.iops-total=100,
[all …]
/openbmc/u-boot/drivers/video/sunxi/
H A Dlcdc.c75 int bp, clk_delay, total, val; in lcdc_tcon0_mode_set() local
94 total = mode->hactive.typ + mode->hfront_porch.typ + bp; in lcdc_tcon0_mode_set()
95 writel(SUNXI_LCDC_TCON0_TIMING_H_TOTAL(total) | in lcdc_tcon0_mode_set()
99 total = mode->vactive.typ + mode->vfront_porch.typ + bp; in lcdc_tcon0_mode_set()
100 writel(SUNXI_LCDC_TCON0_TIMING_V_TOTAL(total) | in lcdc_tcon0_mode_set()
152 int bp, clk_delay, total, val, yres; in lcdc_tcon1_mode_set() local
177 total = mode->hactive.typ + mode->hfront_porch.typ + bp; in lcdc_tcon1_mode_set()
178 writel(SUNXI_LCDC_TCON1_TIMING_H_TOTAL(total) | in lcdc_tcon1_mode_set()
182 total = mode->vactive.typ + mode->vfront_porch.typ + bp; in lcdc_tcon1_mode_set()
184 total *= 2; in lcdc_tcon1_mode_set()
[all …]
/openbmc/u-boot/arch/mips/mach-mt7620/
H A DKconfig71 bool "256MBit (32MByte) total size"
74 Use 256MBit (32MByte) of DDR total size
77 bool "512MBit (64MByte) total size"
80 Use 512MBit (64MByte) of DDR total size
83 bool "1024MBit (128MByte) total size"
86 Use 1024MBit (128MByte) of DDR total size
89 bool "2048MBit (256MByte) total size"
92 Use 2048MBit (256MByte) of DDR total size
/openbmc/openbmc-test-automation/tools/ct_metrics/
H A Dgen_csv_results.py219 stats.total.critical.passed + stats.total.critical.failed
221 total_critical_passed = stats.total.critical.passed
222 total_critical_failed = stats.total.critical.failed
227 total_non_critical_tc = stats.total.passed + stats.total.failed
228 total_non_critical_passed = stats.total.passed
229 total_non_critical_failed = stats.total.failed
/openbmc/qemu/target/hexagon/
H A Dgdbstub.c81 int total = 0; in gdb_get_vreg() local
84 total += gdb_get_regl(mem_buf, env->VRegs[n].uw[i]); in gdb_get_vreg()
86 return total; in gdb_get_vreg()
91 int total = 0; in gdb_get_qreg() local
94 total += gdb_get_regl(mem_buf, env->QRegs[n].uw[i]); in gdb_get_qreg()
96 return total; in gdb_get_qreg()
/openbmc/openbmc/meta-security/meta-integrity/lib/oeqa/runtime/cases/
H A Dima.py26 cls.total = len(cls.binaries)
106 if failed == self.total:
107 self.fail("Signature verifications failed (%s)" % self.total)
127 if failed == self.total:
128 self.fail("Overwritting verifications failed (%s)" % self.total)
/openbmc/phosphor-health-monitor/
H A Dhealth_metric_collection.cpp159 auto total = memoryValues.at(MetricIntf::SubType::memoryTotal) * 1024; in readMemory() local
161 config.subType, "VALUE", value, "TOTAL", total); in readMemory()
162 metrics[config.name]->update(MValue(value, total)); in readMemory()
180 double total = buffer.f_blocks * buffer.f_frsize; in readStorage() local
182 config.subType, "VALUE", value, "TOTAL", total); in readStorage()
183 metrics[config.name]->update(MValue(value, total)); in readStorage()
/openbmc/openbmc/meta-fii/meta-kudo/recipes-extended/rsyslog/rsyslog/
H A Drsyslog.logrotate3 # Keep up to four 64k files for ipmi_sel (256k total)
13 # Keep up to four 64k files for redfish (256k total)
23 # Keep up to two 2k files for gpio log (4k total)
/openbmc/openbmc/meta-fii/meta-mori/recipes-extended/rsyslog/rsyslog/
H A Drsyslog.logrotate3 # Keep up to four 64k files for ipmi_sel (256k total)
13 # Keep up to four 64k files for redfish (256k total)
23 # Keep up to two 2k files for gpio log (4k total)

12345678910>>...13