/kernel/linux/linux-5.10/fs/reiserfs/ |
H A D | dir.c | 72 char *local_buf; in reiserfs_readdir_inode() local 180 local_buf = small_buf; in reiserfs_readdir_inode() 182 local_buf = kmalloc(d_reclen, in reiserfs_readdir_inode() 184 if (!local_buf) { in reiserfs_readdir_inode() 190 kfree(local_buf); in reiserfs_readdir_inode() 197 * temporary buffer (local_buf) because in reiserfs_readdir_inode() 202 memcpy(local_buf, d_name, d_reclen); in reiserfs_readdir_inode() 210 (ctx, local_buf, d_reclen, d_ino, in reiserfs_readdir_inode() 213 if (local_buf != small_buf) { in reiserfs_readdir_inode() 214 kfree(local_buf); in reiserfs_readdir_inode() [all...] |
/kernel/linux/linux-6.6/fs/reiserfs/ |
H A D | dir.c | 72 char *local_buf; in reiserfs_readdir_inode() local 180 local_buf = small_buf; in reiserfs_readdir_inode() 182 local_buf = kmalloc(d_reclen, in reiserfs_readdir_inode() 184 if (!local_buf) { in reiserfs_readdir_inode() 190 kfree(local_buf); in reiserfs_readdir_inode() 197 * temporary buffer (local_buf) because in reiserfs_readdir_inode() 202 memcpy(local_buf, d_name, d_reclen); in reiserfs_readdir_inode() 210 (ctx, local_buf, d_reclen, d_ino, in reiserfs_readdir_inode() 213 if (local_buf != small_buf) { in reiserfs_readdir_inode() 214 kfree(local_buf); in reiserfs_readdir_inode() [all...] |
/kernel/linux/linux-5.10/drivers/s390/block/ |
H A D | dcssblk.c | 567 char *local_buf; in dcssblk_add_store() local 581 local_buf = kmalloc(count + 1, GFP_KERNEL); in dcssblk_add_store() 582 if (local_buf == NULL) { in dcssblk_add_store() 596 local_buf[j-i] = toupper(buf[j]); in dcssblk_add_store() 598 local_buf[j-i] = '\0'; in dcssblk_add_store() 604 rc = dcssblk_load_segment(local_buf, &seg_info); in dcssblk_add_store() 617 strcpy(dev_info->segment_name, local_buf); in dcssblk_add_store() 634 strlcpy(local_buf, buf, i + 1); in dcssblk_add_store() 663 "sectors\n", local_buf, seg_byte_size, seg_byte_size >> 9); in dcssblk_add_store() 673 if (dcssblk_get_segment_by_name(local_buf)) { in dcssblk_add_store() 762 char *local_buf; dcssblk_remove_store() local [all...] |
/kernel/linux/linux-6.6/drivers/s390/block/ |
H A D | dcssblk.c | 552 char *local_buf; in dcssblk_add_store() local 566 local_buf = kmalloc(count + 1, GFP_KERNEL); in dcssblk_add_store() 567 if (local_buf == NULL) { in dcssblk_add_store() 581 local_buf[j-i] = toupper(buf[j]); in dcssblk_add_store() 583 local_buf[j-i] = '\0'; in dcssblk_add_store() 589 rc = dcssblk_load_segment(local_buf, &seg_info); in dcssblk_add_store() 602 strcpy(dev_info->segment_name, local_buf); in dcssblk_add_store() 619 strscpy(local_buf, buf, i + 1); in dcssblk_add_store() 648 "sectors\n", local_buf, seg_byte_size, seg_byte_size >> 9); in dcssblk_add_store() 658 if (dcssblk_get_segment_by_name(local_buf)) { in dcssblk_add_store() 754 char *local_buf; dcssblk_remove_store() local [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | mxl692.c | 216 __be32 *local_buf = NULL; in mxl692_validate_fw_header() local 227 local_buf = (__be32 *)(buffer + 8); in mxl692_validate_fw_header() 228 temp = be32_to_cpu(*local_buf); in mxl692_validate_fw_header() 252 u8 local_buf[MXL_EAGLE_MAX_I2C_PACKET_SIZE] = {}, *plocal_buf = NULL; in mxl692_write_fw_block() local 265 plocal_buf = local_buf; in mxl692_write_fw_block() 279 if (mxl692_i2c_write(dev, local_buf, in mxl692_write_fw_block() 304 u8 local_buf[MXL_EAGLE_MAX_I2C_PACKET_SIZE] = {}, *plocal_buf = NULL; in mxl692_memwrite() local 312 plocal_buf = local_buf; in mxl692_memwrite() 322 convert_endian(sizeof(u32) + total_len, local_buf + 2); in mxl692_memwrite() 324 if (mxl692_i2c_write(dev, local_buf, in mxl692_memwrite() 340 u8 local_buf[MXL_EAGLE_I2C_MHEADER_SIZE] = {}, *plocal_buf = NULL; mxl692_memread() local 383 u8 local_buf[MXL_EAGLE_MAX_I2C_PACKET_SIZE] = {}, *plocal_buf = NULL; mxl692_opwrite() local 417 u8 local_buf[MXL_EAGLE_I2C_PHEADER_SIZE] = {}; mxl692_opread() local [all...] |
/kernel/linux/linux-5.10/arch/s390/pci/ |
H A D | pci_mmio.c | 145 u8 local_buf[64]; in SYSCALL_DEFINE3() local 177 buf = local_buf; in SYSCALL_DEFINE3() 194 if (buf != local_buf) in SYSCALL_DEFINE3() 274 u8 local_buf[64]; in SYSCALL_DEFINE3() local 306 buf = local_buf; in SYSCALL_DEFINE3() 325 if (buf != local_buf) in SYSCALL_DEFINE3()
|
/kernel/linux/linux-6.6/arch/s390/pci/ |
H A D | pci_mmio.c | 121 u8 local_buf[64]; in SYSCALL_DEFINE3() local 155 buf = local_buf; in SYSCALL_DEFINE3() 188 if (buf != local_buf) in SYSCALL_DEFINE3() 263 u8 local_buf[64]; in SYSCALL_DEFINE3() local 297 buf = local_buf; in SYSCALL_DEFINE3() 332 if (buf != local_buf) in SYSCALL_DEFINE3()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | max3420_udc.c | 278 u8 local_buf[MAX3420_EP_MAX_PACKET + 1] = {}; in spi_rd_buf() local 284 local_buf[0] = MAX3420_SPI_CMD_RD(reg); in spi_rd_buf() 285 transfer.tx_buf = &local_buf[0]; in spi_rd_buf() 286 transfer.rx_buf = &local_buf[0]; in spi_rd_buf() 292 memcpy(buf, &local_buf[1], len); in spi_rd_buf() 300 u8 local_buf[MAX3420_EP_MAX_PACKET + 1] = {}; in spi_wr_buf() local 306 local_buf[0] = MAX3420_SPI_CMD_WR(reg); in spi_wr_buf() 307 memcpy(&local_buf[1], buf, len); in spi_wr_buf() 309 transfer.tx_buf = local_buf; in spi_wr_buf()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
H A D | max3420_udc.c | 276 u8 local_buf[MAX3420_EP_MAX_PACKET + 1] = {}; in spi_rd_buf() local 282 local_buf[0] = MAX3420_SPI_CMD_RD(reg); in spi_rd_buf() 283 transfer.tx_buf = &local_buf[0]; in spi_rd_buf() 284 transfer.rx_buf = &local_buf[0]; in spi_rd_buf() 290 memcpy(buf, &local_buf[1], len); in spi_rd_buf() 298 u8 local_buf[MAX3420_EP_MAX_PACKET + 1] = {}; in spi_wr_buf() local 304 local_buf[0] = MAX3420_SPI_CMD_WR(reg); in spi_wr_buf() 305 memcpy(&local_buf[1], buf, len); in spi_wr_buf() 307 transfer.tx_buf = local_buf; in spi_wr_buf()
|
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi.c | 3999 u8 *local_buf; in spi_write_then_read() local 4007 local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx), in spi_write_then_read() 4009 if (!local_buf) in spi_write_then_read() 4012 local_buf = buf; in spi_write_then_read() 4026 memcpy(local_buf, txbuf, n_tx); in spi_write_then_read() 4027 x[0].tx_buf = local_buf; in spi_write_then_read() 4028 x[1].rx_buf = local_buf + n_tx; in spi_write_then_read() 4038 kfree(local_buf); in spi_write_then_read()
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi.c | 4412 u8 *local_buf; in spi_write_then_read() local 4421 local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx), in spi_write_then_read() 4423 if (!local_buf) in spi_write_then_read() 4426 local_buf = buf; in spi_write_then_read() 4440 memcpy(local_buf, txbuf, n_tx); in spi_write_then_read() 4441 x[0].tx_buf = local_buf; in spi_write_then_read() 4442 x[1].rx_buf = local_buf + n_tx; in spi_write_then_read() 4452 kfree(local_buf); in spi_write_then_read()
|