Searched refs:nr_iovecs (Results 1 - 5 of 5) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/dma/
H A Diovlock.c56 int nr_iovecs = 0; local
66 iovec_len_used += iov[nr_iovecs].iov_len;
67 iovec_pages_used += num_pages_spanned(&iov[nr_iovecs]);
68 nr_iovecs++;
73 + (nr_iovecs * sizeof (struct dma_page_list))
79 pages = (struct page **) &local_list->page_list[nr_iovecs];
81 local_list->nr_iovecs = 0;
83 for (i = 0; i < nr_iovecs; i++) {
113 local_list->nr_iovecs = i + 1;
131 for (i = 0; i < pinned_list->nr_iovecs;
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/
H A Dbio.c266 * @nr_iovecs: number of iovecs to pre-allocate
278 struct bio *bio_alloc_bioset(gfp_t gfp_mask, int nr_iovecs, struct bio_set *bs) argument
292 if (unlikely(!nr_iovecs))
295 if (nr_iovecs <= BIO_INLINE_VECS) {
297 nr_iovecs = BIO_INLINE_VECS;
299 bvl = bvec_alloc_bs(gfp_mask, nr_iovecs, &idx, bs);
303 nr_iovecs = bvec_nr_vecs(idx);
307 bio->bi_max_vecs = nr_iovecs;
325 * @nr_iovecs: number of iovecs
328 * at least @nr_iovecs entrie
341 bio_alloc(gfp_t gfp_mask, int nr_iovecs) argument
369 bio_kmalloc(gfp_t gfp_mask, int nr_iovecs) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/md/
H A Ddm-crypt.c535 unsigned int nr_iovecs = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; local
540 clone = bio_alloc_bioset(GFP_NOIO, nr_iovecs, cc->bs);
547 for (i = 0; i < nr_iovecs; i++) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Ddmaengine.h807 int nr_iovecs; member in struct:dma_pinned_list
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/block/
H A Dpktcdvd.c531 static struct bio *pkt_bio_alloc(int nr_iovecs) argument
541 bvl = kcalloc(nr_iovecs, sizeof(struct bio_vec), GFP_KERNEL);
545 bio->bi_max_vecs = nr_iovecs;

Completed in 74 milliseconds