Home
last modified time | relevance | path

Searched refs:dist (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/openbmc/qemu/util/
H A Dqdist.c19 void qdist_init(struct qdist *dist) in qdist_init() argument
21 dist->entries = g_new(struct qdist_entry, 1); in qdist_init()
22 dist->size = 1; in qdist_init()
23 dist->n = 0; in qdist_init()
26 void qdist_destroy(struct qdist *dist) in qdist_destroy() argument
28 g_free(dist->entries); in qdist_destroy()
49 void qdist_add(struct qdist *dist, double x, long count) in qdist_add() argument
53 if (dist->n) { in qdist_add()
57 entry = bsearch(&e, dist->entries, dist->n, sizeof(e), qdist_cmp); in qdist_add()
65 if (unlikely(dist->n == dist->size)) { in qdist_add()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-qdist.c53 histogram_check(const struct qdist *dist, const struct entry_desc *darr, in histogram_check() argument
56 char *pr = qdist_pr_plain(dist, n_bins); in histogram_check()
64 static void histogram_check_single_full(const struct qdist *dist, size_t n_bins) in histogram_check_single_full() argument
68 histogram_check(dist, &desc, 1, n_bins); in histogram_check_single_full()
72 entries_check(const struct qdist *dist, const struct entry_desc *darr, size_t n) in entries_check() argument
77 struct qdist_entry *e = &dist->entries[i]; in entries_check()
84 entries_insert(struct qdist *dist, const struct entry_desc *darr, size_t n) in entries_insert() argument
89 qdist_add(dist, darr[i].x, darr[i].count); in entries_insert()
135 struct qdist dist; in do_test_pr() local
142 qdist_init(&dist); in do_test_pr()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/go/go/
H A D0004-make.bash-override-CC-when-building-dist-and-go_boot.patch4 Subject: [PATCH] make.bash: override CC when building dist and go_bootstrap
27 rm -f cmd/dist/dist
28 -GOROOT="$GOROOT_BOOTSTRAP" nogoenv "$GOROOT_BOOTSTRAP/bin/go" build -o cmd/dist/dist ./cmd/dist
29 …}}" GOROOT="$GOROOT_BOOTSTRAP" nogoenv "$GOROOT_BOOTSTRAP/bin/go" build -o cmd/dist/dist ./cmd/dist
32 eval $(./cmd/dist/dist env -p || echo FAIL=true)
34 # Run dist bootstrap to complete make.bash.
35 # Bootstrap installs a proper cmd/dist, built with the new toolchain.
37 -./cmd/dist/dist bootstrap -a $vflag $GO_DISTFLAGS "$@"
38 +CC="${BUILD_CC:-${CC}}" ./cmd/dist/dist bootstrap -a $vflag $GO_DISTFLAGS "$@"
39 rm -f ./cmd/dist/dist
H A D0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch4 Subject: [PATCH] src/cmd/dist/buildgo.go: do not hardcode host compilers into
15 src/cmd/dist/buildgo.go | 8 ++++----
18 diff --git a/src/cmd/dist/buildgo.go b/src/cmd/dist/buildgo.go
20 --- a/src/cmd/dist/buildgo.go
21 +++ b/src/cmd/dist/buildgo.go
H A D0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch17 src/cmd/dist/build.go | 4 +++-
21 diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go
23 --- a/src/cmd/dist/build.go
24 +++ b/src/cmd/dist/build.go
/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic-init.c54 struct vgic_dist *dist = &kvm->arch.vgic; in kvm_vgic_early_init() local
56 INIT_LIST_HEAD(&dist->lpi_list_head); in kvm_vgic_early_init()
57 INIT_LIST_HEAD(&dist->lpi_translation_cache); in kvm_vgic_early_init()
58 raw_spin_lock_init(&dist->lpi_list_lock); in kvm_vgic_early_init()
142 struct vgic_dist *dist = &kvm->arch.vgic; in kvm_vgic_dist_init() local
146 dist->spis = kcalloc(nr_spis, sizeof(struct vgic_irq), GFP_KERNEL_ACCOUNT); in kvm_vgic_dist_init()
147 if (!dist->spis) in kvm_vgic_dist_init()
159 struct vgic_irq *irq = &dist->spis[i]; in kvm_vgic_dist_init()
167 switch (dist->vgic_model) { in kvm_vgic_dist_init()
177 kfree(dist->spis); in kvm_vgic_dist_init()
[all …]
H A Dvgic-v4.c189 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_v4_configure_vsgis() local
198 if (dist->nassgireq) in vgic_v4_configure_vsgis()
241 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_v4_init() local
251 if (dist->its_vm.vpes) in vgic_v4_init()
256 dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes), in vgic_v4_init()
258 if (!dist->its_vm.vpes) in vgic_v4_init()
261 dist->its_vm.nr_vpes = nr_vcpus; in vgic_v4_init()
264 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_init()
266 ret = its_alloc_vcpu_irqs(&dist->its_vm); in vgic_v4_init()
269 kfree(dist->its_vm.vpes); in vgic_v4_init()
[all …]
H A Dvgic-mmio-v3.c43 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_has_its() local
45 if (dist->vgic_model != KVM_DEV_TYPE_ARM_VGIC_V3) in vgic_has_its()
48 return dist->has_its; in vgic_has_its()
108 struct vgic_dist *dist = &vcpu->kvm->arch.vgic; in vgic_mmio_write_v3_misc() local
116 was_enabled = dist->enabled; in vgic_mmio_write_v3_misc()
117 is_hwsgi = dist->nassgireq; in vgic_mmio_write_v3_misc()
119 dist->enabled = val & GICD_CTLR_ENABLE_SS_G1; in vgic_mmio_write_v3_misc()
126 if (was_enabled && dist->enabled) { in vgic_mmio_write_v3_misc()
132 dist->nassgireq = val & GICD_CTLR_nASSGIreq; in vgic_mmio_write_v3_misc()
133 if (is_hwsgi != dist->nassgireq) in vgic_mmio_write_v3_misc()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/
H A D0001-Fix-compilation-with-fno-common.patch14 src/third_party/unwind/dist/src/aarch64/Ginit.c | 15 +++++++--------
15 src/third_party/unwind/dist/src/arm/Ginit.c | 15 +++++++--------
17 src/third_party/unwind/dist/src/hppa/Ginit.c | 15 +++++++--------
18 src/third_party/unwind/dist/src/ia64/Ginit.c | 1 +
19 .../unwind/dist/src/mi/Gfind_dynamic_proc_info.c | 1 +
20 src/third_party/unwind/dist/src/mips/Ginit.c | 15 +++++++--------
21 src/third_party/unwind/dist/src/ppc32/Ginit.c | 11 +++++++----
22 src/third_party/unwind/dist/src/ppc64/Ginit.c | 11 +++++++----
23 .../dist/src/ptrace/_UPT_get_dyn_info_list_addr.c | 5 +++++
24 src/third_party/unwind/dist/src/s390x/Ginit.c | 15 +++++++--------
[all …]
/openbmc/qemu/include/qemu/
H A Dqdist.h41 void qdist_init(struct qdist *dist);
42 void qdist_destroy(struct qdist *dist);
44 void qdist_add(struct qdist *dist, double x, long count);
45 void qdist_inc(struct qdist *dist, double x);
46 double qdist_xmin(const struct qdist *dist);
47 double qdist_xmax(const struct qdist *dist);
48 double qdist_avg(const struct qdist *dist);
49 unsigned long qdist_sample_count(const struct qdist *dist);
50 size_t qdist_unique_entries(const struct qdist *dist);
53 char *qdist_pr_plain(const struct qdist *dist, size_t n_groups);
[all …]
/openbmc/linux/lib/zlib_inflate/
H A Dinffast.c92 unsigned dist; /* match distance */ in inflate_fast() local
159 dist = (unsigned)(this.val); in inflate_fast()
169 dist += (unsigned)hold & ((1U << op) - 1); in inflate_fast()
171 if (dist > dmax) { in inflate_fast()
180 if (dist > op) { /* see if copy from window */ in inflate_fast()
181 op = dist - op; /* distance back in window */ in inflate_fast()
195 from = out - dist; /* rest from output */ in inflate_fast()
213 from = out - dist; /* rest from output */ in inflate_fast()
224 from = out - dist; /* rest from output */ in inflate_fast()
243 from = out - dist; /* copy direct from output */ in inflate_fast()
[all …]
/openbmc/u-boot/lib/zlib/
H A Dinffast.c95 unsigned dist; /* match distance */ in inflate_fast() local
174 dist = (unsigned)(this.val); in inflate_fast()
184 dist += (unsigned)hold & ((1U << op) - 1); in inflate_fast()
186 if (dist > dmax) { in inflate_fast()
194 Tracevv((stderr, "inflate: distance %u\n", dist)); in inflate_fast()
196 if (dist > op) { /* see if copy from window */ in inflate_fast()
197 op = dist - op; /* distance back in window */ in inflate_fast()
211 from = out - dist; /* rest from output */ in inflate_fast()
229 from = out - dist; /* rest from output */ in inflate_fast()
240 from = out - dist; /* rest from output */ in inflate_fast()
[all …]
H A Ddeflate.h294 int ZLIB_INTERNAL _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc));
301 #define d_code(dist) \ argument
302 ((dist) < 256 ? _dist_code[dist] : _dist_code[256+((dist)>>7)])
328 ush dist = (distance); \
329 s->d_buf[s->last_lit] = dist; \
331 dist--; \
333 s->dyn_dtree[d_code(dist)].Freq++; \
H A Dtrees.c247 int dist; /* distance index */ in tr_static_init() local
278 dist = 0; in tr_static_init()
280 base_dist[code] = dist; in tr_static_init()
282 _dist_code[dist++] = (uch)code; in tr_static_init()
285 Assert (dist == 256, "tr_static_init: dist != 256"); in tr_static_init()
286 dist >>= 7; /* from now on, all distances are divided by 128 */ in tr_static_init()
288 base_dist[code] = dist << 7; in tr_static_init()
290 _dist_code[256 + dist++] = (uch)code; in tr_static_init()
293 Assert (dist == 256, "tr_static_init: 256+dist != 512"); in tr_static_init()
1026 int ZLIB_INTERNAL _tr_tally (s, dist, lc) in _tr_tally() argument
[all …]
/openbmc/linux/lib/
H A Dcpu_rmap.c54 rmap->near[cpu].dist = CPU_RMAP_DIST_INF; in alloc_cpu_rmap()
95 const struct cpumask *mask, u16 dist) in cpu_rmap_copy_neigh() argument
100 if (rmap->near[cpu].dist > dist && in cpu_rmap_copy_neigh()
101 rmap->near[neigh].dist <= dist) { in cpu_rmap_copy_neigh()
103 rmap->near[cpu].dist = dist; in cpu_rmap_copy_neigh()
121 cpu, index, rmap->near[cpu].dist); in debug_print_rmap()
181 rmap->near[cpu].dist = CPU_RMAP_DIST_INF; in cpu_rmap_update()
193 rmap->near[cpu].dist = 0; in cpu_rmap_update()
/openbmc/linux/lib/zlib_deflate/
H A Ddeftree.c159 #define d_code(dist) \ argument
160 ((dist) < 256 ? dist_code[dist] : dist_code[256+((dist)>>7)])
178 int dist; /* distance index */ in tr_static_init() local
200 dist = 0; in tr_static_init()
202 base_dist[code] = dist; in tr_static_init()
204 dist_code[dist++] = (uch)code; in tr_static_init()
207 Assert (dist == 256, "tr_static_init: dist != 256"); in tr_static_init()
208 dist >>= 7; /* from now on, all distances are divided by 128 */ in tr_static_init()
210 base_dist[code] = dist << 7; in tr_static_init()
212 dist_code[256 + dist++] = (uch)code; in tr_static_init()
[all …]
/openbmc/linux/arch/hexagon/kernel/
H A Dmodule.c102 int dist = (int)(value - (uint32_t)location); in apply_relocate_add() local
103 if ((dist < -0x00800000) || in apply_relocate_add()
104 (dist >= 0x00800000)) { in apply_relocate_add()
109 dist, value, (uint32_t)location, in apply_relocate_add()
116 *location |= 0x00003fff & dist; in apply_relocate_add()
117 *location |= 0x01ff0000 & (dist<<2); in apply_relocate_add()
/openbmc/openbmc/poky/meta/recipes-support/db/db/
H A D0001-configure-Add-explicit-tag-options-to-libtool-invoca.patch14 dist/configure.ac | 12 ++++++------
17 diff --git a/dist/configure.ac b/dist/configure.ac
19 --- a/dist/configure.ac
20 +++ b/dist/configure.ac
H A Dfix-parallel-build.patch9 Index: db-6.0.30/dist/Makefile.in
11 --- db-6.0.30.orig/dist/Makefile.in
12 +++ db-6.0.30/dist/Makefile.in
/openbmc/openbmc/poky/meta/recipes-devtools/perl/files/
H A Dperl-dynloader.patch15 dist/XSLoader/XSLoader_pm.PL | 18 ++++++++++++++++++
18 diff --git a/dist/XSLoader/XSLoader_pm.PL b/dist/XSLoader/XSLoader_pm.PL
20 --- a/dist/XSLoader/XSLoader_pm.PL
21 +++ b/dist/XSLoader/XSLoader_pm.PL
/openbmc/openbmc/poky/meta/recipes-devtools/m4/m4/
H A Dserial-tests-config.patch23 -AM_INIT_AUTOMAKE([1.11.6 dist-bzip2 dist-xz color-tests parallel-tests
24 +AM_INIT_AUTOMAKE([1.11.6 dist-bzip2 dist-xz color-tests serial-tests
/openbmc/openbmc/poky/meta/recipes-core/util-linux/util-linux/
H A Davoid_parallel_tests.patch24 -AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign 1.10 tar-pax no-dist-gzip dist-xz subdir-objects])
25 +AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign 1.10 tar-pax no-dist-gzip dist-xz subdir-objects …
/openbmc/openbmc/poky/meta/recipes-kernel/kmod/kmod/
H A Davoid_parallel_tests.patch26 -AM_INIT_AUTOMAKE([check-news foreign 1.11 silent-rules tar-pax no-dist-gzip dist-xz subdir-objects…
27 +AM_INIT_AUTOMAKE([check-news foreign 1.11 silent-rules tar-pax no-dist-gzip dist-xz subdir-objects…
/openbmc/linux/arch/m68k/kernel/
H A Dtime.c45 static unsigned cnt = 0, period = 0, dist = 0; in timer_heartbeat() local
47 if (cnt == 0 || cnt == dist) in timer_heartbeat()
49 else if (cnt == 7 || cnt == dist+7) in timer_heartbeat()
59 dist = period / 4; in timer_heartbeat()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/dmalloc/dmalloc/
H A D03-threads.patch3 Description: Fix LOCK_THREADS in settings.dist
10 --- dmalloc-5.5.1.orig/settings.dist 2007-03-25 21:16:43.000000000 +0200
11 +++ dmalloc-5.5.1/settings.dist 2007-04-27 20:56:49.000000000 +0200

12345678910>>...12