Home
last modified time | relevance | path

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

/external/autotest/client/tests/aiostress/
Daio-stress.c696 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/
Daio-stress.c708 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_iocbs);
763 if (ret != num_ios) {
[all …]