/drivers/mtd/ubi/ |
H A D | cdev.c | 213 void *tbuf; local 238 tbuf = vmalloc(tbuf_size); 239 if (!tbuf) 251 err = ubi_eba_read_leb(ubi, vol, lnum, tbuf, off, len, 0); 264 err = copy_to_user(buf, tbuf, len); 274 vfree(tbuf); 290 char *tbuf; local 319 tbuf = vmalloc(tbuf_size); 320 if (!tbuf) 331 err = copy_from_user(tbuf, bu [all...] |
/drivers/net/wireless/ath/carl9170/ |
H A D | rx.c | 804 u8 *tbuf; local 806 tbuf = buf; 810 rx_stream = (void *) tbuf; 830 __carl9170_rx(ar, tbuf, tlen); 845 memcpy(skb_put(ar->rx_failover, tlen), tbuf, tlen); 887 memcpy(skb_put(ar->rx_failover, tlen), tbuf, tlen); 893 tbuf += wlen + 4;
|
/drivers/tty/ |
H A D | n_hdlc.c | 139 * @tbuf - currently transmitting tx buffer 152 struct n_hdlc_buf *tbuf; member in struct:n_hdlc 217 if (n_hdlc->tbuf) { 218 n_hdlc_buf_put(&n_hdlc->tx_free_buf_list, n_hdlc->tbuf); 219 n_hdlc->tbuf = NULL; 287 kfree(n_hdlc->tbuf); 390 struct n_hdlc_buf *tbuf; local 409 tbuf = n_hdlc->tbuf; 410 if (!tbuf) 668 struct n_hdlc_buf *tbuf; local [all...] |
/drivers/infiniband/hw/mthca/ |
H A D | mthca_provider.c | 813 struct mthca_cq_buf tbuf; local 819 tbuf = cq->buf; 824 tbuf = cq->resize_buf->buf; 832 mthca_free_cq_buf(dev, &tbuf, tcqe);
|
H A D | mthca_cq.c | 710 struct mthca_cq_buf tbuf; local 713 tbuf = cq->buf; 718 cq->resize_buf->buf = tbuf;
|
/drivers/media/video/pvrusb2/ |
H A D | pvrusb2-v4l2.c | 1163 char *tbuf; local 1168 tbuf = kmalloc(PAGE_SIZE,GFP_KERNEL); 1169 if (!tbuf) return -ENOMEM; 1174 c2 = pvr2_hdw_cpufw_get(hdw,offs,tbuf,c1); 1180 if (copy_to_user(buff,tbuf,c2)) { 1190 kfree(tbuf);
|
H A D | pvrusb2-hdw.c | 3995 char tbuf[50]; local 3998 ccnt = scnprintf(tbuf+bcnt, 3999 sizeof(tbuf)-bcnt, 4004 ccnt = scnprintf(tbuf+bcnt, 4005 sizeof(tbuf)-bcnt, 4013 ccnt = scnprintf(tbuf+bcnt, 4014 sizeof(tbuf)-bcnt, 4018 ccnt = scnprintf(tbuf+bcnt, 4019 sizeof(tbuf)-bcnt, 4023 ccnt = scnprintf(tbuf [all...] |
/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_txrx.c | 1187 struct ath9k_htc_rxbuf *rxbuf, *tbuf; local 1189 list_for_each_entry_safe(rxbuf, tbuf, &priv->rx.rxbuf, list) {
|
/drivers/s390/net/ |
H A D | ctcm_mpc.c | 134 char tbuf[82], tdup[82]; local 168 sprintf(tbuf, "%2.2llX", (__u64)*ptr); 170 sprintf(tbuf, "%2.2X", (__u32)*ptr); 173 tbuf[2] = '\0'; 174 strcat(bhex, tbuf);
|
/drivers/scsi/ |
H A D | in2000.c | 2175 char tbuf[128]; local 2229 sprintf(tbuf, "\nVersion %s - %s.", IN2000_VERSION, IN2000_DATE); 2230 strcat(bp, tbuf); 2233 sprintf(tbuf, "\ndip_switch=%02x: irq=%d io=%02x floppy=%s sync/DOS5=%s", (hd->dip_switch & 0x7f), instance->irq, hd->io_base, (hd->dip_switch & 0x40) ? "Yes" : "No", (hd->dip_switch & 0x20) ? "Yes" : "No"); 2234 strcat(bp, tbuf); 2237 sprintf(tbuf, "\t%02x", hd->sync_xfer[x]); 2238 strcat(bp, tbuf); 2242 sprintf(tbuf, "\t%02x", hd->sync_stat[x]); 2243 strcat(bp, tbuf); 2250 sprintf(tbuf, "\ [all...] |
H A D | wd33c93.c | 2064 char tbuf[128]; local 2134 sprintf(tbuf, "\nVersion %s - %s.", 2136 strcat(bp, tbuf); 2139 sprintf(tbuf, "\nclock_freq=%02x no_sync=%02x no_dma=%d" 2142 strcat(bp, tbuf); 2145 sprintf(tbuf, "\t%02x", hd->sync_xfer[x]); 2146 strcat(bp, tbuf); 2150 sprintf(tbuf, "\t%02x", hd->sync_stat[x]); 2151 strcat(bp, tbuf); 2158 sprintf(tbuf, "\ [all...] |
H A D | qla1280.c | 1758 uint8_t *sp, *tbuf; local 1761 tbuf = pci_alloc_consistent(ha->pdev, 8000, &p_tbuf); 1762 if (!tbuf) 1833 if (tbuf[i] != sp[i] && warn++ < 10) { 1839 __func__, sp[i], tbuf[i]); 1852 pci_free_consistent(ha->pdev, 8000, tbuf, p_tbuf);
|
/drivers/staging/media/go7007/ |
H A D | go7007-usb.c | 664 u8 *tbuf; local 673 tbuf = kzalloc(8, GFP_KERNEL); 674 if (tbuf == NULL) 676 tbuf[0] = data & 0xff; 677 tbuf[1] = data >> 8; 678 tbuf[2] = addr & 0xff; 679 tbuf[3] = addr >> 8; 682 0xf0f0, tbuf, 8, timeout); 683 kfree(tbuf);
|
/drivers/media/video/davinci/ |
H A D | vpif_capture.c | 959 struct v4l2_buffer tbuf = *buf; local 967 if (common->fmt.type != tbuf.type) { 985 buf1 = common->buffer_queue.bufs[tbuf.index]; 1000 if (tbuf.length < buf1->bsize) 1004 && (buf1->baddr != tbuf.m.userptr)) { 1006 buf1->baddr = tbuf.m.userptr;
|
H A D | vpif_display.c | 864 struct v4l2_buffer *tbuf) 870 if (common->fmt.type != tbuf->type) 873 return videobuf_querybuf(&common->buffer_queue, tbuf); 882 struct v4l2_buffer tbuf = *buf; local 888 if (common->fmt.type != tbuf.type) 904 buf1 = common->buffer_queue.bufs[tbuf.index]; 905 if (buf1->memory != tbuf.memory) { 923 if (tbuf.length < buf1->bsize) 927 && (buf1->baddr != tbuf.m.userptr)) { 929 buf1->baddr = tbuf 863 vpif_querybuf(struct file *file, void *priv, struct v4l2_buffer *tbuf) argument [all...] |
/drivers/media/video/ |
H A D | w9966.c | 762 unsigned char *tbuf; local 783 tbuf = kmalloc(W9966_RBUFFER, GFP_KERNEL); 784 if (tbuf == NULL) { 792 if (parport_read(cam->pport, tbuf, tsize) < tsize) { 796 if (copy_to_user(dest, tbuf, tsize) != 0) { 807 kfree(tbuf);
|
/drivers/net/wireless/ath/ath6kl/ |
H A D | sdio.c | 401 u8 *tbuf = NULL; local 412 tbuf = ar_sdio->dma_buffer; 415 memcpy(tbuf, buf, len); 419 tbuf = buf; 421 ret = ath6kl_sdio_io(ar_sdio->func, request, addr, tbuf, len); 423 memcpy(buf, tbuf, len);
|
/drivers/usb/core/ |
H A D | hcd.c | 446 * tbuf should be as big as the BOS descriptor and 449 u8 tbuf[USB_DT_BOS_SIZE + USB_DT_USB_SS_CAP_SIZE] local 451 const u8 *bufp = tbuf; 497 tbuf [0] = (device_may_wakeup(&hcd->self.root_hub->dev) 500 tbuf [1] = 0; 517 tbuf [0] = 1; 576 tbuf [0] = 0; 593 tbuf [0] = 0; 594 tbuf [1] = 0; 621 tbuf, wLengt [all...] |
H A D | message.c | 753 static int usb_get_langid(struct usb_device *dev, unsigned char *tbuf) argument 763 err = usb_string_sub(dev, 0, 0, tbuf); 788 dev->string_langid = tbuf[2] | (tbuf[3] << 8); 814 unsigned char *tbuf; local 822 tbuf = kmalloc(256, GFP_NOIO); 823 if (!tbuf) 826 err = usb_get_langid(dev, tbuf); 830 err = usb_string_sub(dev, dev->string_langid, index, tbuf); 835 err = utf16s_to_utf8s((wchar_t *) &tbuf[ [all...] |
H A D | devio.c | 826 unsigned char *tbuf; local 843 tbuf = (unsigned char *)__get_free_page(GFP_KERNEL); 844 if (!tbuf) { 868 tbuf, ctrl.wLength, tmo); 871 tbuf, max(i, 0)); 873 if (copy_to_user(ctrl.data, tbuf, i)) { 880 if (copy_from_user(tbuf, ctrl.data, ctrl.wLength)) { 887 tbuf, ctrl.wLength); 892 tbuf, ctrl.wLength, tmo); 904 free_page((unsigned long) tbuf); 916 unsigned char *tbuf; local [all...] |
/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_ioc.c | 1752 * @param[in] tbuf app memory to store data from smem 1757 bfa_nw_ioc_smem_read(struct bfa_ioc *ioc, void *tbuf, u32 soff, u32 sz) argument 1761 u32 *buf = tbuf;
|
/drivers/scsi/bfa/ |
H A D | bfa_ioc.c | 1817 * @param[in] tbuf app memory to store data from smem 1822 bfa_ioc_smem_read(struct bfa_ioc_s *ioc, void *tbuf, u32 soff, u32 sz) argument 1827 u32 *buf = tbuf;
|