Searched refs:num_ios (Results 1 - 2 of 2) sorted by relevance

/external/autotest/client/tests/aiostress/
H A Daio-stress.c693 * does setup on num_ios worth of iocbs, but does not actually
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_iocb
[all...]
/external/ltp/testcases/kernel/io/ltp-aiodio/
H A Daio-stress.c705 * does setup on num_ios worth of iocbs, but does not actually
708 int build_oper(struct thread_info *t, struct io_oper *oper, int num_ios, argument
717 if (num_ios == 0)
718 num_ios = oper->total_ios;
720 if ((oper->started_ios + num_ios) > oper->total_ios)
721 num_ios = oper->total_ios - oper->started_ios;
723 for (i = 0; i < num_ios; i++) {
730 return num_ios;
751 int run_built(struct thread_info *t, int num_ios, struct iocb **my_iocbs) argument
759 ret = io_submit(t->io_ctx, num_ios, my_iocb
[all...]

Completed in 99 milliseconds