Searched refs:local_buf (Results 1 – 6 of 6) sorted by relevance
/drivers/s390/block/ |
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 strlcpy(local_buf, buf, i + 1); in dcssblk_add_store() 649 "sectors\n", local_buf, seg_byte_size, seg_byte_size >> 9); in dcssblk_add_store() 659 if (dcssblk_get_segment_by_name(local_buf)) { in dcssblk_add_store() [all …]
|
/drivers/misc/mic/scif/ |
D | scif_epd.c | 31 if (qp->local_buf) { in scif_cleanup_ep_qp() 32 scif_unmap_single(qp->local_buf, ep->remote_dev, in scif_cleanup_ep_qp() 34 qp->local_buf = 0; in scif_cleanup_ep_qp()
|
D | scif_nodeqp.c | 115 err = scif_map_single(&qp->local_buf, local_q, scifdev, local_size); in scif_setup_qp_connect() 138 scif_unmap_single(qp->local_buf, scifdev, local_size); in scif_setup_qp_connect() 139 qp->local_buf = 0; in scif_setup_qp_connect() 167 qp->remote_buf = remote_qp->local_buf; in scif_setup_qp_accept() 189 err = scif_map_single(&qp->local_buf, local_q, scifdev, local_size); in scif_setup_qp_accept() 208 scif_unmap_single(qp->local_buf, scifdev, local_size); in scif_setup_qp_accept() 209 qp->local_buf = 0; in scif_setup_qp_accept() 244 tmp_phys = qp->remote_qp->local_buf; in scif_setup_qp_connect_response()
|
D | scif_nodeqp.h | 163 dma_addr_t local_buf; member
|
D | scif_nm.c | 57 scif_unmap_single(qp->local_buf, scifdev, qp->inbound_q.size); in scif_free_qp()
|
/drivers/spi/ |
D | spi.c | 3611 u8 *local_buf; in spi_write_then_read() local 3619 local_buf = kmalloc(max((unsigned)SPI_BUFSIZ, n_tx + n_rx), in spi_write_then_read() 3621 if (!local_buf) in spi_write_then_read() 3624 local_buf = buf; in spi_write_then_read() 3638 memcpy(local_buf, txbuf, n_tx); in spi_write_then_read() 3639 x[0].tx_buf = local_buf; in spi_write_then_read() 3640 x[1].rx_buf = local_buf + n_tx; in spi_write_then_read() 3650 kfree(local_buf); in spi_write_then_read()
|