| /openbmc/qemu/include/qemu/ |
| H A D | range.h | 41 static inline void range_invariant(const Range *range) in range_invariant() argument 43 assert(range->lob <= range->upb || range->lob == range->upb + 1); in range_invariant() 50 static inline bool range_is_empty(const Range *range) in range_is_empty() argument 52 range_invariant(range); in range_is_empty() 53 return range->lob > range->upb; in range_is_empty() 57 static inline bool range_contains(const Range *range, uint64_t val) in range_contains() argument 59 return val >= range->lob && val <= range->upb; in range_contains() 63 static inline void range_make_empty(Range *range) in range_make_empty() argument 65 *range = range_empty; in range_make_empty() 66 assert(range_is_empty(range)); in range_make_empty() [all …]
|
| /openbmc/qemu/hw/hyperv/ |
| H A D | hv-balloon-page_range_tree.c | 41 PageRange *range = g_malloc(sizeof(*range)); in page_range_tree_insert_new() local 45 *key = range->start = start; in page_range_tree_insert_new() 46 range->count = count; in page_range_tree_insert_new() 48 return g_tree_insert_node(tree.t, key, range); in page_range_tree_insert_new() 58 PageRange *range; in hvb_page_range_tree_insert() local 73 range = g_tree_node_value(node); in hvb_page_range_tree_insert() 74 assert(range); in hvb_page_range_tree_insert() 75 intersection = page_range_intersection_size(range, start, count); in hvb_page_range_tree_insert() 76 joinable = page_range_joinable_right(range, start, count); in hvb_page_range_tree_insert() 90 range = g_tree_node_value(node); in hvb_page_range_tree_insert() [all …]
|
| H A D | hv-balloon-page_range_tree.h | 21 static inline void page_range_part_before(const PageRange *range, in page_range_part_before() argument 24 uint64_t endr = range->start + range->count; in page_range_part_before() 27 out->start = range->start; in page_range_part_before() 36 static inline void page_range_part_after(const PageRange *range, in page_range_part_after() argument 40 uint64_t end = range->start + range->count; in page_range_part_after() 43 out->start = MAX(range->start, ends); in page_range_part_after() 51 static inline void page_range_intersect(const PageRange *range, in page_range_intersect() argument 55 uint64_t end1 = range->start + range->count; in page_range_intersect() 59 out->start = MAX(range->start, start); in page_range_intersect() 63 static inline uint64_t page_range_intersection_size(const PageRange *range, in page_range_intersection_size() argument [all …]
|
| H A D | hv-balloon.c | 190 return balloon->our_range->range.added; in hv_balloon_total_our_ram() 368 PageRange range; in hv_balloon_unballoon_posting() local 393 bret = hvb_page_range_tree_pop(dtree, &range, MIN(balloon->unballoon_diff, in hv_balloon_unballoon_posting() 398 *dctr -= range.count; in hv_balloon_unballoon_posting() 399 balloon->unballoon_diff -= range.count; in hv_balloon_unballoon_posting() 402 ur->range_array[0].finfo.start_page = range.start; in hv_balloon_unballoon_posting() 403 ur->range_array[0].finfo.page_cnt = range.count; in hv_balloon_unballoon_posting() 407 range.count, range.start, in hv_balloon_unballoon_posting() 453 our_range->range.start, in hv_balloon_our_range_ensure() 454 our_range->range.count) || in hv_balloon_our_range_ensure() [all …]
|
| H A D | hv-balloon-our_range_memslots.h | 23 PageRange range; member 37 return our_range->range.start + our_range->added; in our_range_get_remaining_start() 42 return our_range->range.count - our_range->added - our_range->unusable_tail; in our_range_get_remaining_size() 49 our_range->unusable_tail = our_range->range.count - our_range->added; in our_range_mark_remaining_unusable() 88 OurRange range; member
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
| H A D | portals.c | 31 u32 *range; in fdt_portal() local 35 range = fdt_getprop_w(blob, off, "ranges", &len); in fdt_portal() 36 if (range == NULL) { in fdt_portal() 41 range[0] = 0; in fdt_portal() 43 range[1] = addr >> 32; in fdt_portal() 44 range[2] = addr & 0xffffffff; in fdt_portal() 45 range[3] = size; in fdt_portal() 47 range[1] = addr & 0xffffffff; in fdt_portal() 48 range[2] = size; in fdt_portal() 50 fdt_setprop_inplace(blob, off, "ranges", range, len); in fdt_portal()
|
| /openbmc/u-boot/drivers/core/ |
| H A D | regmap.c | 42 struct regmap_range *range; in regmap_init_mem_platdata() local 49 for (range = map->ranges; count > 0; reg += 2, range++, count--) { in regmap_init_mem_platdata() 50 range->start = *reg; in regmap_init_mem_platdata() 51 range->size = reg[1]; in regmap_init_mem_platdata() 73 static int init_range(ofnode node, struct regmap_range *range, int addr_len, in init_range() argument 90 range->start = r.start; in init_range() 91 range->size = r.end - r.start + 1; in init_range() 95 range->start = fdtdec_get_addr_size_fixed(gd->fdt_blob, offset, in init_range() 99 if (range->start == FDT_ADDR_T_NONE) { in init_range() 105 range->size = sz; in init_range() [all …]
|
| /openbmc/u-boot/arch/arm/dts/ |
| H A D | sama5d2.dtsi | 98 atmel,clk-input-range = <12000000 12000000>; 99 #atmel,pll-clk-output-range-cells = <4>; 140 atmel,clk-output-range = <124000000 166000000>; 245 atmel,clk-output-range = <0 83000000>; 251 atmel,clk-output-range = <0 83000000>; 267 atmel,clk-output-range = <0 83000000>; 274 atmel,clk-output-range = <0 83000000>; 280 atmel,clk-output-range = <0 83000000>; 286 atmel,clk-output-range = <0 83000000>; 292 atmel,clk-output-range = <0 83000000>; [all …]
|
| H A D | hi3798cv200.dtsi | 183 pinctrl-single,gpio-range = < 184 &range 0 8 2 /* GPIO 0 */ 185 &range 8 1 0 /* GPIO 1 */ 186 &range 9 4 2 187 &range 13 1 0 188 &range 14 1 1 189 &range 15 1 0 190 &range 16 5 0 /* GPIO 2 */ 191 &range 21 3 1 192 &range 24 4 1 /* GPIO 3 */ [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench/ |
| H A D | fix-lmbench-memory-check-failure.patch | 41 @@ -197,6 +197,12 @@ The bigger the range, the more accurate the results, but larger sizes 147 size_t range; 162 + range = MEMORY_SIZE_1MB; 164 + range = MEMORY_SIZE_8MB; 168 + if (size < range) { 173 + //Touch range of memory, get the average time (usec) of operating each memory page on this system 175 + touchRange(where, range, pagesize); 178 + if ((time_each_page = sum * pagesize / range) < 1) 183 - range = 1024 * 1024; 185 - touchRange(where, range, pagesize); [all …]
|
| /openbmc/u-boot/drivers/clk/sifive/ |
| H A D | wrpll-cln28hpc.c | 92 u8 range; in __wrpll_calc_filter_range() local 102 range = 1; in __wrpll_calc_filter_range() 104 range = 2; in __wrpll_calc_filter_range() 106 range = 3; in __wrpll_calc_filter_range() 108 range = 4; in __wrpll_calc_filter_range() 110 range = 5; in __wrpll_calc_filter_range() 112 range = 6; in __wrpll_calc_filter_range() 114 range = 7; in __wrpll_calc_filter_range() 116 return range; in __wrpll_calc_filter_range() 338 c->range = __wrpll_calc_filter_range(post_divr_freq); in analogbits_wrpll_configure_for_rate()
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 093 | 45 for i in range(0, self.max_drives): 56 for i in range(0, ndrives): 90 for i in range(rd_nr): 91 for drive in range(0, ndrives): 96 for i in range(wr_nr): 97 for drive in range(0, ndrives): 113 for i in range(0, ndrives): 121 for i in range(0, ndrives): 127 for i in range(0, ndrives): 154 for ndrives in range(1, self.max_drives + 1): [all …]
|
| H A D | 044 | 57 for i in range(0, h.refcount_table_clusters): 60 for j in range(0, 64)) 65 sector = b''.join(struct.pack('>H', 1) for j in range(0, 64 * 256)) 66 for block in range(0, h.refcount_table_clusters): 73 for j in range(0, h.l1_size)) 84 for j in range(0, 1024)) 91 for j in range(0, remaining // 512))
|
| /openbmc/qemu/tests/bench/ |
| H A D | atomic_add-bench.c | 22 static unsigned int range = 1024; variable 66 index = info->r & (range - 1); in thread_func() 101 counts = qemu_memalign(64, sizeof(*counts) * range); in create_threads() 102 memset(counts, 0, sizeof(*counts) * range); in create_threads() 103 for (i = 0; i < range; i++) { in create_threads() 121 printf(" ops' range: %u\n", range); in pr_params() 130 for (i = 0; i < range; i++) { in pr_stats() 167 range = pow2ceil(atoi(optarg)); in parse_args()
|
| /openbmc/u-boot/drivers/power/regulator/ |
| H A D | stpmu1.c | 47 const struct stpmu1_range *range; in stpmu1_output_find_uv() local 50 for (i = 0, range = output_range->ranges; in stpmu1_output_find_uv() 51 i < output_range->nbranges; i++, range++) { in stpmu1_output_find_uv() 52 if (sel >= range->min_sel && sel <= range->max_sel) in stpmu1_output_find_uv() 53 return range->min_uv + in stpmu1_output_find_uv() 54 (sel - range->min_sel) * range->step; in stpmu1_output_find_uv() 63 const struct stpmu1_range *range; in stpmu1_output_find_sel() local 66 for (i = 0, range = output_range->ranges; in stpmu1_output_find_sel() 67 i < output_range->nbranges; i++, range++) { in stpmu1_output_find_sel() 68 if (uv == range->min_uv && !range->step) in stpmu1_output_find_sel() [all …]
|
| /openbmc/qemu/tests/tcg/aarch64/gdbstub/ |
| H A D | test-sve.py | 25 for i in range(0, 32): 29 for j in range(0, 4): 33 for j in range(0, 4): 37 for j in range(0, 8): 41 for j in range(0, 8):
|
| /openbmc/phosphor-pid-control/tools/ |
| H A D | fan_rpm_loop_test.sh | 37 local -i range=$((stop_rpm - start_rpm)) 39 if ((range < 0)); then 41 ((range = -range)) 53 local -i rpm=$((rpm0 + (range * p + h) / num_steps))
|
| /openbmc/qemu/hw/pci/ |
| H A D | pci-qmp-cmds.c | 72 PciMemoryRange *range; in qmp_query_pci_bridge() local 81 range = info->bus->io_range = g_new0(PciMemoryRange, 1); in qmp_query_pci_bridge() 82 range->base = pci_bridge_get_base(dev, PCI_BASE_ADDRESS_SPACE_IO); in qmp_query_pci_bridge() 83 range->limit = pci_bridge_get_limit(dev, PCI_BASE_ADDRESS_SPACE_IO); in qmp_query_pci_bridge() 85 range = info->bus->memory_range = g_new0(PciMemoryRange, 1); in qmp_query_pci_bridge() 86 range->base = pci_bridge_get_base(dev, PCI_BASE_ADDRESS_SPACE_MEMORY); in qmp_query_pci_bridge() 87 range->limit = pci_bridge_get_limit(dev, PCI_BASE_ADDRESS_SPACE_MEMORY); in qmp_query_pci_bridge() 89 range = info->bus->prefetchable_range = g_new0(PciMemoryRange, 1); in qmp_query_pci_bridge() 90 range->base = pci_bridge_get_base(dev, PCI_BASE_ADDRESS_MEM_PREFETCH); in qmp_query_pci_bridge() 91 range->limit = pci_bridge_get_limit(dev, PCI_BASE_ADDRESS_MEM_PREFETCH); in qmp_query_pci_bridge()
|
| /openbmc/u-boot/board/xilinx/microblaze-generic/ |
| H A D | Kconfig | 18 int "USE_MSR_INSTR range (0:1)" 22 int "USE_PCMP_INSTR range (0:1)" 26 int "USE_BARREL range (0:1)" 30 int "USE_DIV range (0:1)"
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/rocksdb/files/ |
| H A D | 0005-Implement-timer-implementation-for-mips-platform.patch | 10 .../lock/range/range_tree/lib/portability/toku_time.h | 6 ++++++ 13 …--git a/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h b/utilities/trans… 15 --- a/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h 16 +++ b/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h
|
| H A D | 0004-Implement-support-for-musl-ppc64.patch | 10 .../lock/range/range_tree/lib/portability/toku_time.h | 8 ++++++-- 13 …--git a/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h b/utilities/trans… 15 --- a/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h 16 +++ b/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h
|
| /openbmc/phosphor-mboxd/vpnor/ |
| H A D | README.md | 39 7. A read of a valid access range that maps into the backing file will render 41 8. A read of a valid access range that does not map into the backing file will 43 9. A read of an invalid access range will appear erased 44 10. A write to a valid access range that maps into the backing file will update 46 11. A write to a valid access range that does not map into the backing file 48 12. A write to a valid access range may fail if the range is not marked as 50 the write window intersecting the read-only range. 51 13. A write of an invalid access range will return an error. The error should 53 the invalid range.
|
| /openbmc/hiomapd/vpnor/ |
| H A D | README.md | 35 7. A read of a valid access range that maps into the backing file will render 37 8. A read of a valid access range that does not map into the backing file will 39 9. A read of an invalid access range will appear erased 40 10. A write to a valid access range that maps into the backing file will update 42 11. A write to a valid access range that does not map into the backing file will 44 12. A write to a valid access range may fail if the range is not marked as 46 the write window intersecting the read-only range. 47 13. A write of an invalid access range will return an error. The error should be 49 invalid range.
|
| /openbmc/qemu/scripts/ |
| H A D | qcow2-to-stdout.py | 59 for idx in range(length): 77 for idx in range(data_from // cluster_size, data_to // cluster_size): 184 for idx in range(l1_entries): 186 for idx in range(total_data_clusters): 300 for idx in range(to_write): 307 for tbl in range(allocated_refcount_blocks): 313 for idx in range(to_write): 332 for tbl in range(allocated_l1_tables): 334 for idx in range(l1_entries_per_table): 343 for tbl in range(l1_entries): [all …]
|
| /openbmc/openbmc/meta-security/recipes-ids/suricata/files/ |
| H A D | CVE-2024-38536.patch | 18 src/app-layer-htp-range.c | 6 ++++-- 21 diff --git a/src/app-layer-htp-range.c b/src/app-layer-htp-range.c 23 --- a/src/app-layer-htp-range.c 24 +++ b/src/app-layer-htp-range.c
|