Home
last modified time | relevance | path

Searched refs:max_threads (Results 1 – 11 of 11) sorted by relevance

/openbmc/qemu/tests/tcg/multiarch/
H A Dthreadcount.c22 int max_threads = 10; variable
42 max_threads = atoi(argv[1]); in main()
44 threads = calloc(sizeof(pthread_t), max_threads); in main()
46 for (i = 0; i < max_threads; i++) { in main()
52 printf("Created %d threads\n", max_threads); in main()
55 usleep(max_threads * 50); in main()
57 for (i = 0; i < max_threads; i++) { in main()
H A Dsignals.c57 static int max_threads = 10; variable
77 threads = calloc(sizeof(pthread_t), max_threads); in spawn_threads()
79 for (i = 0; i < max_threads; i++) { in spawn_threads()
91 for (i = 0; i < max_threads; i++) { in close_threads()
/openbmc/qemu/util/
H A Dthread-pool.c74 int max_threads; member
85 while (pool->cur_threads <= pool->max_threads) { in worker_thread()
262 if (pool->idle_threads == 0 && pool->cur_threads < pool->max_threads) { in thread_pool_submit_aio()
298 pool->max_threads = ctx->thread_pool_max; in thread_pool_update_params()
313 for (int i = pool->cur_threads; i > pool->max_threads; i--) { in thread_pool_update_params()
363 pool->max_threads = 0; in thread_pool_free_aio()
483 int max_threads) in thread_pool_set_max_threads() argument
485 assert(max_threads > 0); in thread_pool_set_max_threads()
487 return g_thread_pool_set_max_threads(pool->t, max_threads, NULL); in thread_pool_set_max_threads()
H A Doslib-posix.c444 int max_threads) in get_memset_num_threads()
450 ret = MIN(MIN(host_procs, MAX_MEM_PREALLOC_THREAD_COUNT), max_threads); in get_memset_num_threads()
479 int max_threads, ThreadContext *tc, bool async, in touch_all_pages()
498 get_memset_num_threads(hpagesize, numpages, max_threads); in touch_all_pages()
613 bool qemu_prealloc_mem(int fd, char *area, size_t sz, int max_threads, in qemu_prealloc_mem()
664 ret = touch_all_pages(area, hpagesize, numpages, max_threads, tc, async, in qemu_prealloc_mem()
437 get_memset_num_threads(size_t hpagesize,size_t numpages,int max_threads) get_memset_num_threads() argument
472 touch_all_pages(char * area,size_t hpagesize,size_t numpages,int max_threads,ThreadContext * tc,bool async,bool use_madv_populate_write) touch_all_pages() argument
606 qemu_prealloc_mem(int fd,char * area,size_t sz,int max_threads,ThreadContext * tc,bool async,Error ** errp) qemu_prealloc_mem() argument
H A Doslib-win32.c268 bool qemu_prealloc_mem(int fd, char *area, size_t sz, int max_threads, in qemu_prealloc_mem()
267 qemu_prealloc_mem(int fd,char * area,size_t sz,int max_threads,ThreadContext * tc,bool async,Error ** errp) qemu_prealloc_mem() argument
/openbmc/qemu/include/tcg/
H A Dstartup.h37 void tcg_init(size_t tb_size, int splitwx, unsigned max_threads);
/openbmc/qemu/include/hw/s390x/
H A Ds390-virtio-ccw.h56 int max_threads; member
/openbmc/phosphor-rest-server/servers/rocket/
H A Dphosphor-rocket43 max_threads=1)
/openbmc/qemu/include/block/
H A Dthread-pool.h85 bool thread_pool_set_max_threads(ThreadPool *pool, int max_threads);
/openbmc/qemu/tcg/
H A Dtcg-internal.h37 void tcg_region_init(size_t tb_size, int splitwx, unsigned max_threads);
/openbmc/u-boot/tools/buildman/
H A Dbuilder.py1500 def _PrepareWorkingSpace(self, max_threads, setup_git): argument
1510 for thread in range(max_threads):