Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/io/ltp-aiodio/
Daio-stress.c712 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 …]