Home
last modified time | relevance | path

Searched refs:newbuf (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/fs/dlm/
Dlowcomms.c657 unsigned char *newbuf; in con_realloc_receive_buf() local
659 newbuf = kmalloc(newlen, GFP_NOFS); in con_realloc_receive_buf()
660 if (!newbuf) in con_realloc_receive_buf()
665 memmove(newbuf, con->rx_buf, con->rx_leftover); in con_realloc_receive_buf()
670 con->rx_buf = newbuf; in con_realloc_receive_buf()
/kernel/linux/linux-5.10/sound/core/
Drawmidi.c682 char *newbuf, *oldbuf; in resize_runtime_buffer() local
689 newbuf = kvzalloc(params->buffer_size, GFP_KERNEL); in resize_runtime_buffer()
690 if (!newbuf) in resize_runtime_buffer()
695 kvfree(newbuf); in resize_runtime_buffer()
699 runtime->buffer = newbuf; in resize_runtime_buffer()
/kernel/linux/linux-5.10/drivers/s390/net/
Dqeth_core_main.c2594 struct qeth_qdio_out_buffer *newbuf; in qeth_init_qdio_out_buf() local
2596 newbuf = kmem_cache_zalloc(qeth_qdio_outbuf_cache, GFP_ATOMIC); in qeth_init_qdio_out_buf()
2597 if (!newbuf) in qeth_init_qdio_out_buf()
2600 newbuf->buffer = q->qdio_bufs[bidx]; in qeth_init_qdio_out_buf()
2601 skb_queue_head_init(&newbuf->skb_list); in qeth_init_qdio_out_buf()
2602 lockdep_set_class(&newbuf->skb_list.lock, &qdio_out_skb_queue_key); in qeth_init_qdio_out_buf()
2603 newbuf->q = q; in qeth_init_qdio_out_buf()
2604 atomic_set(&newbuf->state, QETH_QDIO_BUF_EMPTY); in qeth_init_qdio_out_buf()
2605 q->bufs[bidx] = newbuf; in qeth_init_qdio_out_buf()