Home
last modified time | relevance | path

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

/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
H A Dscatterlist.h81 static inline void sg_init_table(scatterlist_t *psgl, unsigned int nents) in sg_init_table() argument
83 (void)memset_s(psgl, sizeof(*psgl) * nents, 0, sizeof(*psgl) * nents); in sg_init_table()
85 sg_mark_end(&psgl[nents - 1]); in sg_init_table()
/third_party/ltp/testcases/kernel/fs/doio/
H A Ddoio.c2533 int offset, nbytes, nstrides, nents, aio_strat; in sy_listio() local
2548 nents = req->r_data.io.r_nent; in sy_listio()
2559 status->aioid = malloc((nents + 1) * sizeof(int)); in sy_listio()
2568 lio_req = malloc(nents * sizeof(struct listreq)); in sy_listio()
2575 i < nents; l++, a += nbytes, o += nbytes, i++) { in sy_listio()
2595 status->aioid[nents] = -1; /* end sentinel */ in sy_listio()
2597 if ((status->rval = listio(lc, lio_req, nents)) == -1) { in sy_listio()
3058 int fd, offset, nbytes, nstrides, nents, oflags; in do_rw() local
3087 nents = req->r_data.io.r_nent; in do_rw()
3090 if (nents > in do_rw()
[all...]

Completed in 5 milliseconds