Searched refs:local_buf (Results 1 – 4 of 4) 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/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() 204 if (buf != local_buf) in SYSCALL_DEFINE3() 288 u8 local_buf[64]; in SYSCALL_DEFINE3() local 320 buf = local_buf; in SYSCALL_DEFINE3() 361 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 | 5151 u8 *local_buf; in spi_write_then_read() local 5160 local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx), in spi_write_then_read() 5162 if (!local_buf) in spi_write_then_read() 5165 local_buf = buf; in spi_write_then_read() 5179 memcpy(local_buf, txbuf, n_tx); in spi_write_then_read() 5180 x[0].tx_buf = local_buf; in spi_write_then_read() 5181 x[1].rx_buf = local_buf + n_tx; in spi_write_then_read() 5191 kfree(local_buf); in spi_write_then_read()
|