/drivers/pnp/pnpbios/ |
D | proc.c | 94 char *tmpbuf; in escd_proc_show() local 107 tmpbuf = kzalloc(escd.escd_size, GFP_KERNEL); in escd_proc_show() 108 if (!tmpbuf) in escd_proc_show() 111 if (pnp_bios_read_escd(tmpbuf, escd.nv_storage_base)) { in escd_proc_show() 112 kfree(tmpbuf); in escd_proc_show() 117 (unsigned char)(tmpbuf[0]) + (unsigned char)(tmpbuf[1]) * 256; in escd_proc_show() 123 kfree(tmpbuf); in escd_proc_show() 127 seq_write(m, tmpbuf, escd_size); in escd_proc_show() 128 kfree(tmpbuf); in escd_proc_show()
|
/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()
|
/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()
|
/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()
|
/drivers/mmc/core/ |
D | sdio_io.c | 530 ret = sdio_memcpy_fromio(func, func->tmpbuf, addr, 2); in sdio_readw() 536 return le16_to_cpup((__le16 *)func->tmpbuf); in sdio_readw() 555 *(__le16 *)func->tmpbuf = cpu_to_le16(b); in sdio_writew() 557 ret = sdio_memcpy_toio(func, addr, func->tmpbuf, 2); in sdio_writew() 578 ret = sdio_memcpy_fromio(func, func->tmpbuf, addr, 4); in sdio_readl() 584 return le32_to_cpup((__le32 *)func->tmpbuf); in sdio_readl() 603 *(__le32 *)func->tmpbuf = cpu_to_le32(b); in sdio_writel() 605 ret = sdio_memcpy_toio(func, addr, func->tmpbuf, 4); in sdio_writel()
|
D | sdio_bus.c | 281 kfree(func->tmpbuf); in sdio_release_func() 300 func->tmpbuf = kmalloc(4, GFP_KERNEL); in sdio_alloc_func() 301 if (!func->tmpbuf) { in sdio_alloc_func()
|
/drivers/media/radio/si470x/ |
D | radio-si470x-i2c.c | 258 unsigned char tmpbuf[3]; in si470x_i2c_interrupt() local 310 put_unaligned_le16(rds, &tmpbuf); in si470x_i2c_interrupt() 311 tmpbuf[2] = blocknum; /* offset name */ in si470x_i2c_interrupt() 312 tmpbuf[2] |= blocknum << 3; /* received offset */ in si470x_i2c_interrupt() 314 tmpbuf[2] |= 0x80; /* uncorrectable errors */ in si470x_i2c_interrupt() 316 tmpbuf[2] |= 0x40; /* corrected error(s) */ in si470x_i2c_interrupt() 319 memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); in si470x_i2c_interrupt()
|
D | radio-si470x-usb.c | 379 unsigned char tmpbuf[3]; in si470x_int_in_callback() local 443 put_unaligned_le16(rds, &tmpbuf); in si470x_int_in_callback() 444 tmpbuf[2] = blocknum; /* offset name */ in si470x_int_in_callback() 445 tmpbuf[2] |= blocknum << 3; /* received offset */ in si470x_int_in_callback() 447 tmpbuf[2] |= 0x80; /* uncorrectable errors */ in si470x_int_in_callback() 449 tmpbuf[2] |= 0x40; /* corrected error(s) */ in si470x_int_in_callback() 452 memcpy(&radio->buffer[radio->wr_index], &tmpbuf, 3); in si470x_int_in_callback()
|
/drivers/media/usb/gspca/ |
D | t613.c | 338 u8 *tmpbuf; in reg_w_buf() local 340 tmpbuf = kmemdup(buffer, len, GFP_KERNEL); in reg_w_buf() 341 if (!tmpbuf) { in reg_w_buf() 350 tmpbuf, len, 500); in reg_w_buf() 351 kfree(tmpbuf); in reg_w_buf() 361 u8 *p, *tmpbuf; in reg_w_ixbuf() local 364 p = tmpbuf = gspca_dev->usb_buf; in reg_w_ixbuf() 366 p = tmpbuf = kmalloc(len * 2, GFP_KERNEL); in reg_w_ixbuf() 367 if (!tmpbuf) { in reg_w_ixbuf() 382 tmpbuf, len * 2, 500); in reg_w_ixbuf() [all …]
|
D | pac7311.c | 548 unsigned char tmpbuf[4]; in pac_start_frame() local 553 tmpbuf[0] = lines >> 8; in pac_start_frame() 554 tmpbuf[1] = lines & 0xff; in pac_start_frame() 555 tmpbuf[2] = samples_per_line >> 8; in pac_start_frame() 556 tmpbuf[3] = samples_per_line & 0xff; in pac_start_frame() 559 tmpbuf, sizeof(tmpbuf)); in pac_start_frame()
|
/drivers/target/iscsi/ |
D | iscsi_target_parameters.c | 1344 char tmpbuf[11]; in iscsi_enforce_integrity_rules() local 1345 memset(tmpbuf, 0, sizeof(tmpbuf)); in iscsi_enforce_integrity_rules() 1346 sprintf(tmpbuf, "%u", MaxBurstLength); in iscsi_enforce_integrity_rules() 1347 if (iscsi_update_param_value(param, tmpbuf)) in iscsi_enforce_integrity_rules() 1366 char *tmpbuf, *start = NULL, *end = NULL; in iscsi_decode_text_input() local 1368 tmpbuf = kzalloc(length + 1, GFP_KERNEL); in iscsi_decode_text_input() 1369 if (!tmpbuf) { in iscsi_decode_text_input() 1374 memcpy(tmpbuf, textbuf, length); in iscsi_decode_text_input() 1375 tmpbuf[length] = '\0'; in iscsi_decode_text_input() 1376 start = tmpbuf; in iscsi_decode_text_input() [all …]
|
D | iscsi_target_nego.c | 1058 char *tmpbuf, *start = NULL, *end = NULL, *key, *value; in iscsi_target_locate_portal() local 1075 tmpbuf = kzalloc(payload_length + 1, GFP_KERNEL); in iscsi_target_locate_portal() 1076 if (!tmpbuf) { in iscsi_target_locate_portal() 1081 memcpy(tmpbuf, login->req_buf, payload_length); in iscsi_target_locate_portal() 1082 tmpbuf[payload_length] = '\0'; in iscsi_target_locate_portal() 1083 start = tmpbuf; in iscsi_target_locate_portal() 1283 kfree(tmpbuf); in iscsi_target_locate_portal()
|
/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() 616 if (copy_from_user(tmpbuf, in qib_diagpkt_write() 647 qib_pio_copy(piobuf + 2, tmpbuf, plen - 1); in qib_diagpkt_write() 649 __raw_writel(tmpbuf[plen - 1], piobuf + plen + 1); in qib_diagpkt_write() 651 qib_pio_copy(piobuf + 2, tmpbuf, plen); in qib_diagpkt_write() 672 vfree(tmpbuf); in qib_diagpkt_write()
|
/drivers/gpu/drm/i915/ |
D | intel_pipe_crc.c | 844 char *tmpbuf; in display_crc_ctl_write() local 856 tmpbuf = memdup_user_nul(ubuf, len); in display_crc_ctl_write() 857 if (IS_ERR(tmpbuf)) in display_crc_ctl_write() 858 return PTR_ERR(tmpbuf); in display_crc_ctl_write() 860 ret = display_crc_ctl_parse(dev_priv, tmpbuf, len); in display_crc_ctl_write() 862 kfree(tmpbuf); in display_crc_ctl_write()
|
/drivers/media/radio/wl128x/ |
D | fmdrv_common.c | 711 u8 *rds_data, meta_data, tmpbuf[FM_RDS_BLK_SIZE]; in fm_irq_handle_rdsdata_getcmd_resp() local 792 tmpbuf[2] = blk_idx; /* Offset name */ in fm_irq_handle_rdsdata_getcmd_resp() 793 tmpbuf[2] |= blk_idx << 3; /* Received offset */ in fm_irq_handle_rdsdata_getcmd_resp() 796 tmpbuf[0] = rds_data[0]; in fm_irq_handle_rdsdata_getcmd_resp() 797 tmpbuf[1] = rds_data[1]; in fm_irq_handle_rdsdata_getcmd_resp() 799 memcpy(&rds->buff[rds->wr_idx], &tmpbuf, FM_RDS_BLK_SIZE); in fm_irq_handle_rdsdata_getcmd_resp() 1069 u8 tmpbuf[FM_RDS_BLK_SIZE]; in fmc_transfer_rds_from_internal_buff() local 1095 memcpy(tmpbuf, &fmdev->rx.rds.buff[fmdev->rx.rds.rd_idx], in fmc_transfer_rds_from_internal_buff() 1103 if (copy_to_user(buf, tmpbuf, FM_RDS_BLK_SIZE)) in fmc_transfer_rds_from_internal_buff()
|
/drivers/crypto/qce/ |
D | sha.c | 268 memcpy(rctx->tmpbuf, rctx->buf, rctx->buflen); in qce_ahash_update() 299 sg_set_buf(rctx->sg, rctx->tmpbuf, rctx->buflen); in qce_ahash_update() 324 memcpy(rctx->tmpbuf, rctx->buf, rctx->buflen); in qce_ahash_final() 325 sg_init_one(rctx->sg, rctx->tmpbuf, rctx->buflen); in qce_ahash_final()
|
D | sha.h | 51 u8 tmpbuf[QCE_SHA_MAX_BLOCKSIZE]; member
|
/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | rtl_btc.h | 42 void rtl_btc_btinfo_notify(struct rtl_priv *rtlpriv, u8 *tmpbuf, u8 length);
|
D | halbtc8192e2ant.h | 178 u8 *tmpbuf, u8 length);
|
D | halbtc8821a1ant.h | 185 u8 *tmpbuf, u8 length);
|
D | halbtc8723b2ant.h | 195 u8 *tmpbuf, u8 length);
|
/drivers/infiniband/hw/i40iw/ |
D | i40iw_puda.c | 1373 struct i40iw_puda_buf *tmpbuf = NULL; in i40iw_ieq_handle_exception() local 1414 tmpbuf = (struct i40iw_puda_buf *)rxlist->next; in i40iw_ieq_handle_exception() 1415 while ((struct list_head *)tmpbuf != rxlist) { in i40iw_ieq_handle_exception() 1416 if ((int)(buf->seqnum - tmpbuf->seqnum) < 0) in i40iw_ieq_handle_exception() 1418 plist = &tmpbuf->list; in i40iw_ieq_handle_exception() 1419 tmpbuf = (struct i40iw_puda_buf *)plist->next; in i40iw_ieq_handle_exception() 1422 list_add_tail(&buf->list, &tmpbuf->list); in i40iw_ieq_handle_exception()
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | usb.c | 732 char *tmpbuf; in brcmf_usb_dl_cmd() local 738 tmpbuf = kmalloc(buflen, GFP_ATOMIC); in brcmf_usb_dl_cmd() 739 if (!tmpbuf) in brcmf_usb_dl_cmd() 754 (void *) tmpbuf, size, in brcmf_usb_dl_cmd() 768 memcpy(buffer, tmpbuf, buflen); in brcmf_usb_dl_cmd() 772 kfree(tmpbuf); in brcmf_usb_dl_cmd()
|
/drivers/staging/rtlwifi/btcoexist/ |
D | rtl_btc.h | 46 void rtl_btc_btinfo_notify(struct rtl_priv *rtlpriv, u8 *tmpbuf, u8 length);
|
/drivers/isdn/hisax/ |
D | config.c | 660 static u_char tmpbuf[HISAX_STATUS_BUFSIZE]; variable 680 p = tmpbuf; in VHiSax_putstatus() 686 len = p - tmpbuf; in VHiSax_putstatus() 687 data = 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()
|