/linux-4.4.14/arch/powerpc/kernel/ |
H A D | io.c | 33 u8 *tbuf = buf; _insb() local 42 *tbuf++ = tmp; _insb() 50 const u8 *tbuf = buf; _outsb() local 56 *port = *tbuf++; _outsb() 64 u16 *tbuf = buf; _insw_ns() local 73 *tbuf++ = tmp; _insw_ns() 81 const u16 *tbuf = buf; _outsw_ns() local 87 *port = *tbuf++; _outsw_ns() 95 u32 *tbuf = buf; _insl_ns() local 104 *tbuf++ = tmp; _insl_ns() 112 const u32 *tbuf = buf; _outsl_ns() local 118 *port = *tbuf++; _outsl_ns()
|
/linux-4.4.14/net/dccp/ |
H A D | probe.c | 59 char tbuf[256]; printl() local 66 len = sprintf(tbuf, "%lu.%06lu ", printl() 69 len += vscnprintf(tbuf+len, sizeof(tbuf)-len, fmt, args); printl() 72 kfifo_in_locked(&dccpw.fifo, tbuf, len, &dccpw.lock); printl() 122 unsigned char *tbuf; dccpprobe_read() local 130 tbuf = vmalloc(len); dccpprobe_read() 131 if (!tbuf) dccpprobe_read() 139 cnt = kfifo_out_locked(&dccpw.fifo, tbuf, len, &dccpw.lock); dccpprobe_read() 140 error = copy_to_user(buf, tbuf, cnt) ? -EFAULT : 0; dccpprobe_read() 143 vfree(tbuf); dccpprobe_read()
|
/linux-4.4.14/drivers/video/backlight/ |
H A D | ili922x.c | 155 unsigned char tbuf[CMD_BUFSIZE]; ili922x_read_status() local 161 xfer.tx_buf = tbuf; ili922x_read_status() 166 tbuf[0] = set_tx_byte(START_BYTE(ili922x_id, START_RS_INDEX, ili922x_read_status() 173 tbuf[i] = set_tx_byte(0); /* dummy */ ili922x_read_status() 198 unsigned char tbuf[CMD_BUFSIZE]; ili922x_read() local 205 xfer_regindex.tx_buf = tbuf; ili922x_read() 210 tbuf[0] = set_tx_byte(START_BYTE(ili922x_id, START_RS_INDEX, ili922x_read() 212 tbuf[1] = set_tx_byte(0); ili922x_read() 213 tbuf[2] = set_tx_byte(reg); ili922x_read() 220 tbuf[len++] = set_tx_byte(START_BYTE(ili922x_id, START_RS_REG, ili922x_read() 222 tbuf[len++] = set_tx_byte(0); ili922x_read() 223 tbuf[len] = set_tx_byte(0); ili922x_read() 227 xfer_regvalue.tx_buf = &tbuf[send_bytes]; ili922x_read() 252 unsigned char tbuf[CMD_BUFSIZE]; ili922x_write() local 260 xfer_regindex.tx_buf = tbuf; ili922x_write() 265 tbuf[0] = set_tx_byte(START_BYTE(ili922x_id, START_RS_INDEX, ili922x_write() 267 tbuf[1] = set_tx_byte(0); ili922x_write() 268 tbuf[2] = set_tx_byte(reg); ili922x_write() 277 tbuf[0] = set_tx_byte(START_BYTE(ili922x_id, START_RS_REG, ili922x_write() 279 tbuf[1] = set_tx_byte((value & 0xFF00) >> 8); ili922x_write() 280 tbuf[2] = set_tx_byte(value & 0x00FF); ili922x_write() 284 xfer_regvalue.tx_buf = tbuf; ili922x_write() 326 unsigned char tbuf[CMD_BUFSIZE]; set_write_to_gram_reg() local 331 xfer.tx_buf = tbuf; set_write_to_gram_reg() 335 tbuf[0] = START_BYTE(ili922x_id, START_RS_INDEX, START_RW_WRITE); set_write_to_gram_reg() 336 tbuf[1] = 0; set_write_to_gram_reg() 337 tbuf[2] = REG_WRITE_DATA_TO_GRAM; set_write_to_gram_reg()
|
/linux-4.4.14/drivers/staging/gs_fpgaboot/ |
H A D | gs_fpgaboot.c | 56 char tbuf[64]; readinfo_bitstream() local 60 read_bitstream(bitdata, tbuf, offset, 1); readinfo_bitstream() 63 read_bitstream(bitdata, tbuf, offset, 2); readinfo_bitstream() 65 len = tbuf[0] << 8 | tbuf[1]; readinfo_bitstream() 76 char tbuf[64]; readlength_bitstream() local 79 read_bitstream(bitdata, tbuf, offset, 1); readlength_bitstream() 82 if (tbuf[0] != 'e') { readlength_bitstream() 83 pr_err("error: length section is not 'e', but %c\n", tbuf[0]); readlength_bitstream() 88 read_bitstream(bitdata, tbuf, offset, 4); readlength_bitstream() 90 *lendata = tbuf[0] << 24 | tbuf[1] << 16 | readlength_bitstream() 91 tbuf[2] << 8 | tbuf[3]; readlength_bitstream()
|
/linux-4.4.14/include/crypto/ |
H A D | xts.h | 12 be128 *tbuf; member in struct:xts_crypt_req
|
H A D | lrw.h | 31 be128 *tbuf; member in struct:lrw_crypt_req
|
/linux-4.4.14/net/sctp/ |
H A D | probe.c | 75 char tbuf[256]; printl() local 78 len = vscnprintf(tbuf, sizeof(tbuf), fmt, args); printl() 81 kfifo_in_locked(&sctpw.fifo, tbuf, len, &sctpw.lock); printl() 97 unsigned char *tbuf; sctpprobe_read() local 105 tbuf = vmalloc(len); sctpprobe_read() 106 if (!tbuf) sctpprobe_read() 114 cnt = kfifo_out_locked(&sctpw.fifo, tbuf, len, &sctpw.lock); sctpprobe_read() 115 error = copy_to_user(buf, tbuf, cnt) ? -EFAULT : 0; sctpprobe_read() 118 vfree(tbuf); sctpprobe_read()
|
/linux-4.4.14/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) { flush_tx_queue() 218 n_hdlc_buf_put(&n_hdlc->tx_free_buf_list, n_hdlc->tbuf); flush_tx_queue() 219 n_hdlc->tbuf = NULL; flush_tx_queue() 287 kfree(n_hdlc->tbuf); n_hdlc_release() 390 struct n_hdlc_buf *tbuf; n_hdlc_send_frames() local 409 tbuf = n_hdlc->tbuf; n_hdlc_send_frames() 410 if (!tbuf) n_hdlc_send_frames() 411 tbuf = n_hdlc_buf_get(&n_hdlc->tx_buf_list); n_hdlc_send_frames() 413 while (tbuf) { n_hdlc_send_frames() 416 __FILE__,__LINE__,tbuf,tbuf->count); n_hdlc_send_frames() 420 actual = tty->ops->write(tty, tbuf->buf, tbuf->count); n_hdlc_send_frames() 424 n_hdlc->tbuf = tbuf; n_hdlc_send_frames() 430 actual = tbuf->count; n_hdlc_send_frames() 432 if (actual == tbuf->count) { n_hdlc_send_frames() 435 __FILE__,__LINE__,tbuf); n_hdlc_send_frames() 438 n_hdlc_buf_put(&n_hdlc->tx_free_buf_list, tbuf); n_hdlc_send_frames() 441 n_hdlc->tbuf = NULL; n_hdlc_send_frames() 447 tbuf = n_hdlc_buf_get(&n_hdlc->tx_buf_list); n_hdlc_send_frames() 451 __FILE__,__LINE__,tbuf); n_hdlc_send_frames() 455 n_hdlc->tbuf = tbuf; n_hdlc_send_frames() 460 if (!tbuf) n_hdlc_send_frames() 668 struct n_hdlc_buf *tbuf; n_hdlc_tty_write() local 696 tbuf = n_hdlc_buf_get(&n_hdlc->tx_free_buf_list); n_hdlc_tty_write() 697 if (tbuf) n_hdlc_tty_write() 725 memcpy(tbuf->buf, data, count); n_hdlc_tty_write() 728 tbuf->count = error = count; n_hdlc_tty_write() 729 n_hdlc_buf_put(&n_hdlc->tx_buf_list,tbuf); n_hdlc_tty_write()
|
H A D | nozomi.c | 111 char tbuf[TMP_BUF_MAX] = {0};\ 113 snprintf(tbuf, len__ > TMP_BUF_MAX ? TMP_BUF_MAX : len__, "%s", buf__);\ 114 if (tbuf[len__-2] == '\r') {\ 115 tbuf[len__-2] = 'r';\ 117 DBG1("SENDING: '%s' (%d+n)", tbuf, len__);\ 119 DBG1("SENDING: '%s' (%d)", tbuf, len__);\
|
/linux-4.4.14/drivers/scsi/snic/ |
H A D | snic_trc.c | 125 void *tbuf = NULL; snic_trc_init() local 129 tbuf = vmalloc(tbuf_sz); snic_trc_init() 130 if (!tbuf) { snic_trc_init() 138 memset(tbuf, 0, tbuf_sz); snic_trc_init() 139 trc->buf = (struct snic_trc_data *) tbuf; snic_trc_init()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | debugfs.c | 151 char tbuf[22]; average_read() local 161 ret = snprintf(tbuf, sizeof(tbuf), "%llu\n", field); average_read() 163 if (copy_to_user(buf, tbuf, ret)) average_read() 437 char tbuf[18]; dbg_read() local 467 ret = snprintf(tbuf, sizeof(tbuf), "%s\n", (const char *)(unsigned long)field); dbg_read() 469 ret = snprintf(tbuf, sizeof(tbuf), "0x%llx\n", field); dbg_read() 472 if (copy_to_user(buf, tbuf, ret)) dbg_read()
|
/linux-4.4.14/net/ipv4/ |
H A D | tcp_probe.c | 186 static int tcpprobe_sprint(char *tbuf, int n) tcpprobe_sprint() argument 193 return scnprintf(tbuf, n, tcpprobe_sprint() 211 char tbuf[256]; tcpprobe_read() local 227 width = tcpprobe_sprint(tbuf, sizeof(tbuf)); tcpprobe_read() 239 if (copy_to_user(buf + cnt, tbuf, width)) tcpprobe_read()
|
H A D | arp.c | 1289 char tbuf[16]; arp_format_neigh_entry() local 1311 sprintf(tbuf, "%pI4", n->primary_key); arp_format_neigh_entry() 1313 tbuf, hatype, arp_state_to_flags(n), hbuffer, dev->name); arp_format_neigh_entry() 1322 char tbuf[16]; arp_format_pneigh_entry() local 1324 sprintf(tbuf, "%pI4", n->key); arp_format_pneigh_entry() 1326 tbuf, hatype, ATF_PUBL | ATF_PERM, "00:00:00:00:00:00", arp_format_pneigh_entry()
|
/linux-4.4.14/ipc/ |
H A D | msg.c | 463 struct msqid64_ds tbuf; msgctl_nolock() local 469 memset(&tbuf, 0, sizeof(tbuf)); msgctl_nolock() 496 kernel_to_ipc64_perm(&msq->q_perm, &tbuf.msg_perm); msgctl_nolock() 497 tbuf.msg_stime = msq->q_stime; msgctl_nolock() 498 tbuf.msg_rtime = msq->q_rtime; msgctl_nolock() 499 tbuf.msg_ctime = msq->q_ctime; msgctl_nolock() 500 tbuf.msg_cbytes = msq->q_cbytes; msgctl_nolock() 501 tbuf.msg_qnum = msq->q_qnum; msgctl_nolock() 502 tbuf.msg_qbytes = msq->q_qbytes; msgctl_nolock() 503 tbuf.msg_lspid = msq->q_lspid; msgctl_nolock() 504 tbuf.msg_lrpid = msq->q_lrpid; msgctl_nolock() 507 if (copy_msqid_to_user(buf, &tbuf, version)) msgctl_nolock()
|
H A D | shm.c | 926 struct shmid64_ds tbuf; shmctl_nolock() local 954 memset(&tbuf, 0, sizeof(tbuf)); shmctl_nolock() 955 kernel_to_ipc64_perm(&shp->shm_perm, &tbuf.shm_perm); shmctl_nolock() 956 tbuf.shm_segsz = shp->shm_segsz; shmctl_nolock() 957 tbuf.shm_atime = shp->shm_atim; shmctl_nolock() 958 tbuf.shm_dtime = shp->shm_dtim; shmctl_nolock() 959 tbuf.shm_ctime = shp->shm_ctim; shmctl_nolock() 960 tbuf.shm_cpid = shp->shm_cprid; shmctl_nolock() 961 tbuf.shm_lpid = shp->shm_lprid; shmctl_nolock() 962 tbuf.shm_nattch = shp->shm_nattch; shmctl_nolock() 965 if (copy_shmid_to_user(buf, &tbuf, version)) shmctl_nolock()
|
H A D | sem.c | 1221 struct semid64_ds tbuf; semctl_nolock() local 1224 memset(&tbuf, 0, sizeof(tbuf)); semctl_nolock() 1250 kernel_to_ipc64_perm(&sma->sem_perm, &tbuf.sem_perm); semctl_nolock() 1251 tbuf.sem_otime = get_semotime(sma); semctl_nolock() 1252 tbuf.sem_ctime = sma->sem_ctime; semctl_nolock() 1253 tbuf.sem_nsems = sma->sem_nsems; semctl_nolock() 1255 if (copy_semid_to_user(p, &tbuf, version)) semctl_nolock()
|
/linux-4.4.14/arch/x86/crypto/ |
H A D | twofish_glue_3way.c | 237 .tbuf = buf, lrw_encrypt() 254 .tbuf = buf, lrw_decrypt() 305 .tbuf = buf, xts_encrypt() 323 .tbuf = buf, xts_decrypt()
|
H A D | serpent_sse2_glue.c | 254 .tbuf = buf, lrw_encrypt() 280 .tbuf = buf, lrw_decrypt() 342 .tbuf = buf, xts_encrypt() 369 .tbuf = buf, xts_decrypt()
|
H A D | camellia_aesni_avx_glue.c | 271 .tbuf = buf, lrw_encrypt() 297 .tbuf = buf, lrw_decrypt()
|
H A D | serpent_avx2_glue.c | 245 .tbuf = buf, lrw_encrypt() 271 .tbuf = buf, lrw_decrypt()
|
H A D | camellia_aesni_avx2_glue.c | 279 .tbuf = buf, lrw_encrypt() 305 .tbuf = buf, lrw_decrypt()
|
H A D | cast6_avx_glue.c | 271 .tbuf = buf, lrw_encrypt() 297 .tbuf = buf, lrw_decrypt()
|
H A D | serpent_avx_glue.c | 281 .tbuf = buf, lrw_encrypt() 307 .tbuf = buf, lrw_decrypt()
|
H A D | twofish_avx_glue.c | 275 .tbuf = buf, lrw_encrypt() 301 .tbuf = buf, lrw_decrypt()
|
H A D | aesni-intel_glue.c | 596 .tbuf = buf, lrw_encrypt() 620 .tbuf = buf, lrw_decrypt() 747 .tbuf = buf, xts_encrypt() 772 .tbuf = buf, xts_decrypt()
|
H A D | camellia_glue.c | 1463 .tbuf = buf, lrw_encrypt() 1480 .tbuf = buf, lrw_decrypt() 1531 .tbuf = buf, xts_encrypt() 1549 .tbuf = buf, xts_decrypt()
|
/linux-4.4.14/drivers/mtd/ubi/ |
H A D | cdev.c | 192 void *tbuf; vol_cdev_read() local 217 tbuf = vmalloc(tbuf_size); vol_cdev_read() 218 if (!tbuf) vol_cdev_read() 230 err = ubi_eba_read_leb(ubi, vol, lnum, tbuf, off, len, 0); vol_cdev_read() 243 err = copy_to_user(buf, tbuf, len); vol_cdev_read() 253 vfree(tbuf); vol_cdev_read() 269 char *tbuf; vol_cdev_direct_write() local 298 tbuf = vmalloc(tbuf_size); vol_cdev_direct_write() 299 if (!tbuf) vol_cdev_direct_write() 310 err = copy_from_user(tbuf, buf, len); vol_cdev_direct_write() 316 err = ubi_eba_write_leb(ubi, vol, lnum, tbuf, off, len); vol_cdev_direct_write() 332 vfree(tbuf); vol_cdev_direct_write()
|
/linux-4.4.14/scripts/kconfig/lxdialog/ |
H A D | textbox.c | 54 * update_text() may not add or remove any '\n' or '\0' in tbuf 56 int dialog_textbox(const char *title, char *tbuf, int initial_height, dialog_textbox() argument 69 buf = tbuf; dialog_textbox()
|
H A D | dialog.h | 238 int dialog_textbox(const char *title, char *tbuf, int initial_height,
|
/linux-4.4.14/drivers/usb/core/ |
H A D | devio.c | 974 unsigned char *tbuf; proc_control() local 991 tbuf = (unsigned char *)__get_free_page(GFP_KERNEL); proc_control() 992 if (!tbuf) { proc_control() 1014 tbuf, ctrl.wLength, tmo); proc_control() 1017 tbuf, max(i, 0)); proc_control() 1019 if (copy_to_user(ctrl.data, tbuf, i)) { proc_control() 1026 if (copy_from_user(tbuf, ctrl.data, ctrl.wLength)) { proc_control() 1033 tbuf, ctrl.wLength); proc_control() 1038 tbuf, ctrl.wLength, tmo); proc_control() 1050 free_page((unsigned long) tbuf); proc_control() 1062 unsigned char *tbuf; proc_bulk() local 1085 tbuf = kmalloc(len1, GFP_KERNEL); proc_bulk() 1086 if (!tbuf) { proc_bulk() 1099 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); proc_bulk() 1101 snoop_urb(dev, NULL, pipe, len2, i, COMPLETE, tbuf, len2); proc_bulk() 1104 if (copy_to_user(bulk.data, tbuf, len2)) { proc_bulk() 1111 if (copy_from_user(tbuf, bulk.data, len1)) { proc_bulk() 1116 snoop_urb(dev, NULL, pipe, len1, tmo, SUBMIT, tbuf, len1); proc_bulk() 1119 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); proc_bulk() 1125 kfree(tbuf); proc_bulk()
|
H A D | hcd.c | 475 u8 *tbuf = NULL; rh_call_control() local 497 * tbuf should be at least as big as the rh_call_control() 501 tbuf = kzalloc(tbuf_size, GFP_KERNEL); rh_call_control() 502 if (!tbuf) rh_call_control() 505 bufp = tbuf; rh_call_control() 530 tbuf[0] = (device_may_wakeup(&hcd->self.root_hub->dev) rh_call_control() 533 tbuf[1] = 0; rh_call_control() 550 tbuf[0] = 1; rh_call_control() 615 tbuf[0] = 0; rh_call_control() 632 tbuf[0] = 0; rh_call_control() 633 tbuf[1] = 0; rh_call_control() 660 tbuf, wLength); rh_call_control() 664 (struct usb_hub_descriptor *)tbuf); rh_call_control() 707 kfree(tbuf); rh_call_control()
|
H A D | message.c | 755 static int usb_get_langid(struct usb_device *dev, unsigned char *tbuf) usb_get_langid() argument 765 err = usb_string_sub(dev, 0, 0, tbuf); usb_get_langid() 788 dev->string_langid = tbuf[2] | (tbuf[3] << 8); usb_get_langid() 814 unsigned char *tbuf; usb_string() local 822 tbuf = kmalloc(256, GFP_NOIO); usb_string() 823 if (!tbuf) usb_string() 826 err = usb_get_langid(dev, tbuf); usb_string() 830 err = usb_string_sub(dev, dev->string_langid, index, tbuf); usb_string() 835 err = utf16s_to_utf8s((wchar_t *) &tbuf[2], (err - 2) / 2, usb_string() 839 if (tbuf[1] != USB_DT_STRING) usb_string() 842 tbuf[1], index, buf); usb_string() 845 kfree(tbuf); usb_string()
|
/linux-4.4.14/net/sunrpc/ |
H A D | cache.c | 1428 char tbuf[22]; read_flush() local 1432 snprintf(tbuf, sizeof(tbuf), "%lu\n", convert_to_wallclock(cd->flush_time)); read_flush() 1433 len = strlen(tbuf); read_flush() 1439 if (copy_to_user(buf, (void*)(tbuf+p), len)) read_flush() 1449 char tbuf[20]; write_flush() local 1453 if (*ppos || count > sizeof(tbuf)-1) write_flush() 1455 if (copy_from_user(tbuf, buf, count)) write_flush() 1457 tbuf[count] = 0; write_flush() 1458 simple_strtoul(tbuf, &ep, 0); write_flush() 1462 bp = tbuf; write_flush()
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
H A D | rx.c | 878 u8 *tbuf; carl9170_rx_stream() local 880 tbuf = buf; carl9170_rx_stream() 884 rx_stream = (void *) tbuf; carl9170_rx_stream() 904 __carl9170_rx(ar, tbuf, tlen); carl9170_rx_stream() 919 memcpy(skb_put(ar->rx_failover, tlen), tbuf, tlen); carl9170_rx_stream() 961 memcpy(skb_put(ar->rx_failover, tlen), tbuf, tlen); carl9170_rx_stream() 967 tbuf += wlen + 4; carl9170_rx_stream()
|
/linux-4.4.14/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-v4l2.c | 1109 char *tbuf; pvr2_v4l2_read() local 1114 tbuf = kmalloc(PAGE_SIZE,GFP_KERNEL); pvr2_v4l2_read() 1115 if (!tbuf) return -ENOMEM; pvr2_v4l2_read() 1120 c2 = pvr2_hdw_cpufw_get(hdw,offs,tbuf,c1); pvr2_v4l2_read() 1126 if (copy_to_user(buff,tbuf,c2)) { pvr2_v4l2_read() 1136 kfree(tbuf); pvr2_v4l2_read()
|
H A D | pvrusb2-hdw.c | 3873 char tbuf[50]; pvr2_issue_simple_cmd() local 3876 ccnt = scnprintf(tbuf+bcnt, pvr2_issue_simple_cmd() 3877 sizeof(tbuf)-bcnt, pvr2_issue_simple_cmd() 3882 ccnt = scnprintf(tbuf+bcnt, pvr2_issue_simple_cmd() 3883 sizeof(tbuf)-bcnt, pvr2_issue_simple_cmd() 3891 ccnt = scnprintf(tbuf+bcnt, pvr2_issue_simple_cmd() 3892 sizeof(tbuf)-bcnt, pvr2_issue_simple_cmd() 3896 ccnt = scnprintf(tbuf+bcnt, pvr2_issue_simple_cmd() 3897 sizeof(tbuf)-bcnt, pvr2_issue_simple_cmd() 3901 ccnt = scnprintf(tbuf+bcnt, pvr2_issue_simple_cmd() 3902 sizeof(tbuf)-bcnt, pvr2_issue_simple_cmd() 3906 pvr2_trace(PVR2_TRACE_INIT,"%.*s",bcnt,tbuf); pvr2_issue_simple_cmd()
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
H A D | sdio.c | 411 u8 *tbuf = NULL; ath6kl_sdio_read_write_sync() local 422 tbuf = ar_sdio->dma_buffer; ath6kl_sdio_read_write_sync() 425 memcpy(tbuf, buf, len); ath6kl_sdio_read_write_sync() 429 tbuf = buf; ath6kl_sdio_read_write_sync() 432 ret = ath6kl_sdio_io(ar_sdio->func, request, addr, tbuf, len); ath6kl_sdio_read_write_sync() 434 memcpy(buf, tbuf, len); ath6kl_sdio_read_write_sync()
|
/linux-4.4.14/net/sunrpc/auth_gss/ |
H A D | svcauth_gss.c | 1301 char tbuf[20]; write_gssp() local 1305 if (*ppos || count > sizeof(tbuf)-1) write_gssp() 1307 if (copy_from_user(tbuf, buf, count)) write_gssp() 1310 tbuf[count] = 0; write_gssp() 1311 res = kstrtoul(tbuf, 0, &i); write_gssp() 1331 char tbuf[10]; read_gssp() local 1334 snprintf(tbuf, sizeof(tbuf), "%d\n", sn->use_gss_proxy); read_gssp() 1335 len = strlen(tbuf); read_gssp() 1341 if (copy_to_user(buf, (void *)(tbuf+p), len)) read_gssp()
|
/linux-4.4.14/drivers/misc/cxl/ |
H A D | pci.c | 774 void *tbuf; cxl_afu_read_err_buffer() local 793 tbuf = (void *)__get_free_page(GFP_TEMPORARY); cxl_afu_read_err_buffer() 794 if (!tbuf) cxl_afu_read_err_buffer() 798 memcpy_fromio(tbuf, ebuf + aligned_start, aligned_length); cxl_afu_read_err_buffer() 799 memcpy(buf, tbuf + (off & 0x7), count); cxl_afu_read_err_buffer() 801 free_page((unsigned long)tbuf); cxl_afu_read_err_buffer()
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
H A D | mthca_provider.c | 822 struct mthca_cq_buf tbuf; mthca_resize_cq() local 828 tbuf = cq->buf; mthca_resize_cq() 833 tbuf = cq->resize_buf->buf; mthca_resize_cq() 841 mthca_free_cq_buf(dev, &tbuf, tcqe); mthca_resize_cq()
|
H A D | mthca_cq.c | 710 struct mthca_cq_buf tbuf; mthca_poll_cq() local 713 tbuf = cq->buf; mthca_poll_cq() 718 cq->resize_buf->buf = tbuf; mthca_poll_cq()
|
/linux-4.4.14/crypto/ |
H A D | xts.c | 178 be128 *t_buf = req->tbuf; xts_crypt()
|
H A D | lrw.c | 227 be128 *t_buf = req->tbuf; lrw_crypt()
|
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/ |
H A D | file.c | 2428 static int switch_log_sprint(struct spu_context *ctx, char *tbuf, int n) switch_log_sprint() argument 2434 return snprintf(tbuf, n, "%u.%09u %d %u %u %llu\n", switch_log_sprint() 2458 char tbuf[128]; spufs_switch_log_read() local 2493 width = switch_log_sprint(ctx, tbuf, sizeof(tbuf)); spufs_switch_log_read() 2503 error = copy_to_user(buf + cnt, tbuf, width); spufs_switch_log_read()
|
/linux-4.4.14/drivers/i2c/busses/ |
H A D | i2c-st.c | 365 u16 tbuf = byte << 1; st_i2c_write_tx_fifo() local 367 writel_relaxed(tbuf | 1, i2c_dev->base + SSC_TBUF); st_i2c_write_tx_fifo()
|
/linux-4.4.14/drivers/target/ |
H A D | target_core_spc.c | 1107 unsigned char tbuf[SE_MODE_PAGE_BUF]; spc_emulate_modeselect() local 1135 memset(tbuf, 0, SE_MODE_PAGE_BUF); spc_emulate_modeselect() 1136 length = modesense_handlers[i].emulate(cmd, 0, tbuf); spc_emulate_modeselect() 1149 if (memcmp(buf + off, tbuf, length)) spc_emulate_modeselect()
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
H A D | cq.c | 1156 struct mlx5_ib_cq_buf tbuf; mlx5_ib_resize_cq() local 1163 tbuf = cq->buf; mlx5_ib_resize_cq() 1173 free_cq_buf(dev, &tbuf); mlx5_ib_resize_cq()
|
/linux-4.4.14/kernel/ |
H A D | compat.c | 348 COMPAT_SYSCALL_DEFINE1(times, struct compat_tms __user *, tbuf) COMPAT_SYSCALL_DEFINE1() 350 if (tbuf) { COMPAT_SYSCALL_DEFINE1() 360 if (copy_to_user(tbuf, &tmp, sizeof(tmp))) COMPAT_SYSCALL_DEFINE1()
|
H A D | sys.c | 895 SYSCALL_DEFINE1(times, struct tms __user *, tbuf) SYSCALL_DEFINE1() 897 if (tbuf) { SYSCALL_DEFINE1() 901 if (copy_to_user(tbuf, &tmp, sizeof(struct tms))) SYSCALL_DEFINE1()
|
/linux-4.4.14/block/ |
H A D | genhd.c | 462 char tbuf[BDEVT_SIZE]; bdevt_str() local 463 snprintf(tbuf, BDEVT_SIZE, "%02x%02x", MAJOR(devt), MINOR(devt)); bdevt_str() 464 snprintf(buf, BDEVT_SIZE, "%-9s", tbuf); bdevt_str()
|
/linux-4.4.14/drivers/s390/net/ |
H A D | ctcm_mpc.c | 132 char tbuf[82], tdup[82]; ctcmpc_dumpit() local 157 sprintf(tbuf, "%2.2llX", (__u64)*ptr); ctcmpc_dumpit() 159 tbuf[2] = '\0'; ctcmpc_dumpit() 160 strcat(bhex, tbuf); ctcmpc_dumpit()
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_txrx.c | 1139 struct ath9k_htc_rxbuf *rxbuf, *tbuf; ath9k_rx_cleanup() local 1141 list_for_each_entry_safe(rxbuf, tbuf, &priv->rx.rxbuf, list) { ath9k_rx_cleanup()
|
/linux-4.4.14/arch/cris/arch-v32/drivers/ |
H A D | cryptocop.c | 3187 printk("\n\tbuf: 0x%p\n" print_dma_descriptors() 3215 printk("\n\tbuf: 0x%p\n" print_dma_descriptors() 3398 printk("\n\tbuf: 0x%p\n" print_user_dma_lists() 3429 printk("\n\tbuf: 0x%p\n" print_user_dma_lists()
|
/linux-4.4.14/include/linux/ |
H A D | compat.h | 588 asmlinkage long compat_sys_times(struct compat_tms __user *tbuf);
|
H A D | syscalls.h | 218 asmlinkage long sys_times(struct tms __user *tbuf);
|
/linux-4.4.14/drivers/scsi/ |
H A D | qla1280.c | 1750 uint8_t *sp, *tbuf; qla1280_load_firmware_dma() local 1753 tbuf = pci_alloc_consistent(ha->pdev, 8000, &p_tbuf); qla1280_load_firmware_dma() 1754 if (!tbuf) qla1280_load_firmware_dma() 1825 if (tbuf[i] != sp[i] && warn++ < 10) { qla1280_load_firmware_dma() 1831 __func__, sp[i], tbuf[i]); qla1280_load_firmware_dma() 1844 pci_free_consistent(ha->pdev, 8000, tbuf, p_tbuf); qla1280_load_firmware_dma()
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_ioc.c | 2193 * @tbuf: app memory to store data from smem 2198 bfa_nw_ioc_smem_read(struct bfa_ioc *ioc, void *tbuf, u32 soff, u32 sz) bfa_nw_ioc_smem_read() argument 2202 u32 *buf = tbuf; bfa_nw_ioc_smem_read()
|
/linux-4.4.14/drivers/scsi/bfa/ |
H A D | bfa_ioc.c | 2049 * @param[in] tbuf app memory to store data from smem 2054 bfa_ioc_smem_read(struct bfa_ioc_s *ioc, void *tbuf, u32 soff, u32 sz) bfa_ioc_smem_read() argument 2059 u32 *buf = tbuf; bfa_ioc_smem_read()
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
H A D | net2272.c | 1296 "\tbuf-a %s buf-b %s\n", registers_show()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.c | 51 BCM_SYSPORT_IO_MACRO(tbuf, SYS_PORT_TBUF_OFFSET);
|