/linux-4.1.27/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.1.27/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; 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 for (s = tmpbuf, value = 0; '0' <= *s && *s <= '9'; s++, left--) in proc_dodebug() 119 len = sprintf(tmpbuf, "%d", *(unsigned int *) table->data); in proc_dodebug() 122 if (__copy_to_user(buffer, tmpbuf, len)) in proc_dodebug()
|
/linux-4.1.27/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.1.27/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 tmp = tmpbuf[2]; in saa6588_i2c_poll() 305 tmpbuf[2] = tmpbuf[0]; in saa6588_i2c_poll() 306 tmpbuf[0] = tmp; in saa6588_i2c_poll() 319 if ((tmpbuf[2] & 0x03) == 0x03) in saa6588_i2c_poll() 321 else if ((tmpbuf[2] & 0x03) != 0x00) in saa6588_i2c_poll() 323 tmpbuf[2] = tmp; /* Is this enough ? Should we also check other bits ? */ in saa6588_i2c_poll() [all …]
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/infiniband/hw/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/target/iscsi/ |
D | iscsi_target_parameters.c | 1550 char tmpbuf[11]; in iscsi_enforce_integrity_rules() local 1551 memset(tmpbuf, 0, sizeof(tmpbuf)); in iscsi_enforce_integrity_rules() 1552 sprintf(tmpbuf, "%u", MaxBurstLength); in iscsi_enforce_integrity_rules() 1553 if (iscsi_update_param_value(param, tmpbuf)) in iscsi_enforce_integrity_rules() 1604 char *tmpbuf, *start = NULL, *end = NULL; in iscsi_decode_text_input() local 1606 tmpbuf = kzalloc(length + 1, GFP_KERNEL); in iscsi_decode_text_input() 1607 if (!tmpbuf) { in iscsi_decode_text_input() 1612 memcpy(tmpbuf, textbuf, length); in iscsi_decode_text_input() 1613 tmpbuf[length] = '\0'; in iscsi_decode_text_input() 1614 start = tmpbuf; in iscsi_decode_text_input() [all …]
|
D | iscsi_target_nego.c | 1018 char *tmpbuf, *start = NULL, *end = NULL, *key, *value; in iscsi_target_locate_portal() local 1036 tmpbuf = kzalloc(payload_length + 1, GFP_KERNEL); in iscsi_target_locate_portal() 1037 if (!tmpbuf) { in iscsi_target_locate_portal() 1042 memcpy(tmpbuf, login->req_buf, payload_length); in iscsi_target_locate_portal() 1043 tmpbuf[payload_length] = '\0'; in iscsi_target_locate_portal() 1044 start = tmpbuf; in iscsi_target_locate_portal() 1244 kfree(tmpbuf); in iscsi_target_locate_portal()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/security/integrity/ima/ |
D | ima_api.c | 226 void *tmpbuf = krealloc(iint->ima_hash, length, in ima_collect_measurement() local 228 if (tmpbuf) { in ima_collect_measurement() 229 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.1.27/drivers/crypto/qce/ |
D | sha.h | 52 u8 tmpbuf[QCE_SHA_MAX_BLOCKSIZE]; member
|
D | sha.c | 267 memcpy(rctx->tmpbuf, rctx->buf, rctx->buflen); in qce_ahash_update() 298 sg_set_buf(rctx->sg, rctx->tmpbuf, rctx->buflen); in qce_ahash_update() 323 memcpy(rctx->tmpbuf, rctx->buf, rctx->buflen); in qce_ahash_final() 324 sg_init_one(rctx->sg, rctx->tmpbuf, rctx->buflen); in qce_ahash_final()
|
/linux-4.1.27/drivers/net/wireless/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 | 3502 u8 *tmpbuf, u8 length) in ex_btc8723b2ant_bt_info_notify() argument 3511 rsp_source = tmpbuf[0]&0xf; in ex_btc8723b2ant_bt_info_notify() 3520 coex_sta->bt_info_c2h[rsp_source][i] = tmpbuf[i]; in ex_btc8723b2ant_bt_info_notify() 3522 bt_info = tmpbuf[i]; in ex_btc8723b2ant_bt_info_notify() 3525 "0x%02x]\n", tmpbuf[i]); in ex_btc8723b2ant_bt_info_notify() 3528 "0x%02x, ", tmpbuf[i]); in ex_btc8723b2ant_bt_info_notify()
|
/linux-4.1.27/drivers/media/radio/wl128x/ |
D | fmdrv_common.c | 718 u8 *rds_data, meta_data, tmpbuf[FM_RDS_BLK_SIZE]; in fm_irq_handle_rdsdata_getcmd_resp() local 799 tmpbuf[2] = blk_idx; /* Offset name */ in fm_irq_handle_rdsdata_getcmd_resp() 800 tmpbuf[2] |= blk_idx << 3; /* Received offset */ in fm_irq_handle_rdsdata_getcmd_resp() 803 tmpbuf[0] = rds_data[0]; in fm_irq_handle_rdsdata_getcmd_resp() 804 tmpbuf[1] = rds_data[1]; in fm_irq_handle_rdsdata_getcmd_resp() 806 memcpy(&rds->buff[rds->wr_idx], &tmpbuf, FM_RDS_BLK_SIZE); in fm_irq_handle_rdsdata_getcmd_resp() 1076 u8 tmpbuf[FM_RDS_BLK_SIZE]; in fmc_transfer_rds_from_internal_buff() local 1102 memcpy(tmpbuf, &fmdev->rx.rds.buff[fmdev->rx.rds.rd_idx], in fmc_transfer_rds_from_internal_buff() 1110 if (copy_to_user(buf, tmpbuf, FM_RDS_BLK_SIZE)) in fmc_transfer_rds_from_internal_buff()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | lproc_ptlrpc.c | 1192 char *tmpbuf; in lprocfs_wr_evict_client() local 1208 tmpbuf = cfs_firststr(kbuf, min_t(unsigned long, BUFLEN - 1, count)); in lprocfs_wr_evict_client() 1218 if (strncmp(tmpbuf, "nid:", 4) == 0) in lprocfs_wr_evict_client() 1219 obd_export_evict_by_nid(obd, tmpbuf + 4); in lprocfs_wr_evict_client() 1220 else if (strncmp(tmpbuf, "uuid:", 5) == 0) in lprocfs_wr_evict_client() 1221 obd_export_evict_by_uuid(obd, tmpbuf + 5); in lprocfs_wr_evict_client() 1223 obd_export_evict_by_uuid(obd, tmpbuf); in lprocfs_wr_evict_client()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | usb.c | 709 char *tmpbuf; in brcmf_usb_dl_cmd() local 715 tmpbuf = kmalloc(buflen, GFP_ATOMIC); in brcmf_usb_dl_cmd() 716 if (!tmpbuf) in brcmf_usb_dl_cmd() 731 (void *) tmpbuf, size, in brcmf_usb_dl_cmd() 745 memcpy(buffer, tmpbuf, buflen); in brcmf_usb_dl_cmd() 749 kfree(tmpbuf); in brcmf_usb_dl_cmd()
|
/linux-4.1.27/include/linux/mmc/ |
D | sdio_func.h | 56 u8 tmpbuf[4]; /* DMA:able scratch buffer */ member
|
/linux-4.1.27/drivers/bluetooth/ |
D | btmrvl_sdio.c | 981 void *tmpbuf = NULL; in btmrvl_sdio_host_to_card() local 992 tmpbuf = kzalloc(tmpbufsz, GFP_KERNEL); in btmrvl_sdio_host_to_card() 993 if (!tmpbuf) in btmrvl_sdio_host_to_card() 995 buf = (u8 *) ALIGN_ADDR(tmpbuf, BTSDIO_DMA_ALIGN); in btmrvl_sdio_host_to_card() 1022 kfree(tmpbuf); in btmrvl_sdio_host_to_card()
|
/linux-4.1.27/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.1.27/arch/s390/kvm/ |
D | kvm-s390.c | 2340 void *tmpbuf = NULL; in kvm_s390_guest_mem_op() local 2352 tmpbuf = vmalloc(mop->size); in kvm_s390_guest_mem_op() 2353 if (!tmpbuf) in kvm_s390_guest_mem_op() 2365 r = read_guest(vcpu, mop->gaddr, mop->ar, tmpbuf, mop->size); in kvm_s390_guest_mem_op() 2367 if (copy_to_user(uaddr, tmpbuf, mop->size)) in kvm_s390_guest_mem_op() 2376 if (copy_from_user(tmpbuf, uaddr, mop->size)) { in kvm_s390_guest_mem_op() 2380 r = write_guest(vcpu, mop->gaddr, mop->ar, tmpbuf, mop->size); in kvm_s390_guest_mem_op() 2391 vfree(tmpbuf); in kvm_s390_guest_mem_op()
|
/linux-4.1.27/drivers/staging/media/bcm2048/ |
D | radio-bcm2048.c | 2242 unsigned char tmpbuf[3]; in bcm2048_fops_read() local 2244 tmpbuf[i] = bdev->rds_info.radio_text[bdev->rd_index+i+2]; in bcm2048_fops_read() 2245 tmpbuf[i+1] = bdev->rds_info.radio_text[bdev->rd_index+i+1]; in bcm2048_fops_read() 2246 tmpbuf[i+2] = (bdev->rds_info.radio_text[bdev->rd_index + i] & 0xf0) >> 4; in bcm2048_fops_read() 2249 tmpbuf[i+2] |= 0x80; in bcm2048_fops_read() 2250 if (copy_to_user(buf+i, tmpbuf, 3)) { in bcm2048_fops_read()
|
/linux-4.1.27/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.1.27/drivers/usb/gadget/udc/ |
D | fsl_qe_udc.h | 346 u8 *tmpbuf; member
|
D | atmel_usba_udc.c | 90 char tmpbuf[38]; in queue_dbg_read() local 97 len = snprintf(tmpbuf, sizeof(tmpbuf), in queue_dbg_read() 107 len = min(len, sizeof(tmpbuf)); in queue_dbg_read() 114 remaining = __copy_to_user(buf, tmpbuf, len); in queue_dbg_read()
|
/linux-4.1.27/drivers/media/usb/s2255/ |
D | s2255drv.c | 614 const char *tmpbuf; in s2255_fillbuff() local 623 tmpbuf = in s2255_fillbuff() 628 planar422p_to_yuv_packed((const unsigned char *)tmpbuf, in s2255_fillbuff() 634 memcpy(vbuf, tmpbuf, vc->width * vc->height); in s2255_fillbuff() 639 memcpy(vbuf, tmpbuf, jpgsize); in s2255_fillbuff() 642 memcpy(vbuf, tmpbuf, in s2255_fillbuff()
|
/linux-4.1.27/fs/proc/ |
D | base.c | 1021 char tmpbuf[TMPBUFLEN]; in proc_loginuid_read() local 1025 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in proc_loginuid_read() 1029 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in proc_loginuid_read() 1102 char tmpbuf[TMPBUFLEN]; in proc_sessionid_read() local 1106 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in proc_sessionid_read() 1109 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in proc_sessionid_read()
|
/linux-4.1.27/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.1.27/drivers/media/usb/zr364xx/ |
D | zr364xx.c | 504 const char *tmpbuf; in zr364xx_fillbuff() local 513 tmpbuf = (const char *)cam->buffer.frame[last_frame].lpvbits; in zr364xx_fillbuff() 517 memcpy(vbuf, tmpbuf, buf->vb.size); in zr364xx_fillbuff()
|
/linux-4.1.27/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.1.27/drivers/scsi/ |
D | hpsa.c | 324 char tmpbuf[10]; in host_store_hp_ssd_smart_path_status() local 328 len = count > sizeof(tmpbuf) - 1 ? sizeof(tmpbuf) - 1 : count; in host_store_hp_ssd_smart_path_status() 329 strncpy(tmpbuf, buf, len); in host_store_hp_ssd_smart_path_status() 330 tmpbuf[len] = '\0'; in host_store_hp_ssd_smart_path_status() 331 if (sscanf(tmpbuf, "%d", &status) != 1) in host_store_hp_ssd_smart_path_status() 348 char tmpbuf[10]; in host_store_raid_offload_debug() local 352 len = count > sizeof(tmpbuf) - 1 ? sizeof(tmpbuf) - 1 : count; in host_store_raid_offload_debug() 353 strncpy(tmpbuf, buf, len); in host_store_raid_offload_debug() 354 tmpbuf[len] = '\0'; in host_store_raid_offload_debug() 355 if (sscanf(tmpbuf, "%d", &debug_level) != 1) in host_store_raid_offload_debug()
|
/linux-4.1.27/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.1.27/drivers/gpu/drm/i915/ |
D | i915_debugfs.c | 3830 char *tmpbuf; in display_crc_ctl_write() local 3842 tmpbuf = kmalloc(len + 1, GFP_KERNEL); in display_crc_ctl_write() 3843 if (!tmpbuf) in display_crc_ctl_write() 3846 if (copy_from_user(tmpbuf, ubuf, len)) { in display_crc_ctl_write() 3850 tmpbuf[len] = '\0'; in display_crc_ctl_write() 3852 ret = display_crc_ctl_parse(dev, tmpbuf, len); in display_crc_ctl_write() 3855 kfree(tmpbuf); in display_crc_ctl_write()
|
/linux-4.1.27/sound/soc/ |
D | soc-core.c | 95 char tmpbuf[len + 1]; in format_register_str() local 115 snprintf(tmpbuf, len + 1, "%.*x: %s\n", wordsize, reg, regbuf); in format_register_str() 117 memcpy(buf, tmpbuf, len); in format_register_str()
|
/linux-4.1.27/drivers/net/wireless/ |
D | airo.c | 3285 __le16 fc, v, *buffer, tmpbuf[4]; in airo_handle_rx() local 3341 bap_read(ai, tmpbuf, 6, BAP0); in airo_handle_rx() 3347 bap_read(ai, tmpbuf, gap, BAP0); in airo_handle_rx()
|