Home
last modified time | relevance | path

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

/openbmc/linux/net/can/
H A Disotp.c516 u8 *newbuf = kmalloc(max_pdu_size, GFP_ATOMIC); in isotp_rcv_ff() local
518 if (newbuf) { in isotp_rcv_ff()
519 so->rx.buf = newbuf; in isotp_rcv_ff()
967 u8 *newbuf = kmalloc(max_pdu_size, GFP_KERNEL); in isotp_sendmsg() local
969 if (newbuf) { in isotp_sendmsg()
970 so->tx.buf = newbuf; in isotp_sendmsg()
/openbmc/linux/sound/core/
H A Drawmidi.c732 char *newbuf, *oldbuf; in resize_runtime_buffer() local
744 newbuf = kvzalloc(params->buffer_size, GFP_KERNEL); in resize_runtime_buffer()
745 if (!newbuf) in resize_runtime_buffer()
750 kvfree(newbuf); in resize_runtime_buffer()
754 runtime->buffer = newbuf; in resize_runtime_buffer()
/openbmc/linux/drivers/s390/net/
H A Dqeth_core_main.c2569 struct qeth_qdio_out_buffer *newbuf; in qeth_alloc_out_buf() local
2571 newbuf = kmem_cache_zalloc(qeth_qdio_outbuf_cache, gfp); in qeth_alloc_out_buf()
2572 if (!newbuf) in qeth_alloc_out_buf()
2575 newbuf->buffer = q->qdio_bufs[bidx]; in qeth_alloc_out_buf()
2576 skb_queue_head_init(&newbuf->skb_list); in qeth_alloc_out_buf()
2577 lockdep_set_class(&newbuf->skb_list.lock, &qdio_out_skb_queue_key); in qeth_alloc_out_buf()
2578 atomic_set(&newbuf->state, QETH_QDIO_BUF_EMPTY); in qeth_alloc_out_buf()
2579 q->bufs[bidx] = newbuf; in qeth_alloc_out_buf()
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0001-ffmpeg-5.1.4-rpi_24.patch2703 + AVBufferRef * newbuf;
2708 + newbuf = av_buffer_create((uint8_t *)bufref, sizeof(*bufref), v4l2_free_bufref, NULL, 0);
2709 + if (newbuf == NULL)
2713 + return newbuf;