/linux-4.19.296/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.19.296/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.19.296/fs/quota/ |
D | quota_tree.c | 166 char *tmpbuf = getdqbuf(info->dqi_usable_bs); in remove_free_dqentry() local 172 if (!tmpbuf) in remove_free_dqentry() 175 err = read_blk(info, nextblk, tmpbuf); in remove_free_dqentry() 178 ((struct qt_disk_dqdbheader *)tmpbuf)->dqdh_prev_free = in remove_free_dqentry() 180 err = write_blk(info, nextblk, tmpbuf); in remove_free_dqentry() 185 err = read_blk(info, prevblk, tmpbuf); in remove_free_dqentry() 188 ((struct qt_disk_dqdbheader *)tmpbuf)->dqdh_next_free = in remove_free_dqentry() 190 err = write_blk(info, prevblk, tmpbuf); in remove_free_dqentry() 197 kfree(tmpbuf); in remove_free_dqentry() 205 kfree(tmpbuf); in remove_free_dqentry() [all …]
|
/linux-4.19.296/crypto/ |
D | pcbc.c | 76 u8 tmpbuf[MAX_CIPHER_BLOCKSIZE]; in crypto_pcbc_encrypt_inplace() local 79 memcpy(tmpbuf, src, bsize); in crypto_pcbc_encrypt_inplace() 82 crypto_xor_cpy(iv, tmpbuf, src, bsize); in crypto_pcbc_encrypt_inplace() 144 u8 tmpbuf[MAX_CIPHER_BLOCKSIZE] __aligned(__alignof__(u32)); in crypto_pcbc_decrypt_inplace() local 147 memcpy(tmpbuf, src, bsize); in crypto_pcbc_decrypt_inplace() 150 crypto_xor_cpy(iv, src, tmpbuf, bsize); in crypto_pcbc_decrypt_inplace()
|
/linux-4.19.296/drivers/media/radio/si470x/ |
D | radio-si470x-i2c.c | 257 unsigned char tmpbuf[3]; in si470x_i2c_interrupt() local 309 put_unaligned_le16(rds, &tmpbuf); in si470x_i2c_interrupt() 310 tmpbuf[2] = blocknum; /* offset name */ in si470x_i2c_interrupt() 311 tmpbuf[2] |= blocknum << 3; /* received offset */ in si470x_i2c_interrupt() 313 tmpbuf[2] |= 0x80; /* uncorrectable errors */ in si470x_i2c_interrupt() 315 tmpbuf[2] |= 0x40; /* corrected error(s) */ in si470x_i2c_interrupt() 318 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()
|
/linux-4.19.296/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.19.296/lib/ |
D | dynamic_debug.c | 664 char *tmpbuf; in ddebug_proc_write() local 673 tmpbuf = memdup_user_nul(ubuf, len); in ddebug_proc_write() 674 if (IS_ERR(tmpbuf)) in ddebug_proc_write() 675 return PTR_ERR(tmpbuf); in ddebug_proc_write() 678 ret = ddebug_exec_queries(tmpbuf, NULL); in ddebug_proc_write() 679 kfree(tmpbuf); in ddebug_proc_write()
|
/linux-4.19.296/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()
|
/linux-4.19.296/include/linux/mmc/ |
D | sdio_func.h | 56 u8 *tmpbuf; /* DMA:able scratch buffer */ member
|
/linux-4.19.296/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()
|
D | callc.c | 1418 static char tmpbuf[256]; variable 1423 char *t = tmpbuf; in capi_debug() 1428 HiSax_putstatus(chanp->cs, "Ch", "%d CAPIMSG %s", chanp->chan, tmpbuf); in capi_debug()
|
/linux-4.19.296/drivers/bluetooth/ |
D | btmrvl_sdio.c | 1080 void *tmpbuf = NULL; in btmrvl_sdio_host_to_card() local 1095 tmpbuf = kzalloc(tmpbufsz, GFP_KERNEL); in btmrvl_sdio_host_to_card() 1096 if (!tmpbuf) in btmrvl_sdio_host_to_card() 1098 buf = (u8 *) ALIGN_ADDR(tmpbuf, BTSDIO_DMA_ALIGN); in btmrvl_sdio_host_to_card() 1122 kfree(tmpbuf); in btmrvl_sdio_host_to_card()
|
/linux-4.19.296/fs/afs/ |
D | fsclient.c | 1779 void *tmpbuf; in afs_fs_get_volume_status() local 1783 tmpbuf = kmalloc(AFSOPAQUEMAX, GFP_KERNEL); in afs_fs_get_volume_status() 1784 if (!tmpbuf) in afs_fs_get_volume_status() 1789 kfree(tmpbuf); in afs_fs_get_volume_status() 1796 call->reply[2] = tmpbuf; in afs_fs_get_volume_status()
|
/linux-4.19.296/fs/proc/ |
D | base.c | 1232 char tmpbuf[TMPBUFLEN]; in proc_loginuid_read() local 1236 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in proc_loginuid_read() 1240 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in proc_loginuid_read() 1294 char tmpbuf[TMPBUFLEN]; in proc_sessionid_read() local 1298 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", in proc_sessionid_read() 1301 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); in proc_sessionid_read()
|