Home
last modified time | relevance | path

Searched refs:tb_size (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/tcg/
H A Dregion.c425 static size_t tcg_n_regions(size_t tb_size, unsigned max_cpus) in tcg_n_regions() argument
447 n_regions = tb_size / (2 * MiB); in tcg_n_regions()
502 static int alloc_code_gen_buffer(size_t tb_size, int splitwx, Error **errp) in alloc_code_gen_buffer() argument
521 if (size > tb_size) { in alloc_code_gen_buffer()
522 size = QEMU_ALIGN_DOWN(tb_size, qemu_real_host_page_size()); in alloc_code_gen_buffer()
752 void tcg_region_init(size_t tb_size, int splitwx, unsigned max_cpus) in tcg_region_init() argument
759 if (tb_size == 0) { in tcg_region_init()
762 tb_size = DEFAULT_CODE_GEN_BUFFER_SIZE; in tcg_region_init()
764 tb_size = QEMU_ALIGN_DOWN(phys_mem / 8, page_size); in tcg_region_init()
765 tb_size = MIN(DEFAULT_CODE_GEN_BUFFER_SIZE, tb_size); in tcg_region_init()
[all …]
H A Dtcg-internal.h37 void tcg_region_init(size_t tb_size, int splitwx, unsigned max_cpus);
H A Dtcg.c1375 void tcg_init(size_t tb_size, int splitwx, unsigned max_cpus) in tcg_init() argument
1378 tcg_region_init(tb_size, splitwx, max_cpus); in tcg_init()
/openbmc/qemu/accel/tcg/
H A Dtcg-all.c49 unsigned long tb_size; member
117 tcg_init(s->tb_size * MiB, s->splitwx_enabled, max_cpus); in tcg_init_machine()
165 uint32_t value = s->tb_size; in tcg_get_tb_size()
181 s->tb_size = value; in tcg_set_tb_size()
/openbmc/qemu/block/
H A Dqcow2-bitmap.c1291 uint64_t tb_size = in store_bitmap_data() local
1295 if (tb_size > BME_MAX_TABLE_SIZE || in store_bitmap_data()
1296 tb_size * s->cluster_size > BME_MAX_PHYS_SIZE) in store_bitmap_data()
1302 tb = g_try_new0(uint64_t, tb_size); in store_bitmap_data()
1310 assert(DIV_ROUND_UP(bm_size, limit) == tb_size); in store_bitmap_data()
1361 *bitmap_table_size = tb_size; in store_bitmap_data()
1367 clear_bitmap_table(bs, tb, tb_size); in store_bitmap_data()
1384 uint32_t tb_size; in store_bitmap() local
1392 tb = store_bitmap_data(bs, bitmap, &tb_size, errp); in store_bitmap()
1397 assert(tb_size <= BME_MAX_TABLE_SIZE); in store_bitmap()
[all …]
/openbmc/qemu/include/tcg/
H A Dstartup.h37 void tcg_init(size_t tb_size, int splitwx, unsigned max_cpus);
/openbmc/linux/drivers/net/phy/
H A Dmotorcomm.c751 int tb_size, in ytphy_get_delay_reg_value() argument
756 int tb_size_half = tb_size / 2; in ytphy_get_delay_reg_value()
767 tb_size = tb_size_half; in ytphy_get_delay_reg_value()
769 for (i = 0; i < tb_size; i++) { in ytphy_get_delay_reg_value()
793 int tb_size = ARRAY_SIZE(ytphy_rgmii_delays); in ytphy_rgmii_clk_delay_config() local
800 ytphy_rgmii_delays, tb_size, in ytphy_rgmii_clk_delay_config()
804 ytphy_rgmii_delays, tb_size, NULL, in ytphy_rgmii_clk_delay_config()
/openbmc/linux/drivers/ps3/
H A Dps3-lpm.c1078 u64 tb_size; in ps3_lpm_open() local
1124 &lpm_priv->outlet_id, &tb_size); in ps3_lpm_open()
1140 lpm_priv->outlet_id, tb_size); in ps3_lpm_open()
/openbmc/linux/net/ipv4/
H A Dnexthop.c1045 struct nlattr *tb[], size_t tb_size, in nh_check_attr_group() argument
1104 for (i = NHA_GROUP_TYPE + 1; i < tb_size; ++i) { in nh_check_attr_group()