Home
last modified time | relevance | path

Searched refs:total (Results 26 – 50 of 1306) sorted by relevance

12345678910>>...53

/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Devent.py497 total = 123
500 self.assertEqual(event.total, total)
506 total = 123
698 total = 123
701 self.assertEqual(event.total, total)
712 total = 23
737 self.assertEqual(event.total, total)
751 total = 23
777 total = 23
780 self.assertEqual(event.total, total)
[all …]
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dsch_ets_tests.sh43 local total=$1; shift
48 if ((! total)); then
54 local ratio=$(echo "scale=2; 100 * $d / $total" | bc -l)
86 local total
105 total=$(echo ${d[@]} | sed 's/ /+/g' | bc)
110 notraf_eval "band $stream" ${d[$i]} $total
112 strict_eval "band $stream" ${d[$i]} $total
/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/linux/fs/qnx4/
H A Dbitmap.c24 int total = 0; in qnx4_count_free_blocks() local
30 while (total < size) { in qnx4_count_free_blocks()
31 int bytes = min(size - total, QNX4_BLOCK_SIZE); in qnx4_count_free_blocks()
40 total += bytes; in qnx4_count_free_blocks()
/openbmc/qemu/docs/
H A Dthrottle.txt34 | throttling.iops-total | iops |
37 | throttling.bps-total | bps |
53 -drive file=hd0.qcow2,throttling.iops-total=100
92 throttling.iops-total=100,
93 throttling.iops-total-max=2000,
94 throttling.iops-total-max-length=60
231 iops-total=100
232 iops-total-max=2000
233 iops-total-max-length=60
240 - If 'iops-total-max' is unset then 'iops-total-max-length' must be
[all …]
/openbmc/linux/fs/ceph/
H A Ddebugfs.c130 #define CEPH_LAT_METRIC_SHOW(name, total, avg, min, max, sq) { \ argument
135 _total = total - 1; \
140 name, total, _avg, _min, _max, _st); \
146 name, total, avg, _min, max, sum); \
178 s64 total, avg, min, max, sq; in metrics_latency_show() local
187 total = m->total; in metrics_latency_show()
204 s64 total; in metrics_size_show() local
217 total = m->total; in metrics_size_show()
219 avg = total > 0 ? DIV64_U64_ROUND_CLOSEST(sum, total) : 0; in metrics_size_show()
272 int total, avail, used, reserved, min, i; in caps_show() local
[all …]
/openbmc/linux/samples/bpf/
H A Dxdp_sample_user.c678 pps = calc_pps(&rec->total, &prev->total, t); in stats_get_rx_cnt()
680 err = calc_errs_pps(&rec->total, &prev->total, t); in stats_get_rx_cnt()
705 pps = calc_pps(&rec->total, &prev->total, t); in stats_get_cpumap_enqueue()
796 pps = calc_pps(&rec->total, &prev->total, t); in stats_get_cpumap_kthread()
798 err = calc_errs_pps(&rec->total, &prev->total, t); in stats_get_cpumap_kthread()
848 pps = calc_pps(&rec->total, &prev->total, t); in stats_get_redirect_cnt()
983 pps = calc_pps(&rec->total, &prev->total, t); in stats_get_devmap_xmit()
1045 pps = calc_pps(&r->total, &p->total, t); in stats_get_devmap_xmit_multi()
1046 drop = calc_drop_pps(&r->total, &p->total, t); in stats_get_devmap_xmit_multi()
1047 info = calc_info_pps(&r->total, &p->total, t); in stats_get_devmap_xmit_multi()
[all …]
/openbmc/linux/lib/zstd/compress/
H A Dfse_compress.c175 { unsigned total = 0; in FSE_buildCTable_wksp() local
188 assert(total <= INT_MAX); in FSE_buildCTable_wksp()
190 total ++; in FSE_buildCTable_wksp()
395 U32 const lowThreshold = (U32)(total >> tableLog); in FSE_normalizeM2()
396 U32 lowOne = (U32)((total * 3) >> (tableLog + 1)); in FSE_normalizeM2()
406 total -= count[s]; in FSE_normalizeM2()
412 total -= count[s]; in FSE_normalizeM2()
423 if ((total / ToDistribute) > lowOne) { in FSE_normalizeM2()
430 total -= count[s]; in FSE_normalizeM2()
447 if (total == 0) { in FSE_normalizeM2()
[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/linux/include/linux/
H A Dbpf_mprog.h196 int total = entry->parent->count; in bpf_mprog_total() local
198 WARN_ON_ONCE(total > bpf_mprog_max()); in bpf_mprog_total()
199 return total; in bpf_mprog_total()
277 int total = bpf_mprog_total(entry); in bpf_mprog_entry_grow() local
281 (total - idx) * sizeof(struct bpf_mprog_fp)); in bpf_mprog_entry_grow()
285 (total - idx) * sizeof(struct bpf_mprog_cp)); in bpf_mprog_entry_grow()
293 int total = ARRAY_SIZE(entry->fp_items); in bpf_mprog_entry_shrink() local
297 (total - idx - 1) * sizeof(struct bpf_mprog_fp)); in bpf_mprog_entry_shrink()
301 (total - idx - 1) * sizeof(struct bpf_mprog_cp)); in bpf_mprog_entry_shrink()
/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_inq.c219 if ((size_t)queued > total) in wait_for_ack()
237 size_t len, i, total, sent; in connect_one_server() local
272 total = rand() % (16 * 1024 * 1024); in connect_one_server()
273 total += (1 * 1024 * 1024); in connect_one_server()
274 sent = total; in connect_one_server()
276 ret = write(unixfd, &total, sizeof(total)); in connect_one_server()
277 assert(ret == (ssize_t)sizeof(total)); in connect_one_server()
281 while (total > 0) { in connect_one_server()
282 if (total > sizeof(buf)) in connect_one_server()
285 len = total; in connect_one_server()
[all …]
/openbmc/linux/lib/842/
H A D842_decompress.c175 if (total > fsize) { in __do_index()
177 u64 section = round_down(total, fsize); in __do_index()
179 u64 pos = total - section; in __do_index()
190 if (offset + size > total) { in __do_index()
192 (unsigned long)offset, (unsigned long)total); in __do_index()
202 (unsigned long)total, in __do_index()
282 u64 op, rep, tmp, bytes, total; in sw842_decompress() local
292 total = p.olen; in sw842_decompress()
385 if (crc != (u64)crc32_be(0, out, total - p.olen)) { in sw842_decompress()
390 if (unlikely((total - p.olen) > UINT_MAX)) in sw842_decompress()
[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/linux/tools/perf/ui/
H A Dprogress.c30 void __ui_progress__init(struct ui_progress *p, u64 total, in __ui_progress__init() argument
34 p->next = p->step = total / 16 ?: 1; in __ui_progress__init()
35 p->total = total; in __ui_progress__init()
/openbmc/qemu/util/
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/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_alloc.c137 int total = 0; in hns_roce_get_kmem_bufs() local
149 bufs[total++] = hns_roce_buf_dma_addr(buf, offset); in hns_roce_get_kmem_bufs()
153 return total; in hns_roce_get_kmem_bufs()
161 int total = 0; in hns_roce_get_umem_bufs() local
165 bufs[total++] = rdma_block_iter_dma_address(&biter); in hns_roce_get_umem_bufs()
166 if (total >= buf_cnt) in hns_roce_get_umem_bufs()
171 return total; in hns_roce_get_umem_bufs()
/openbmc/qemu/target/hexagon/
H A Dgdbstub.c66 int total = 0; in gdb_get_vreg() local
69 total += gdb_get_regl(mem_buf, env->VRegs[n].uw[i]); in gdb_get_vreg()
71 return total; in gdb_get_vreg()
76 int total = 0; in gdb_get_qreg() local
79 total += gdb_get_regl(mem_buf, env->QRegs[n].uw[i]); in gdb_get_qreg()
81 return total; in gdb_get_qreg()
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Di915_gem_gtt.c1537 u64 total; in igt_gtt_reserve() local
1547 total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_reserve()
1574 total, ggtt->vm.total, err); in igt_gtt_reserve()
1592 total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_reserve()
1620 total, ggtt->vm.total, err); in igt_gtt_reserve()
1661 total, ggtt->vm.total, err); in igt_gtt_reserve()
1743 u64 total; in igt_gtt_insert() local
1769 total + I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_insert()
1802 total, ggtt->vm.total, err); in igt_gtt_insert()
1852 total, ggtt->vm.total, err); in igt_gtt_insert()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_pm.c60 gt->stats.total = in runtime_end()
61 ktime_add(gt->stats.total, in runtime_end()
384 ktime_t total = gt->stats.total; in __intel_gt_get_awake_time() local
387 total = ktime_add(total, in __intel_gt_get_awake_time()
390 return total; in __intel_gt_get_awake_time()
396 ktime_t total; in intel_gt_get_awake_time() local
400 total = __intel_gt_get_awake_time(gt); in intel_gt_get_awake_time()
403 return total; in intel_gt_get_awake_time()
/openbmc/linux/drivers/video/fbdev/i810/
H A Di810_dvt.c248 u32 total, xres, yres; in i810fb_fill_var_timings() local
257 total = (std_modes[mode].cr00 | (std_modes[mode].cr35 & 1) << 8) + 3; in i810fb_fill_var_timings()
258 total <<= 3; in i810fb_fill_var_timings()
264 var->left_margin = (total - (xres + var->right_margin + in i810fb_fill_var_timings()
272 total = (std_modes[mode].cr06 | (std_modes[mode].cr30 & 0xF) << 8) + 2; in i810fb_fill_var_timings()
277 var->upper_margin = total - (yres + var->lower_margin + var->vsync_len); in i810fb_fill_var_timings()
/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.py216 stats.total.critical.passed + stats.total.critical.failed
218 total_critical_passed = stats.total.critical.passed
219 total_critical_failed = stats.total.critical.failed
224 total_non_critical_tc = stats.total.passed + stats.total.failed
225 total_non_critical_passed = stats.total.passed
226 total_non_critical_failed = stats.total.failed
/openbmc/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_tcon.h71 #define SUN4I_TCON0_BASIC1_H_TOTAL(total) ((((total) - 1) & 0x1fff) << 16) argument
75 #define SUN4I_TCON0_BASIC2_V_TOTAL(total) (((total) & 0x1fff) << 16) argument
146 #define SUN4I_TCON1_BASIC3_H_TOTAL(total) ((((total) - 1) & 0x1fff) << 16) argument
150 #define SUN4I_TCON1_BASIC4_V_TOTAL(total) (((total) & 0x1fff) << 16) argument
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/
H A Dtda1997x.txt6 - RGB 8bit per color (24 bits total): R[11:4] B[11:4] G[11:4]
7 - YUV444 8bit per color (24 bits total): Y[11:4] Cr[11:4] Cb[11:4]
8 - YUV422 semi-planar 8bit per component (16 bits total): Y[11:4] CbCr[11:4]
9 - YUV422 semi-planar 10bit per component (20 bits total): Y[11:2] CbCr[11:2]
10 - YUV422 semi-planar 12bit per component (24 bits total): - Y[11:0] CbCr[11:0]
11 - YUV422 BT656 8bit per component (8 bits total): YCbCr[11:4] (2-cycles)
12 - YUV422 BT656 10bit per component (10 bits total): YCbCr[11:2] (2-cycles)
13 - YUV422 BT656 12bit per component (12 bits total): YCbCr[11:0] (2-cycles)
16 - RGB 12bit per color (36 bits total): R[11:0] B[11:0] G[11:0]
17 - YUV444 12bit per color (36 bits total): Y[11:0] Cb[11:0] Cr[11:0]
[all …]
/openbmc/linux/net/atm/
H A Daddr.c139 int total = 0, error; in atm_get_addr() local
148 total += sizeof(struct sockaddr_atmsvc); in atm_get_addr()
149 tmp_buf = tmp_bufp = kmalloc(total, GFP_ATOMIC); in atm_get_addr()
157 error = total > size ? -E2BIG : total; in atm_get_addr()
158 if (copy_to_user(buf, tmp_buf, total < size ? total : size)) in atm_get_addr()

12345678910>>...53