Searched refs:newbuf (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/crypto/ccp/ |
| H A D | sev-dev-tio.c | 498 struct sla_buffer_hdr *oldbuf = sla_buffer_map(*sla), *newbuf; in sla_expand() local 518 newbuf = sla_buffer_map(newsla); in sla_expand() 519 if (!newbuf) { in sla_expand() 524 memcpy(newbuf, oldbuf, oldlen); in sla_expand() 526 sla_buffer_unmap(newsla, newbuf); in sla_expand()
|
| /linux/sound/core/ |
| H A D | rawmidi.c | 715 char *newbuf, *oldbuf; in resize_runtime_buffer() local 727 newbuf = kvzalloc(params->buffer_size, GFP_KERNEL); in resize_runtime_buffer() 728 if (!newbuf) in resize_runtime_buffer() 733 kvfree(newbuf); in resize_runtime_buffer() 737 runtime->buffer = newbuf; in resize_runtime_buffer()
|
| /linux/drivers/s390/crypto/ |
| H A D | vfio_ap_ops.c | 1712 char *newbuf, *rest; in ap_config_store() local 1716 newbuf = kstrndup(buf, AP_CONFIG_STRLEN, GFP_KERNEL); in ap_config_store() 1717 if (!newbuf) in ap_config_store() 1719 rest = newbuf; in ap_config_store() 1783 kfree(newbuf); in ap_config_store()
|
| /linux/drivers/s390/net/ |
| H A D | qeth_core_main.c | 2568 struct qeth_qdio_out_buffer *newbuf; in qeth_alloc_out_buf() local 2570 newbuf = kmem_cache_zalloc(qeth_qdio_outbuf_cache, gfp); in qeth_alloc_out_buf() 2571 if (!newbuf) in qeth_alloc_out_buf() 2574 newbuf->buffer = q->qdio_bufs[bidx]; in qeth_alloc_out_buf() 2575 skb_queue_head_init(&newbuf->skb_list); in qeth_alloc_out_buf() 2576 lockdep_set_class(&newbuf->skb_list.lock, &qdio_out_skb_queue_key); in qeth_alloc_out_buf() 2577 atomic_set(&newbuf->state, QETH_QDIO_BUF_EMPTY); in qeth_alloc_out_buf() 2578 q->bufs[bidx] = newbuf; in qeth_alloc_out_buf()
|