Searched refs:newbuf (Results 1 – 3 of 3) sorted by relevance
516 u8 *newbuf = kmalloc(max_pdu_size, GFP_ATOMIC); in isotp_rcv_ff() local518 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() local969 if (newbuf) { in isotp_sendmsg()970 so->tx.buf = newbuf; in isotp_sendmsg()
732 char *newbuf, *oldbuf; in resize_runtime_buffer() local744 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()
2532 struct qeth_qdio_out_buffer *newbuf; in qeth_alloc_out_buf() local2534 newbuf = kmem_cache_zalloc(qeth_qdio_outbuf_cache, gfp); in qeth_alloc_out_buf()2535 if (!newbuf) in qeth_alloc_out_buf()2538 newbuf->buffer = q->qdio_bufs[bidx]; in qeth_alloc_out_buf()2539 skb_queue_head_init(&newbuf->skb_list); in qeth_alloc_out_buf()2540 lockdep_set_class(&newbuf->skb_list.lock, &qdio_out_skb_queue_key); in qeth_alloc_out_buf()2541 atomic_set(&newbuf->state, QETH_QDIO_BUF_EMPTY); in qeth_alloc_out_buf()2542 q->bufs[bidx] = newbuf; in qeth_alloc_out_buf()