Searched refs:num_ios (Results 1 – 2 of 2) sorted by relevance
/external/autotest/client/tests/aiostress/ |
D | aio-stress.c | 696 int build_oper(struct thread_info *t, struct io_oper *oper, int num_ios, argument 705 if (num_ios == 0) 706 num_ios = oper->total_ios; 708 if ((oper->started_ios + num_ios) > oper->total_ios) 709 num_ios = oper->total_ios - oper->started_ios; 711 for( i = 0 ; i < num_ios ; i++) { 718 return num_ios; 739 int run_built(struct thread_info *t, int num_ios, struct iocb **my_iocbs) argument 747 ret = io_submit(t->io_ctx, num_ios, my_iocbs); 751 if (ret != num_ios) { [all …]
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
D | aio-stress.c | 712 int build_oper(struct thread_info *t, struct io_oper *oper, int num_ios, argument 721 if (num_ios == 0) 722 num_ios = oper->total_ios; 724 if ((oper->started_ios + num_ios) > oper->total_ios) 725 num_ios = oper->total_ios - oper->started_ios; 727 for (i = 0; i < num_ios; i++) { 734 return num_ios; 755 int run_built(struct thread_info *t, int num_ios, struct iocb **my_iocbs) argument 763 ret = io_submit(t->io_ctx, num_ios, my_iocbs); 767 if (ret != num_ios) { [all …]
|