/linux-4.4.14/arch/powerpc/boot/ |
D | mktree.c | 39 unsigned int tmpbuf[IMGBLK / sizeof(unsigned int)]; variable 98 if (read(in_fd, tmpbuf, sizeof(tmpbuf)) != sizeof(tmpbuf)) { in main() 104 if (tmpbuf[0] != htonl(0x7f454c46)) { in main() 124 if (read(in_fd, tmpbuf, sizeof(tmpbuf)) < 0) { in main() 128 cp = tmpbuf; in main() 129 for (i = 0; i < sizeof(tmpbuf) / sizeof(unsigned int); i++) in main() 131 if (write(out_fd, tmpbuf, sizeof(tmpbuf)) != sizeof(tmpbuf)) { in main()
|
/linux-4.4.14/net/sunrpc/ |
D | sysctl.c | 64 char tmpbuf[256]; in proc_do_xprt() local 71 len = svc_print_xprts(tmpbuf, sizeof(tmpbuf)); in proc_do_xprt() 72 return simple_read_from_buffer(buffer, *lenp, ppos, tmpbuf, len); in proc_do_xprt() 79 char tmpbuf[20], c, *s = NULL; in proc_dodebug() local 100 if (left > sizeof(tmpbuf) - 1) in proc_dodebug() 102 if (copy_from_user(tmpbuf, p, left)) in proc_dodebug() 104 tmpbuf[left] = '\0'; in proc_dodebug() 106 value = simple_strtol(tmpbuf, &s, 0); in proc_dodebug() 108 left -= (s - tmpbuf); in proc_dodebug() 120 len = sprintf(tmpbuf, "0x%04x", *(unsigned int *) table->data); in proc_dodebug() [all …]
|
/linux-4.4.14/net/rxrpc/ |
D | rxkad.c | 121 } tmpbuf __attribute__((aligned(16))); /* must all be in same page */ in rxkad_prime_packet_security() local 135 tmpbuf.x[0] = conn->epoch; in rxkad_prime_packet_security() 136 tmpbuf.x[1] = conn->cid; in rxkad_prime_packet_security() 137 tmpbuf.x[2] = 0; in rxkad_prime_packet_security() 138 tmpbuf.x[3] = htonl(conn->security_ix); in rxkad_prime_packet_security() 140 sg_init_one(&sg[0], &tmpbuf, sizeof(tmpbuf)); in rxkad_prime_packet_security() 141 sg_init_one(&sg[1], &tmpbuf, sizeof(tmpbuf)); in rxkad_prime_packet_security() 142 crypto_blkcipher_encrypt_iv(&desc, &sg[0], &sg[1], sizeof(tmpbuf)); in rxkad_prime_packet_security() 144 memcpy(&conn->csum_iv, &tmpbuf.x[2], sizeof(conn->csum_iv)); in rxkad_prime_packet_security() 145 ASSERTCMP(conn->csum_iv.n[0], ==, tmpbuf.x[2]); in rxkad_prime_packet_security() [all …]
|
/linux-4.4.14/drivers/pnp/pnpbios/ |
D | proc.c | 93 char *tmpbuf; in escd_proc_show() local 106 tmpbuf = kzalloc(escd.escd_size, GFP_KERNEL); in escd_proc_show() 107 if (!tmpbuf) in escd_proc_show() 110 if (pnp_bios_read_escd(tmpbuf, escd.nv_storage_base)) { in escd_proc_show() 111 kfree(tmpbuf); in escd_proc_show() 116 (unsigned char)(tmpbuf[0]) + (unsigned char)(tmpbuf[1]) * 256; in escd_proc_show() 122 kfree(tmpbuf); in escd_proc_show() 126 seq_write(m, tmpbuf, escd_size); in escd_proc_show() 127 kfree(tmpbuf); in escd_proc_show()
|
/linux-4.4.14/drivers/media/i2c/ |
D | saa6588.c | 264 unsigned char tmpbuf[6]; in saa6588_i2c_poll() local 270 if (6 != i2c_master_recv(client, &tmpbuf[0], 6)) { in saa6588_i2c_poll() 276 s->sync = tmpbuf[0] & 0x10; in saa6588_i2c_poll() 279 blocknum = tmpbuf[0] >> 5; in saa6588_i2c_poll() 304 swap(tmpbuf[2], tmpbuf[0]); in saa6588_i2c_poll() 317 if ((tmpbuf[2] & 0x03) == 0x03) in saa6588_i2c_poll() 319 else if ((tmpbuf[2] & 0x03) != 0x00) in saa6588_i2c_poll() 321 tmpbuf[2] = tmp; /* Is this enough ? Should we also check other bits ? */ in saa6588_i2c_poll() 324 block_to_buf(s, tmpbuf); in saa6588_i2c_poll()
|
/linux-4.4.14/drivers/isdn/hardware/eicon/ |
D | divasproc.c | 62 char tmpbuf[80]; in divas_read() local 68 divas_get_version(tmpbuf); in divas_read() 69 if (copy_to_user(buf + len, &tmpbuf, strlen(tmpbuf))) in divas_read() 71 len += strlen(tmpbuf); in divas_read() 77 sprintf(tmpbuf, in divas_read() 83 if ((strlen(tmpbuf) + len) > count) in divas_read() 86 (buf + len, &tmpbuf, in divas_read() 87 strlen(tmpbuf))) return -EFAULT; in divas_read() 88 len += strlen(tmpbuf); in divas_read()
|
/linux-4.4.14/fs/quota/ |
D | quota_tree.c | 128 char *tmpbuf = getdqbuf(info->dqi_usable_bs); in remove_free_dqentry() local 134 if (!tmpbuf) in remove_free_dqentry() 137 err = read_blk(info, nextblk, tmpbuf); in remove_free_dqentry() 140 ((struct qt_disk_dqdbheader *)tmpbuf)->dqdh_prev_free = in remove_free_dqentry() 142 err = write_blk(info, nextblk, tmpbuf); in remove_free_dqentry() 147 err = read_blk(info, prevblk, tmpbuf); in remove_free_dqentry() 150 ((struct qt_disk_dqdbheader *)tmpbuf)->dqdh_next_free = in remove_free_dqentry() 152 err = write_blk(info, prevblk, tmpbuf); in remove_free_dqentry() 159 kfree(tmpbuf); in remove_free_dqentry() 167 kfree(tmpbuf); in remove_free_dqentry() [all …]
|
/linux-4.4.14/drivers/oprofile/ |
D | oprofilefs.c | 55 char tmpbuf[TMPBUFSIZE]; in oprofilefs_ulong_to_user() local 56 size_t maxlen = snprintf(tmpbuf, TMPBUFSIZE, "%lu\n", val); in oprofilefs_ulong_to_user() 59 return simple_read_from_buffer(buf, count, offset, tmpbuf, maxlen); in oprofilefs_ulong_to_user() 72 char tmpbuf[TMPBUFSIZE]; in oprofilefs_ulong_from_user() local 81 memset(tmpbuf, 0x0, TMPBUFSIZE); in oprofilefs_ulong_from_user() 83 if (copy_from_user(tmpbuf, buf, count)) in oprofilefs_ulong_from_user() 87 *val = simple_strtoul(tmpbuf, NULL, 0); in oprofilefs_ulong_from_user()
|
/linux-4.4.14/drivers/media/radio/si470x/ |
D | radio-si470x-i2c.c | 262 unsigned char tmpbuf[3]; in si470x_i2c_interrupt() local 314 put_unaligned_le16(rds, &tmpbuf); in si470x_i2c_interrupt() 315 tmpbuf[2] = blocknum; /* offset name */ in si470x_i2c_interrupt() 316 tmpbuf[2] |= blocknum << 3; /* received offset */ in si470x_i2c_interrupt() 318 tmpbuf[2] |= 0x80; /* uncorrectable errors */ in si470x_i2c_interrupt() 320 tmpbuf[2] |= 0x40; /* corrected error(s) */ in si470x_i2c_interrupt() 323 memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); in si470x_i2c_interrupt()
|
D | radio-si470x-usb.c | 383 unsigned char tmpbuf[3]; in si470x_int_in_callback() local 447 put_unaligned_le16(rds, &tmpbuf); in si470x_int_in_callback() 448 tmpbuf[2] = blocknum; /* offset name */ in si470x_int_in_callback() 449 tmpbuf[2] |= blocknum << 3; /* received offset */ in si470x_int_in_callback() 451 tmpbuf[2] |= 0x80; /* uncorrectable errors */ in si470x_int_in_callback() 453 tmpbuf[2] |= 0x40; /* corrected error(s) */ in si470x_int_in_callback() 456 memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); in si470x_int_in_callback()
|
/linux-4.4.14/drivers/mmc/core/ |
D | sdio_io.c | 524 ret = sdio_memcpy_fromio(func, func->tmpbuf, addr, 2); in sdio_readw() 531 return le16_to_cpup((__le16 *)func->tmpbuf); in sdio_readw() 550 *(__le16 *)func->tmpbuf = cpu_to_le16(b); in sdio_writew() 552 ret = sdio_memcpy_toio(func, addr, func->tmpbuf, 2); in sdio_writew() 576 ret = sdio_memcpy_fromio(func, func->tmpbuf, addr, 4); in sdio_readl() 583 return le32_to_cpup((__le32 *)func->tmpbuf); in sdio_readl() 602 *(__le32 *)func->tmpbuf = cpu_to_le32(b); in sdio_writel() 604 ret = sdio_memcpy_toio(func, addr, func->tmpbuf, 4); in sdio_writel()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_diag.c | 332 u32 *tmpbuf = NULL; in ipath_diagpkt_write() local 423 tmpbuf = vmalloc(plen); in ipath_diagpkt_write() 424 if (!tmpbuf) { in ipath_diagpkt_write() 431 if (copy_from_user(tmpbuf, in ipath_diagpkt_write() 464 __iowrite32_copy(piobuf + 2, tmpbuf, plen - 1); in ipath_diagpkt_write() 466 __raw_writel(tmpbuf[plen - 1], piobuf + plen + 1); in ipath_diagpkt_write() 468 __iowrite32_copy(piobuf + 2, tmpbuf, plen); in ipath_diagpkt_write() 475 vfree(tmpbuf); in ipath_diagpkt_write()
|
/linux-4.4.14/crypto/ |
D | pcbc.c | 80 u8 tmpbuf[bsize]; in crypto_pcbc_encrypt_inplace() local 83 memcpy(tmpbuf, src, bsize); in crypto_pcbc_encrypt_inplace() 86 memcpy(iv, tmpbuf, bsize); in crypto_pcbc_encrypt_inplace() 160 u8 tmpbuf[bsize]; in crypto_pcbc_decrypt_inplace() local 163 memcpy(tmpbuf, src, bsize); in crypto_pcbc_decrypt_inplace() 166 memcpy(iv, tmpbuf, bsize); in crypto_pcbc_decrypt_inplace()
|
/linux-4.4.14/drivers/media/usb/gspca/ |
D | t613.c | 342 u8 *tmpbuf; in reg_w_buf() local 344 tmpbuf = kmemdup(buffer, len, GFP_KERNEL); in reg_w_buf() 345 if (!tmpbuf) { in reg_w_buf() 354 tmpbuf, len, 500); in reg_w_buf() 355 kfree(tmpbuf); in reg_w_buf() 365 u8 *p, *tmpbuf; in reg_w_ixbuf() local 368 p = tmpbuf = gspca_dev->usb_buf; in reg_w_ixbuf() 370 p = tmpbuf = kmalloc(len * 2, GFP_KERNEL); in reg_w_ixbuf() 371 if (!tmpbuf) { in reg_w_ixbuf() 386 tmpbuf, len * 2, 500); in reg_w_ixbuf() [all …]
|
D | pac7311.c | 552 unsigned char tmpbuf[4]; in pac_start_frame() local 557 tmpbuf[0] = lines >> 8; in pac_start_frame() 558 tmpbuf[1] = lines & 0xff; in pac_start_frame() 559 tmpbuf[2] = samples_per_line >> 8; in pac_start_frame() 560 tmpbuf[3] = samples_per_line & 0xff; in pac_start_frame() 563 tmpbuf, sizeof(tmpbuf)); in pac_start_frame()
|
/linux-4.4.14/security/selinux/ |
D | selinuxfs.c | 134 char tmpbuf[TMPBUFLEN]; in sel_read_enforce() local 137 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", selinux_enforcing); in sel_read_enforce() 138 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_enforce() 205 char tmpbuf[TMPBUFLEN]; in sel_read_handle_unknown() local 211 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", handle_unknown); in sel_read_handle_unknown() 212 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_handle_unknown() 331 char tmpbuf[TMPBUFLEN]; in sel_read_policyvers() local 334 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", POLICYDB_VERSION_MAX); in sel_read_policyvers() 335 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in sel_read_policyvers() 355 char tmpbuf[TMPBUFLEN]; in sel_read_mls() local [all …]
|
/linux-4.4.14/drivers/target/iscsi/ |
D | iscsi_target_parameters.c | 1346 char tmpbuf[11]; in iscsi_enforce_integrity_rules() local 1347 memset(tmpbuf, 0, sizeof(tmpbuf)); in iscsi_enforce_integrity_rules() 1348 sprintf(tmpbuf, "%u", MaxBurstLength); in iscsi_enforce_integrity_rules() 1349 if (iscsi_update_param_value(param, tmpbuf)) in iscsi_enforce_integrity_rules() 1368 char *tmpbuf, *start = NULL, *end = NULL; in iscsi_decode_text_input() local 1370 tmpbuf = kzalloc(length + 1, GFP_KERNEL); in iscsi_decode_text_input() 1371 if (!tmpbuf) { in iscsi_decode_text_input() 1376 memcpy(tmpbuf, textbuf, length); in iscsi_decode_text_input() 1377 tmpbuf[length] = '\0'; in iscsi_decode_text_input() 1378 start = tmpbuf; in iscsi_decode_text_input() [all …]
|
D | iscsi_target_nego.c | 1013 char *tmpbuf, *start = NULL, *end = NULL, *key, *value; in iscsi_target_locate_portal() local 1031 tmpbuf = kzalloc(payload_length + 1, GFP_KERNEL); in iscsi_target_locate_portal() 1032 if (!tmpbuf) { in iscsi_target_locate_portal() 1037 memcpy(tmpbuf, login->req_buf, payload_length); in iscsi_target_locate_portal() 1038 tmpbuf[payload_length] = '\0'; in iscsi_target_locate_portal() 1039 start = tmpbuf; in iscsi_target_locate_portal() 1239 kfree(tmpbuf); in iscsi_target_locate_portal()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_diag.c | 554 u32 *tmpbuf = NULL; in qib_diagpkt_write() local 610 tmpbuf = vmalloc(plen); in qib_diagpkt_write() 611 if (!tmpbuf) { in qib_diagpkt_write() 618 if (copy_from_user(tmpbuf, in qib_diagpkt_write() 649 qib_pio_copy(piobuf + 2, tmpbuf, plen - 1); in qib_diagpkt_write() 651 __raw_writel(tmpbuf[plen - 1], piobuf + plen + 1); in qib_diagpkt_write() 653 qib_pio_copy(piobuf + 2, tmpbuf, plen); in qib_diagpkt_write() 674 vfree(tmpbuf); in qib_diagpkt_write()
|
/linux-4.4.14/fs/bfs/ |
D | inode.c | 303 char *tmpbuf = (char *)get_zeroed_page(GFP_KERNEL); in bfs_dump_imap() local 305 if (!tmpbuf) in bfs_dump_imap() 310 strcat(tmpbuf, "1"); in bfs_dump_imap() 312 strcat(tmpbuf, "0"); in bfs_dump_imap() 315 prefix, BFS_SB(s)->si_lasti, tmpbuf); in bfs_dump_imap() 316 free_page((unsigned long)tmpbuf); in bfs_dump_imap()
|
/linux-4.4.14/lib/ |
D | dynamic_debug.c | 651 char *tmpbuf; in ddebug_proc_write() local 660 tmpbuf = kmalloc(len + 1, GFP_KERNEL); in ddebug_proc_write() 661 if (!tmpbuf) in ddebug_proc_write() 663 if (copy_from_user(tmpbuf, ubuf, len)) { in ddebug_proc_write() 664 kfree(tmpbuf); in ddebug_proc_write() 667 tmpbuf[len] = '\0'; in ddebug_proc_write() 670 ret = ddebug_exec_queries(tmpbuf, NULL); in ddebug_proc_write() 671 kfree(tmpbuf); in ddebug_proc_write()
|
/linux-4.4.14/sound/usb/usx2y/ |
D | usbusx2yaudio.c | 158 urb->transfer_buffer = subs->tmpbuf; in usX2Y_urb_play_prepare() 159 memcpy(subs->tmpbuf, runtime->dma_area + in usX2Y_urb_play_prepare() 161 memcpy(subs->tmpbuf + len * usX2Y->stride, in usX2Y_urb_play_prepare() 172 urb->transfer_buffer = subs->tmpbuf; in usX2Y_urb_play_prepare() 401 kfree(subs->tmpbuf); in usX2Y_urbs_release() 402 subs->tmpbuf = NULL; in usX2Y_urbs_release() 420 if (is_playback && NULL == subs->tmpbuf) { /* allocate a temporary buffer for playback */ in usX2Y_urbs_allocate() 421 subs->tmpbuf = kcalloc(nr_of_packs(), subs->maxpacksize, GFP_KERNEL); in usX2Y_urbs_allocate() 422 if (NULL == subs->tmpbuf) { in usX2Y_urbs_allocate()
|
D | usbusx2y.h | 75 char *tmpbuf; /* temporary buffer for playback */ member
|
/linux-4.4.14/security/integrity/ima/ |
D | ima_api.c | 225 void *tmpbuf = krealloc(iint->ima_hash, length, in ima_collect_measurement() local 227 if (tmpbuf) { in ima_collect_measurement() 228 iint->ima_hash = tmpbuf; in ima_collect_measurement()
|
D | ima_fs.c | 33 char tmpbuf[TMPBUFLEN]; in ima_show_htable_value() local 36 len = scnprintf(tmpbuf, TMPBUFLEN, "%li\n", atomic_long_read(val)); in ima_show_htable_value() 37 return simple_read_from_buffer(buf, count, ppos, tmpbuf, len); in ima_show_htable_value()
|
/linux-4.4.14/drivers/crypto/qce/ |
D | sha.h | 51 u8 tmpbuf[QCE_SHA_MAX_BLOCKSIZE]; member
|
D | sha.c | 263 memcpy(rctx->tmpbuf, rctx->buf, rctx->buflen); in qce_ahash_update() 294 sg_set_buf(rctx->sg, rctx->tmpbuf, rctx->buflen); in qce_ahash_update() 319 memcpy(rctx->tmpbuf, rctx->buf, rctx->buflen); in qce_ahash_final() 320 sg_init_one(rctx->sg, rctx->tmpbuf, rctx->buflen); in qce_ahash_final()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | rtl_btc.h | 41 void rtl_btc_btinfo_notify(struct rtl_priv *rtlpriv, u8 *tmpbuf, u8 length);
|
D | halbtc8723b2ant.h | 167 u8 *tmpbuf, u8 length);
|
D | halbtc8723b1ant.h | 179 u8 *tmpbuf, u8 length);
|
D | halbtc8192e2ant.h | 180 u8 *tmpbuf, u8 length);
|
D | halbtc8821a1ant.h | 182 u8 *tmpbuf, u8 length);
|
D | halbtc8723b2ant.c | 3505 u8 *tmpbuf, u8 length) in ex_btc8723b2ant_bt_info_notify() argument 3514 rsp_source = tmpbuf[0]&0xf; in ex_btc8723b2ant_bt_info_notify() 3523 coex_sta->bt_info_c2h[rsp_source][i] = tmpbuf[i]; in ex_btc8723b2ant_bt_info_notify() 3525 bt_info = tmpbuf[i]; in ex_btc8723b2ant_bt_info_notify() 3528 "0x%02x]\n", tmpbuf[i]); in ex_btc8723b2ant_bt_info_notify() 3531 "0x%02x, ", tmpbuf[i]); in ex_btc8723b2ant_bt_info_notify()
|
/linux-4.4.14/drivers/media/radio/wl128x/ |
D | fmdrv_common.c | 715 u8 *rds_data, meta_data, tmpbuf[FM_RDS_BLK_SIZE]; in fm_irq_handle_rdsdata_getcmd_resp() local 796 tmpbuf[2] = blk_idx; /* Offset name */ in fm_irq_handle_rdsdata_getcmd_resp() 797 tmpbuf[2] |= blk_idx << 3; /* Received offset */ in fm_irq_handle_rdsdata_getcmd_resp() 800 tmpbuf[0] = rds_data[0]; in fm_irq_handle_rdsdata_getcmd_resp() 801 tmpbuf[1] = rds_data[1]; in fm_irq_handle_rdsdata_getcmd_resp() 803 memcpy(&rds->buff[rds->wr_idx], &tmpbuf, FM_RDS_BLK_SIZE); in fm_irq_handle_rdsdata_getcmd_resp() 1073 u8 tmpbuf[FM_RDS_BLK_SIZE]; in fmc_transfer_rds_from_internal_buff() local 1099 memcpy(tmpbuf, &fmdev->rx.rds.buff[fmdev->rx.rds.rd_idx], in fmc_transfer_rds_from_internal_buff() 1107 if (copy_to_user(buf, tmpbuf, FM_RDS_BLK_SIZE)) in fmc_transfer_rds_from_internal_buff()
|
/linux-4.4.14/include/linux/mmc/ |
D | sdio_func.h | 56 u8 tmpbuf[4]; /* DMA:able scratch buffer */ member
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | usb.c | 710 char *tmpbuf; in brcmf_usb_dl_cmd() local 716 tmpbuf = kmalloc(buflen, GFP_ATOMIC); in brcmf_usb_dl_cmd() 717 if (!tmpbuf) in brcmf_usb_dl_cmd() 732 (void *) tmpbuf, size, in brcmf_usb_dl_cmd() 746 memcpy(buffer, tmpbuf, buflen); in brcmf_usb_dl_cmd() 750 kfree(tmpbuf); in brcmf_usb_dl_cmd()
|
/linux-4.4.14/drivers/bluetooth/ |
D | btmrvl_sdio.c | 1016 void *tmpbuf = NULL; in btmrvl_sdio_host_to_card() local 1027 tmpbuf = kzalloc(tmpbufsz, GFP_KERNEL); in btmrvl_sdio_host_to_card() 1028 if (!tmpbuf) in btmrvl_sdio_host_to_card() 1030 buf = (u8 *) ALIGN_ADDR(tmpbuf, BTSDIO_DMA_ALIGN); in btmrvl_sdio_host_to_card() 1057 kfree(tmpbuf); in btmrvl_sdio_host_to_card()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | diag.c | 376 u32 *tmpbuf = NULL; in diagpkt_send() local 436 tmpbuf = vmalloc(dp->len); in diagpkt_send() 437 if (!tmpbuf) { in diagpkt_send() 442 if (copy_from_user(tmpbuf, in diagpkt_send() 512 pio_copy(dd, pbuf, dp->pbc, tmpbuf, pkt_len); in diagpkt_send() 543 vfree(tmpbuf); in diagpkt_send()
|
/linux-4.4.14/drivers/isdn/hisax/ |
D | config.c | 660 static u_char tmpbuf[HISAX_STATUS_BUFSIZE]; variable 678 p = tmpbuf; in VHiSax_putstatus() 685 len = p - tmpbuf; in VHiSax_putstatus() 686 p = tmpbuf; in VHiSax_putstatus() 713 sprintf(tmpbuf, "kstack %s %lx use %ld\n", current->comm, in VHiSax_putstatus() 715 len = strlen(tmpbuf); in VHiSax_putstatus() 716 for (p = tmpbuf, i = len; i > 0; i--, p++) { in VHiSax_putstatus()
|
D | callc.c | 1417 static char tmpbuf[256]; variable 1422 char *t = tmpbuf; in capi_debug() 1427 HiSax_putstatus(chanp->cs, "Ch", "%d CAPIMSG %s", chanp->chan, tmpbuf); in capi_debug()
|
/linux-4.4.14/arch/s390/kvm/ |
D | kvm-s390.c | 2454 void *tmpbuf = NULL; in kvm_s390_guest_mem_op() local 2466 tmpbuf = vmalloc(mop->size); in kvm_s390_guest_mem_op() 2467 if (!tmpbuf) in kvm_s390_guest_mem_op() 2479 r = read_guest(vcpu, mop->gaddr, mop->ar, tmpbuf, mop->size); in kvm_s390_guest_mem_op() 2481 if (copy_to_user(uaddr, tmpbuf, mop->size)) in kvm_s390_guest_mem_op() 2490 if (copy_from_user(tmpbuf, uaddr, mop->size)) { in kvm_s390_guest_mem_op() 2494 r = write_guest(vcpu, mop->gaddr, mop->ar, tmpbuf, mop->size); in kvm_s390_guest_mem_op() 2505 vfree(tmpbuf); in kvm_s390_guest_mem_op()
|
/linux-4.4.14/drivers/staging/media/bcm2048/ |
D | radio-bcm2048.c | 2246 unsigned char tmpbuf[3]; in bcm2048_fops_read() local 2248 tmpbuf[i] = bdev->rds_info.radio_text[bdev->rd_index+i+2]; in bcm2048_fops_read() 2249 tmpbuf[i+1] = bdev->rds_info.radio_text[bdev->rd_index+i+1]; in bcm2048_fops_read() 2250 tmpbuf[i+2] = (bdev->rds_info.radio_text[bdev->rd_index + i] & 0xf0) >> 4; in bcm2048_fops_read() 2253 tmpbuf[i+2] |= 0x80; in bcm2048_fops_read() 2254 if (copy_to_user(buf+i, tmpbuf, 3)) { in bcm2048_fops_read()
|
/linux-4.4.14/fs/afs/ |
D | fsclient.c | 1731 void *tmpbuf; in afs_fs_get_volume_status() local 1735 tmpbuf = kmalloc(AFSOPAQUEMAX, GFP_KERNEL); in afs_fs_get_volume_status() 1736 if (!tmpbuf) in afs_fs_get_volume_status() 1741 kfree(tmpbuf); in afs_fs_get_volume_status() 1748 call->reply3 = tmpbuf; in afs_fs_get_volume_status()
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
D | fsl_qe_udc.h | 346 u8 *tmpbuf; member
|
D | atmel_usba_udc.c | 89 char tmpbuf[38]; in queue_dbg_read() local 96 len = snprintf(tmpbuf, sizeof(tmpbuf), in queue_dbg_read() 106 len = min(len, sizeof(tmpbuf)); in queue_dbg_read() 113 remaining = __copy_to_user(buf, tmpbuf, len); in queue_dbg_read()
|
/linux-4.4.14/drivers/media/usb/s2255/ |
D | s2255drv.c | 615 const char *tmpbuf; in s2255_fillbuff() local 624 tmpbuf = in s2255_fillbuff() 629 planar422p_to_yuv_packed((const unsigned char *)tmpbuf, in s2255_fillbuff() 635 memcpy(vbuf, tmpbuf, vc->width * vc->height); in s2255_fillbuff() 640 memcpy(vbuf, tmpbuf, jpgsize); in s2255_fillbuff() 643 memcpy(vbuf, tmpbuf, in s2255_fillbuff()
|
/linux-4.4.14/drivers/net/wireless/hostap/ |
D | hostap_ap.c | 1304 char *tmpbuf; in ap_auth_make_challenge() local 1313 tmpbuf = kmalloc(WLAN_AUTH_CHALLENGE_LEN, GFP_ATOMIC); in ap_auth_make_challenge() 1314 if (tmpbuf == NULL) { in ap_auth_make_challenge() 1323 kfree(tmpbuf); in ap_auth_make_challenge() 1332 kfree(tmpbuf); in ap_auth_make_challenge() 1337 tmpbuf, WLAN_AUTH_CHALLENGE_LEN); in ap_auth_make_challenge() 1340 return tmpbuf; in ap_auth_make_challenge()
|
/linux-4.4.14/drivers/media/usb/zr364xx/ |
D | zr364xx.c | 503 const char *tmpbuf; in zr364xx_fillbuff() local 512 tmpbuf = (const char *)cam->buffer.frame[last_frame].lpvbits; in zr364xx_fillbuff() 516 memcpy(vbuf, tmpbuf, buf->vb.size); in zr364xx_fillbuff()
|
/linux-4.4.14/fs/proc/ |
D | base.c | 1227 char tmpbuf[TMPBUFLEN]; in proc_loginuid_read() local 1231 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in proc_loginuid_read() 1235 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in proc_loginuid_read() 1289 char tmpbuf[TMPBUFLEN]; in proc_sessionid_read() local 1293 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in proc_sessionid_read() 1296 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in proc_sessionid_read()
|
/linux-4.4.14/tools/perf/util/ |
D | symbol-elf.c | 583 char tmpbuf[] = "/tmp/perf-kmod-XXXXXX"; in decompress_kmodule() local 597 fd = mkstemp(tmpbuf); in decompress_kmodule() 609 unlink(tmpbuf); in decompress_kmodule()
|
/linux-4.4.14/Documentation/serial/ |
D | driver | 44 There are three locks. A per-port spinlock, a per-port tmpbuf semaphore, 59 access to the info->tmpbuf bouncebuffer used for port writes.
|
/linux-4.4.14/drivers/scsi/ |
D | hpsa.c | 425 char tmpbuf[10]; in host_store_hp_ssd_smart_path_status() local 429 len = count > sizeof(tmpbuf) - 1 ? sizeof(tmpbuf) - 1 : count; in host_store_hp_ssd_smart_path_status() 430 strncpy(tmpbuf, buf, len); in host_store_hp_ssd_smart_path_status() 431 tmpbuf[len] = '\0'; in host_store_hp_ssd_smart_path_status() 432 if (sscanf(tmpbuf, "%d", &status) != 1) in host_store_hp_ssd_smart_path_status() 449 char tmpbuf[10]; in host_store_raid_offload_debug() local 453 len = count > sizeof(tmpbuf) - 1 ? sizeof(tmpbuf) - 1 : count; in host_store_raid_offload_debug() 454 strncpy(tmpbuf, buf, len); in host_store_raid_offload_debug() 455 tmpbuf[len] = '\0'; in host_store_raid_offload_debug() 456 if (sscanf(tmpbuf, "%d", &debug_level) != 1) in host_store_raid_offload_debug()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_debugfs.c | 4105 char *tmpbuf; in display_crc_ctl_write() local 4117 tmpbuf = kmalloc(len + 1, GFP_KERNEL); in display_crc_ctl_write() 4118 if (!tmpbuf) in display_crc_ctl_write() 4121 if (copy_from_user(tmpbuf, ubuf, len)) { in display_crc_ctl_write() 4125 tmpbuf[len] = '\0'; in display_crc_ctl_write() 4127 ret = display_crc_ctl_parse(dev, tmpbuf, len); in display_crc_ctl_write() 4130 kfree(tmpbuf); in display_crc_ctl_write()
|
/linux-4.4.14/drivers/net/wireless/ |
D | airo.c | 3290 __le16 fc, v, *buffer, tmpbuf[4]; in airo_handle_rx() local 3346 bap_read(ai, tmpbuf, 6, BAP0); in airo_handle_rx() 3352 bap_read(ai, tmpbuf, gap, BAP0); in airo_handle_rx()
|