Searched refs:local_buf (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/s390/block/ |
| H A D | dcssblk.c | 562 char *local_buf; in dcssblk_add_store() local 577 local_buf = kmalloc(count + 1, GFP_KERNEL); in dcssblk_add_store() 578 if (local_buf == NULL) { in dcssblk_add_store() 592 local_buf[j-i] = toupper(buf[j]); in dcssblk_add_store() 594 local_buf[j-i] = '\0'; in dcssblk_add_store() 600 rc = dcssblk_load_segment(local_buf, &seg_info); in dcssblk_add_store() 612 strscpy(dev_info->segment_name, local_buf); in dcssblk_add_store() 629 strscpy(local_buf, buf, i + 1); in dcssblk_add_store() 656 "sectors\n", local_buf, seg_byte_size, seg_byte_size >> 9); in dcssblk_add_store() 666 if (dcssblk_get_segment_by_name(local_buf)) { in dcssblk_add_store() [all …]
|
| /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() 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() [all …]
|
| /linux/arch/s390/pci/ |
| H A D | pci_mmio.c | 132 u8 local_buf[64]; in SYSCALL_DEFINE3() local 164 buf = local_buf; in SYSCALL_DEFINE3() 203 if (buf != local_buf) in SYSCALL_DEFINE3() 287 u8 local_buf[64]; in SYSCALL_DEFINE3() local 319 buf = local_buf; in SYSCALL_DEFINE3() 360 if (buf != local_buf) in SYSCALL_DEFINE3()
|
| /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()
|
| /linux/drivers/spi/ |
| H A D | spi.c | 4849 u8 *local_buf; in spi_write_then_read() local 4858 local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx), in spi_write_then_read() 4860 if (!local_buf) in spi_write_then_read() 4863 local_buf = buf; in spi_write_then_read() 4877 memcpy(local_buf, txbuf, n_tx); in spi_write_then_read() 4878 x[0].tx_buf = local_buf; in spi_write_then_read() 4879 x[1].rx_buf = local_buf + n_tx; in spi_write_then_read() 4889 kfree(local_buf); in spi_write_then_read()
|