Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/fs/doio/
Diogen.c583 int maxstride, nstrides; in form_iorequest() local
879 nstrides = random_range(Minstrides, maxstride, 1, &errp); in form_iorequest()
887 slength = length / nstrides; in form_iorequest()
894 nstrides = length / slength; in form_iorequest()
895 if (nstrides > Maxstrides) in form_iorequest()
896 nstrides = Maxstrides; in form_iorequest()
902 req->r_data.io.r_nent = nstrides; in form_iorequest()
904 req->r_data.io.r_nstrides = nstrides; in form_iorequest()
Ddoio.c2087 int foffset, fstride, mstride, nstrides; in do_listio() local
2246 nstrides = lio->r_nstrides ? lio->r_nstrides : 1; in do_listio()
2247 if (aiop->iosw.sw_count != lio->r_nbytes * nstrides) { in do_listio()
2533 int offset, nbytes, nstrides, nents, aio_strat; in sy_listio() local
2547 nstrides = req->r_data.io.r_nstrides; in sy_listio()
2588 l->li_nstride = nstrides; in sy_listio()
3058 int fd, offset, nbytes, nstrides, nents, oflags; in do_rw() local
3086 nstrides = req->r_data.io.r_nstrides; in do_rw()
3251 max_byte = offset + (nbytes * nstrides * nents); in do_rw()
3359 } else if (iosw->sw_count != nbytes * nstrides) { in do_rw()
[all …]
/external/ltp/include/old/
Dtlibio.h120 int stride_bounds(int offset, int stride, int nstrides,
/external/ltp/lib/
Dtlibio.c215 int stride_bounds(int offset, int stride, int nstrides, int bytes_per_stride, in stride_bounds() argument
224 if (nstrides < 0 || bytes_per_stride < 0) { in stride_bounds()
238 nbytes = abs(stride) * (nstrides - 1) + bytes_per_stride; in stride_bounds()