Searched refs:local_buf (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/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() 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() 219 if (local_buf != small_buf) { in reiserfs_readdir_inode() [all …]
|
/openbmc/linux/drivers/s390/block/ |
H A D | dcssblk.c | 552 char *local_buf; in dcssblk_add_store() local 567 if (local_buf == NULL) { in dcssblk_add_store() 583 local_buf[j-i] = '\0'; in dcssblk_add_store() 619 strscpy(local_buf, buf, i + 1); in dcssblk_add_store() 740 kfree(local_buf); in dcssblk_add_store() 754 char *local_buf; in dcssblk_remove_store() local 760 if (local_buf == NULL) { in dcssblk_remove_store() 769 local_buf[i] = '\0'; in dcssblk_remove_store() 780 local_buf); in dcssblk_remove_store() 787 local_buf); in dcssblk_remove_store() [all …]
|
/openbmc/linux/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()
|
/openbmc/linux/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() 265 plocal_buf = local_buf; in mxl692_write_fw_block() 312 plocal_buf = local_buf; in mxl692_memwrite() 324 if (mxl692_i2c_write(dev, local_buf, in mxl692_memwrite() 342 plocal_buf = local_buf; in mxl692_memread() 392 plocal_buf = local_buf; in mxl692_opwrite() 400 if (mxl692_i2c_write(dev, local_buf, in mxl692_opwrite() 419 local_buf[0] = 0xFD; in mxl692_opread() [all …]
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/spi/ |
H A D | spi.c | 4419 u8 *local_buf; in spi_write_then_read() local 4428 local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx), in spi_write_then_read() 4430 if (!local_buf) in spi_write_then_read() 4433 local_buf = buf; in spi_write_then_read() 4447 memcpy(local_buf, txbuf, n_tx); in spi_write_then_read() 4448 x[0].tx_buf = local_buf; in spi_write_then_read() 4449 x[1].rx_buf = local_buf + n_tx; in spi_write_then_read() 4459 kfree(local_buf); in spi_write_then_read()
|