sgbuf 834 drivers/tty/serial/amba-pl011.c struct pl011_sgbuf *sgbuf; sgbuf 840 drivers/tty/serial/amba-pl011.c sgbuf = uap->dmarx.use_buf_b ? sgbuf 842 drivers/tty/serial/amba-pl011.c desc = dmaengine_prep_slave_sg(rxchan, &sgbuf->sg, 1, sgbuf 882 drivers/tty/serial/amba-pl011.c struct pl011_sgbuf *sgbuf = use_buf_b ? sgbuf 892 drivers/tty/serial/amba-pl011.c dmataken = sgbuf->sg.length - dmarx->last_residue; sgbuf 906 drivers/tty/serial/amba-pl011.c dma_count = tty_insert_flip_string(port, sgbuf->buf + dmataken, sgbuf 917 drivers/tty/serial/amba-pl011.c dmarx->last_residue = sgbuf->sg.length; sgbuf 954 drivers/tty/serial/amba-pl011.c struct pl011_sgbuf *sgbuf = dmarx->use_buf_b ? sgbuf 977 drivers/tty/serial/amba-pl011.c pending = sgbuf->sg.length - state.residue; sgbuf 1004 drivers/tty/serial/amba-pl011.c struct pl011_sgbuf *sgbuf = dmarx->use_buf_b ? sgbuf 1023 drivers/tty/serial/amba-pl011.c pending = sgbuf->sg.length - state.residue; sgbuf 1072 drivers/tty/serial/amba-pl011.c struct pl011_sgbuf *sgbuf; sgbuf 1076 drivers/tty/serial/amba-pl011.c sgbuf = dmarx->use_buf_b ? &uap->dmarx.sgbuf_b : &uap->dmarx.sgbuf_a; sgbuf 1079 drivers/tty/serial/amba-pl011.c dmataken = sgbuf->sg.length - dmarx->last_residue; sgbuf 1081 drivers/tty/serial/amba-pl011.c dma_count = tty_insert_flip_string(port, sgbuf->buf + dmataken, sgbuf 96 include/sound/memalloc.h struct snd_sg_buf *sgbuf = dmab->private_data; sgbuf 97 include/sound/memalloc.h dma_addr_t addr = sgbuf->table[offset >> PAGE_SHIFT].addr; sgbuf 108 include/sound/memalloc.h struct snd_sg_buf *sgbuf = dmab->private_data; sgbuf 109 include/sound/memalloc.h return sgbuf->table[offset >> PAGE_SHIFT].buf + offset % PAGE_SIZE; sgbuf 266 sound/core/pcm_memory.c struct snd_sg_buf *sgbuf = snd_pcm_substream_sgbuf(substream); sgbuf 269 sound/core/pcm_memory.c if (idx >= (unsigned int)sgbuf->pages) sgbuf 271 sound/core/pcm_memory.c return sgbuf->page_table[idx]; sgbuf 22 sound/core/sgbuf.c struct snd_sg_buf *sgbuf = dmab->private_data; sgbuf 26 sound/core/sgbuf.c if (! sgbuf) sgbuf 35 sound/core/sgbuf.c tmpb.dev.dev = sgbuf->dev; sgbuf 36 sound/core/sgbuf.c for (i = 0; i < sgbuf->pages; i++) { sgbuf 37 sound/core/sgbuf.c if (!(sgbuf->table[i].addr & ~PAGE_MASK)) sgbuf 39 sound/core/sgbuf.c tmpb.area = sgbuf->table[i].buf; sgbuf 40 sound/core/sgbuf.c tmpb.addr = sgbuf->table[i].addr & PAGE_MASK; sgbuf 41 sound/core/sgbuf.c tmpb.bytes = (sgbuf->table[i].addr & ~PAGE_MASK) << PAGE_SHIFT; sgbuf 45 sound/core/sgbuf.c kfree(sgbuf->table); sgbuf 46 sound/core/sgbuf.c kfree(sgbuf->page_table); sgbuf 47 sound/core/sgbuf.c kfree(sgbuf); sgbuf 59 sound/core/sgbuf.c struct snd_sg_buf *sgbuf; sgbuf 69 sound/core/sgbuf.c dmab->private_data = sgbuf = kzalloc(sizeof(*sgbuf), GFP_KERNEL); sgbuf 70 sound/core/sgbuf.c if (! sgbuf) sgbuf 78 sound/core/sgbuf.c sgbuf->dev = device; sgbuf 80 sound/core/sgbuf.c sgbuf->tblsize = sgbuf_align_table(pages); sgbuf 81 sound/core/sgbuf.c table = kcalloc(sgbuf->tblsize, sizeof(*table), GFP_KERNEL); sgbuf 84 sound/core/sgbuf.c sgbuf->table = table; sgbuf 85 sound/core/sgbuf.c pgtable = kcalloc(sgbuf->tblsize, sizeof(*pgtable), GFP_KERNEL); sgbuf 88 sound/core/sgbuf.c sgbuf->page_table = pgtable; sgbuf 100 sound/core/sgbuf.c if (!sgbuf->pages) sgbuf 104 sound/core/sgbuf.c size = sgbuf->pages * PAGE_SIZE; sgbuf 118 sound/core/sgbuf.c sgbuf->pages += chunk; sgbuf 124 sound/core/sgbuf.c sgbuf->size = size; sgbuf 125 sound/core/sgbuf.c dmab->area = vmap(sgbuf->page_table, sgbuf->pages, VM_MAP, prot); sgbuf 129 sound/core/sgbuf.c *res_size = sgbuf->size;