/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/tcg/ |
H A D | region.c | 419 n_regions = tb_size / (2 * MiB); in tcg_n_regions() 493 if (size > tb_size) { in alloc_code_gen_buffer() 733 if (tb_size == 0) { in tcg_region_init() 736 tb_size = DEFAULT_CODE_GEN_BUFFER_SIZE; in tcg_region_init() 739 tb_size = MIN(DEFAULT_CODE_GEN_BUFFER_SIZE, tb_size); in tcg_region_init() 742 if (tb_size < MIN_CODE_GEN_BUFFER_SIZE) { in tcg_region_init() 743 tb_size = MIN_CODE_GEN_BUFFER_SIZE; in tcg_region_init() 745 if (tb_size > MAX_CODE_GEN_BUFFER_SIZE) { in tcg_region_init() 746 tb_size = MAX_CODE_GEN_BUFFER_SIZE; in tcg_region_init() 764 region.n = tcg_n_regions(tb_size, max_cpus); in tcg_region_init() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/tcg/ |
H A D | region.c | 419 n_regions = tb_size / (2 * MiB); in tcg_n_regions() 493 if (size > tb_size) { in alloc_code_gen_buffer() 733 if (tb_size == 0) { in tcg_region_init() 736 tb_size = DEFAULT_CODE_GEN_BUFFER_SIZE; in tcg_region_init() 739 tb_size = MIN(DEFAULT_CODE_GEN_BUFFER_SIZE, tb_size); in tcg_region_init() 742 if (tb_size < MIN_CODE_GEN_BUFFER_SIZE) { in tcg_region_init() 743 tb_size = MIN_CODE_GEN_BUFFER_SIZE; in tcg_region_init() 745 if (tb_size > MAX_CODE_GEN_BUFFER_SIZE) { in tcg_region_init() 746 tb_size = MAX_CODE_GEN_BUFFER_SIZE; in tcg_region_init() 764 region.n = tcg_n_regions(tb_size, max_cpus); in tcg_region_init() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/accel/tcg/ |
H A D | tcg-all.c | 41 unsigned long tb_size; member 105 tcg_exec_init(s->tb_size * 1024 * 1024); in tcg_init() 152 uint32_t value = s->tb_size; in tcg_get_tb_size() 168 s->tb_size = value; in tcg_set_tb_size()
|
/dports/emulators/qemu60/qemu-6.0.0/accel/tcg/ |
H A D | tcg-all.c | 41 unsigned long tb_size; member 112 tcg_exec_init(s->tb_size * 1024 * 1024, s->splitwx_enabled); in tcg_init() 168 uint32_t value = s->tb_size; in tcg_get_tb_size() 184 s->tb_size = value; in tcg_set_tb_size()
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/accel/tcg/ |
H A D | tcg-all.c | 43 unsigned long tb_size; member 129 tcg_exec_init(s->tb_size * 1024 * 1024); in tcg_init() 175 uint32_t value = s->tb_size; in tcg_get_tb_size() 194 s->tb_size = value; in tcg_set_tb_size()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/accel/tcg/ |
H A D | tcg-all.c | 43 unsigned long tb_size; member 129 tcg_exec_init(s->tb_size * 1024 * 1024); in tcg_init() 175 uint32_t value = s->tb_size; in tcg_get_tb_size() 194 s->tb_size = value; in tcg_set_tb_size()
|
/dports/emulators/qemu/qemu-6.2.0/accel/tcg/ |
H A D | tcg-all.c | 46 unsigned long tb_size; 127 tcg_init(s->tb_size * MiB, s->splitwx_enabled, max_cpus); 180 uint32_t value = s->tb_size; 196 s->tb_size = value;
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/accel/tcg/ |
H A D | tcg-all.c | 46 unsigned long tb_size; member 127 tcg_init(s->tb_size * MiB, s->splitwx_enabled, max_cpus); in tcg_init_machine() 180 uint32_t value = s->tb_size; in tcg_get_tb_size() 196 s->tb_size = value; in tcg_set_tb_size()
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/block/ |
H A D | qcow2-bitmap.c | 1101 uint64_t tb_size = in store_bitmap_data() local 1105 if (tb_size > BME_MAX_TABLE_SIZE || in store_bitmap_data() 1112 tb = g_try_new0(uint64_t, tb_size); in store_bitmap_data() 1121 assert(DIV_ROUND_UP(bm_size, limit) == tb_size); in store_bitmap_data() 1173 *bitmap_table_size = tb_size; in store_bitmap_data() 1180 clear_bitmap_table(bs, tb, tb_size); in store_bitmap_data() 1197 uint32_t tb_size; in store_bitmap() local 1210 assert(tb_size <= BME_MAX_TABLE_SIZE); in store_bitmap() 1227 bitmap_table_to_be(tb, tb_size); in store_bitmap() 1238 bm->table.size = tb_size; in store_bitmap() [all …]
|
/dports/editors/vile/vile-9.8v/ |
H A D | tbuff.c | 86 if ((p->tb_size != 0 || p->tb_used != 0) || (p->tb_data != 0)) in ValidateTBUFF() 89 if ((p->tb_size != 0 || p->tb_used != 0) && (p->tb_data == 0)) in ValidateTBUFF() 91 if ((p->tb_size == 0 && p->tb_used == 0) && (p->tb_data != 0)) in ValidateTBUFF() 99 (int) p->tb_size, in ValidateTBUFF() 131 if ((q->tb_data = typeallocn(char, q->tb_size = n)) != 0) { in tb_alloc() 142 } else if (!isTB_ERRS(q) && (n >= q->tb_size || q->tb_data == 0)) { in tb_alloc() 143 safe_typereallocn(char, q->tb_data, q->tb_size = (n * 2)); in tb_alloc() 179 result->tb_size = 0; in tb_error()
|
/dports/editors/xvile/vile-9.8v/ |
H A D | tbuff.c | 86 if ((p->tb_size != 0 || p->tb_used != 0) || (p->tb_data != 0)) in ValidateTBUFF() 89 if ((p->tb_size != 0 || p->tb_used != 0) && (p->tb_data == 0)) in ValidateTBUFF() 91 if ((p->tb_size == 0 && p->tb_used == 0) && (p->tb_data != 0)) in ValidateTBUFF() 99 (int) p->tb_size, in ValidateTBUFF() 131 if ((q->tb_data = typeallocn(char, q->tb_size = n)) != 0) { in tb_alloc() 142 } else if (!isTB_ERRS(q) && (n >= q->tb_size || q->tb_data == 0)) { in tb_alloc() 143 safe_typereallocn(char, q->tb_data, q->tb_size = (n * 2)); in tb_alloc() 179 result->tb_size = 0; in tb_error()
|
/dports/games/crafty/crafty-25.2_1/ |
H A D | tbcore.c | 1139 uint64 * tb_size) { in setup_pieces_piece() argument 1147 tb_size[0] = in setup_pieces_piece() 1155 tb_size[1] = in setup_pieces_piece() 1161 unsigned char *data, uint64 * tb_size) { in setup_pieces_piece_dtz() argument 1169 tb_size[0] = in setup_pieces_piece_dtz() 1175 uint64 * tb_size, int f) { in setup_pieces_pawn() argument 1185 tb_size[0] = in setup_pieces_pawn() 1194 tb_size[1] = in setup_pieces_pawn() 1211 tb_size[0] = in setup_pieces_pawn_dtz() 1303 uint64 tb_size[8]; in init_table_wdl() local [all …]
|
/dports/emulators/qemu/qemu-6.2.0/block/ |
H A D | qcow2-bitmap.c | 1282 uint64_t tb_size = in store_bitmap_data() local 1286 if (tb_size > BME_MAX_TABLE_SIZE || in store_bitmap_data() 1293 tb = g_try_new0(uint64_t, tb_size); in store_bitmap_data() 1301 assert(DIV_ROUND_UP(bm_size, limit) == tb_size); in store_bitmap_data() 1352 *bitmap_table_size = tb_size; in store_bitmap_data() 1358 clear_bitmap_table(bs, tb, tb_size); in store_bitmap_data() 1374 uint32_t tb_size; in store_bitmap() local 1387 assert(tb_size <= BME_MAX_TABLE_SIZE); in store_bitmap() 1404 bitmap_table_to_be(tb, tb_size); in store_bitmap() 1415 bm->table.size = tb_size; in store_bitmap() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/block/ |
H A D | qcow2-bitmap.c | 1282 uint64_t tb_size = in store_bitmap_data() local 1286 if (tb_size > BME_MAX_TABLE_SIZE || in store_bitmap_data() 1293 tb = g_try_new0(uint64_t, tb_size); in store_bitmap_data() 1301 assert(DIV_ROUND_UP(bm_size, limit) == tb_size); in store_bitmap_data() 1352 *bitmap_table_size = tb_size; in store_bitmap_data() 1358 clear_bitmap_table(bs, tb, tb_size); in store_bitmap_data() 1374 uint32_t tb_size; in store_bitmap() local 1387 assert(tb_size <= BME_MAX_TABLE_SIZE); in store_bitmap() 1404 bitmap_table_to_be(tb, tb_size); in store_bitmap() 1415 bm->table.size = tb_size; in store_bitmap() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/block/ |
H A D | qcow2-bitmap.c | 1295 uint64_t tb_size = in store_bitmap_data() local 1299 if (tb_size > BME_MAX_TABLE_SIZE || in store_bitmap_data() 1306 tb = g_try_new0(uint64_t, tb_size); in store_bitmap_data() 1314 assert(DIV_ROUND_UP(bm_size, limit) == tb_size); in store_bitmap_data() 1365 *bitmap_table_size = tb_size; in store_bitmap_data() 1371 clear_bitmap_table(bs, tb, tb_size); in store_bitmap_data() 1387 uint32_t tb_size; in store_bitmap() local 1400 assert(tb_size <= BME_MAX_TABLE_SIZE); in store_bitmap() 1417 bitmap_table_to_be(tb, tb_size); in store_bitmap() 1428 bm->table.size = tb_size; in store_bitmap() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/block/ |
H A D | qcow2-bitmap.c | 1294 uint64_t tb_size = in store_bitmap_data() local 1298 if (tb_size > BME_MAX_TABLE_SIZE || in store_bitmap_data() 1305 tb = g_try_new0(uint64_t, tb_size); in store_bitmap_data() 1314 assert(DIV_ROUND_UP(bm_size, limit) == tb_size); in store_bitmap_data() 1366 *bitmap_table_size = tb_size; in store_bitmap_data() 1373 clear_bitmap_table(bs, tb, tb_size); in store_bitmap_data() 1390 uint32_t tb_size; in store_bitmap() local 1403 assert(tb_size <= BME_MAX_TABLE_SIZE); in store_bitmap() 1420 bitmap_table_to_be(tb, tb_size); in store_bitmap() 1431 bm->table.size = tb_size; in store_bitmap() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/block/ |
H A D | qcow2-bitmap.c | 1294 uint64_t tb_size = in store_bitmap_data() local 1298 if (tb_size > BME_MAX_TABLE_SIZE || in store_bitmap_data() 1305 tb = g_try_new0(uint64_t, tb_size); in store_bitmap_data() 1314 assert(DIV_ROUND_UP(bm_size, limit) == tb_size); in store_bitmap_data() 1366 *bitmap_table_size = tb_size; in store_bitmap_data() 1373 clear_bitmap_table(bs, tb, tb_size); in store_bitmap_data() 1390 uint32_t tb_size; in store_bitmap() local 1403 assert(tb_size <= BME_MAX_TABLE_SIZE); in store_bitmap() 1420 bitmap_table_to_be(tb, tb_size); in store_bitmap() 1431 bm->table.size = tb_size; in store_bitmap() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/block/ |
H A D | qcow2-bitmap.c | 1292 uint64_t tb_size = in store_bitmap_data() local 1296 if (tb_size > BME_MAX_TABLE_SIZE || in store_bitmap_data() 1303 tb = g_try_new0(uint64_t, tb_size); in store_bitmap_data() 1311 assert(DIV_ROUND_UP(bm_size, limit) == tb_size); in store_bitmap_data() 1362 *bitmap_table_size = tb_size; in store_bitmap_data() 1368 clear_bitmap_table(bs, tb, tb_size); in store_bitmap_data() 1384 uint32_t tb_size; in store_bitmap() local 1397 assert(tb_size <= BME_MAX_TABLE_SIZE); in store_bitmap() 1414 bitmap_table_to_be(tb, tb_size); in store_bitmap() 1425 bm->table.size = tb_size; in store_bitmap() [all …]
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/block/ |
H A D | qcow2-bitmap.c | 1292 uint64_t tb_size = in store_bitmap_data() local 1296 if (tb_size > BME_MAX_TABLE_SIZE || in store_bitmap_data() 1303 tb = g_try_new0(uint64_t, tb_size); in store_bitmap_data() 1311 assert(DIV_ROUND_UP(bm_size, limit) == tb_size); in store_bitmap_data() 1362 *bitmap_table_size = tb_size; in store_bitmap_data() 1368 clear_bitmap_table(bs, tb, tb_size); in store_bitmap_data() 1384 uint32_t tb_size; in store_bitmap() local 1397 assert(tb_size <= BME_MAX_TABLE_SIZE); in store_bitmap() 1414 bitmap_table_to_be(tb, tb_size); in store_bitmap() 1425 bm->table.size = tb_size; in store_bitmap() [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/block/ |
H A D | qcow2-bitmap.c | 1282 uint64_t tb_size = in store_bitmap_data() local 1286 if (tb_size > BME_MAX_TABLE_SIZE || in store_bitmap_data() 1293 tb = g_try_new0(uint64_t, tb_size); in store_bitmap_data() 1301 assert(DIV_ROUND_UP(bm_size, limit) == tb_size); in store_bitmap_data() 1352 *bitmap_table_size = tb_size; in store_bitmap_data() 1358 clear_bitmap_table(bs, tb, tb_size); in store_bitmap_data() 1374 uint32_t tb_size; in store_bitmap() local 1387 assert(tb_size <= BME_MAX_TABLE_SIZE); in store_bitmap() 1404 bitmap_table_to_be(tb, tb_size); in store_bitmap() 1415 bm->table.size = tb_size; in store_bitmap() [all …]
|
/dports/sysutils/gsmartcontrol/gsmartcontrol-1.1.3/src/hz/ |
H A D | format_unit.h | 49 const uint64_t tb_size = gb_size * multiplier; // tera variable 50 const uint64_t pb_size = tb_size * multiplier; // peta 106 if (size >= tb_size) { // tera 107 …return hz::number_to_string(static_cast<long double>(size) / static_cast<long double>(tb_size), 2,…
|
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/tce/ttlg/ |
H A D | fvigeneralolap.cu | 20 …olap_main_coars(const type * __restrict__ Atmp, type * Btmp, const int tb_size, const int* __re… in fvinomgeneralolap_main_coars() argument 27 for(int Id=threadIdx.x; Id < numelems_blk; Id+= tb_size) in fvinomgeneralolap_main_coars() 32 for(int Id=threadIdx.x; Id < numelems_blk; Id+= tb_size) in fvinomgeneralolap_main_coars() 44 for(int Id=threadIdx.x; Id < numelems_blk; Id+= tb_size) in fvinomgeneralolap_rem_coars() 49 for(int Id=threadIdx.x; Id < numelems_blk; Id+= tb_size) in fvinomgeneralolap_rem_coars() 58 …eneralolap_main(const type * __restrict__ Atmp, type * Btmp, const int tb_size, const int* __re… in fvinomgeneralolap_main() argument 63 for(int Id=threadIdx.x; Id < numelems_blk; Id+= tb_size) in fvinomgeneralolap_main() 68 for(int Id=threadIdx.x; Id < numelems_blk; Id+= tb_size) in fvinomgeneralolap_main() 75 …rem(const type * __restrict__ Atmp, type * __restrict__ Btmp, const int tb_size, const int* __re… in fvinomgeneralolap_rem() argument 77 for(int Id=threadIdx.x; Id < numelems_blk; Id+= tb_size) in fvinomgeneralolap_rem() [all …]
|
/dports/science/nwchem-data/nwchem-7.0.2-release/src/tce/ttlg/ |
H A D | fvigeneralolap.cu | 20 …olap_main_coars(const type * __restrict__ Atmp, type * Btmp, const int tb_size, const int* __re… in fvinomgeneralolap_main_coars() argument 27 for(int Id=threadIdx.x; Id < numelems_blk; Id+= tb_size) in fvinomgeneralolap_main_coars() 32 for(int Id=threadIdx.x; Id < numelems_blk; Id+= tb_size) in fvinomgeneralolap_main_coars() 44 for(int Id=threadIdx.x; Id < numelems_blk; Id+= tb_size) in fvinomgeneralolap_rem_coars() 49 for(int Id=threadIdx.x; Id < numelems_blk; Id+= tb_size) in fvinomgeneralolap_rem_coars() 58 …eneralolap_main(const type * __restrict__ Atmp, type * Btmp, const int tb_size, const int* __re… in fvinomgeneralolap_main() argument 63 for(int Id=threadIdx.x; Id < numelems_blk; Id+= tb_size) in fvinomgeneralolap_main() 68 for(int Id=threadIdx.x; Id < numelems_blk; Id+= tb_size) in fvinomgeneralolap_main() 75 …rem(const type * __restrict__ Atmp, type * __restrict__ Btmp, const int tb_size, const int* __re… in fvinomgeneralolap_rem() argument 77 for(int Id=threadIdx.x; Id < numelems_blk; Id+= tb_size) in fvinomgeneralolap_rem() [all …]
|
/dports/emulators/unicorn/unicorn-1.0.2/qemu/ |
H A D | translate-all.c | 552 if (tb_size == 0) { in size_code_gen_buffer() 554 tb_size = DEFAULT_CODE_GEN_BUFFER_SIZE; in size_code_gen_buffer() 560 tb_size = (unsigned long)DEFAULT_CODE_GEN_BUFFER_SIZE; in size_code_gen_buffer() 563 if (tb_size < MIN_CODE_GEN_BUFFER_SIZE) { in size_code_gen_buffer() 564 tb_size = MIN_CODE_GEN_BUFFER_SIZE; in size_code_gen_buffer() 566 if (tb_size > MAX_CODE_GEN_BUFFER_SIZE) { in size_code_gen_buffer() 567 tb_size = MAX_CODE_GEN_BUFFER_SIZE; in size_code_gen_buffer() 569 tcg_ctx->code_gen_buffer_size = tb_size; in size_code_gen_buffer() 570 return tb_size; in size_code_gen_buffer() 772 void tcg_exec_init(struct uc_struct *uc, unsigned long tb_size) in tcg_exec_init() argument [all …]
|
/dports/emulators/py-unicorn/unicorn-1.0.2/qemu/ |
H A D | translate-all.c | 552 if (tb_size == 0) { in size_code_gen_buffer() 554 tb_size = DEFAULT_CODE_GEN_BUFFER_SIZE; in size_code_gen_buffer() 560 tb_size = (unsigned long)DEFAULT_CODE_GEN_BUFFER_SIZE; in size_code_gen_buffer() 563 if (tb_size < MIN_CODE_GEN_BUFFER_SIZE) { in size_code_gen_buffer() 564 tb_size = MIN_CODE_GEN_BUFFER_SIZE; in size_code_gen_buffer() 566 if (tb_size > MAX_CODE_GEN_BUFFER_SIZE) { in size_code_gen_buffer() 567 tb_size = MAX_CODE_GEN_BUFFER_SIZE; in size_code_gen_buffer() 569 tcg_ctx->code_gen_buffer_size = tb_size; in size_code_gen_buffer() 570 return tb_size; in size_code_gen_buffer() 772 void tcg_exec_init(struct uc_struct *uc, unsigned long tb_size) in tcg_exec_init() argument [all …]
|