• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/hv/

Lines Matching refs:bounce_sgl

55 	struct scatterlist *bounce_sgl;
86 struct scatterlist *bounce_sgl,
89 struct scatterlist *bounce_sgl,
371 cmd_request->bounce_sgl,
373 destroy_bounce_buffer(cmd_request->bounce_sgl,
432 struct scatterlist *bounce_sgl;
437 bounce_sgl = kcalloc(num_pages, sizeof(struct scatterlist), GFP_ATOMIC);
438 if (!bounce_sgl)
445 sg_set_page(&bounce_sgl[i], page_buf, 0, 0);
448 return bounce_sgl;
451 destroy_bounce_buffer(bounce_sgl, num_pages);
470 /* Assume the bounce_sgl has enough room ie using the create_bounce_buffer() */
472 struct scatterlist *bounce_sgl,
495 bounce_addr = (unsigned long)kmap_atomic(sg_page((&bounce_sgl[j])), KM_IRQ0);
499 dest = bounce_addr + bounce_sgl[j].length;
500 destlen = PAGE_SIZE - bounce_sgl[j].length;
506 bounce_sgl[j].length += copylen;
510 if (bounce_sgl[j].length == PAGE_SIZE) {
517 bounce_addr = (unsigned long)kmap_atomic(sg_page((&bounce_sgl[j])), KM_IRQ0);
534 struct scatterlist *bounce_sgl,
556 bounce_addr = (unsigned long)kmap_atomic(sg_page((&bounce_sgl[j])), KM_IRQ0);
559 src = bounce_addr + bounce_sgl[j].offset;
560 srclen = bounce_sgl[j].length - bounce_sgl[j].offset;
566 bounce_sgl[j].offset += copylen;
570 if (bounce_sgl[j].offset == bounce_sgl[j].length) {
577 bounce_addr = (unsigned long)kmap_atomic(sg_page((&bounce_sgl[j])), KM_IRQ0);
652 cmd_request->bounce_sgl = NULL;
704 cmd_request->bounce_sgl =
707 if (!cmd_request->bounce_sgl) {
724 copy_to_bounce_buffer(sgl, cmd_request->bounce_sgl,
727 sgl = cmd_request->bounce_sgl;
759 cmd_request->bounce_sgl,
761 destroy_bounce_buffer(cmd_request->bounce_sgl,