Searched refs:new_buf (Results 1 – 6 of 6) sorted by relevance
/drivers/staging/otus/ |
D | wrap_pkt.c | 89 zbuf_t *new_buf; in zfLnxRecvEth() local 92 new_buf = dev_alloc_skb(buf->len); in zfLnxRecvEth() 95 new_buf->tail = 0; in zfLnxRecvEth() 96 new_buf->len = 0; in zfLnxRecvEth() 98 new_buf->tail = new_buf->data; in zfLnxRecvEth() 99 new_buf->len = 0; in zfLnxRecvEth() 102 skb_put(new_buf, buf->len); in zfLnxRecvEth() 103 memcpy(new_buf->data, buf->data, buf->len); in zfLnxRecvEth() 110 new_buf->dev = dev; in zfLnxRecvEth() 111 new_buf->protocol = eth_type_trans(new_buf, dev); in zfLnxRecvEth() [all …]
|
D | wwrap.c | 289 zbuf_t *new_buf; in zfLnxUsbDataIn_callback() local 413 new_buf = dev_alloc_skb(ZM_MAX_RX_BUFFER_SIZE); in zfLnxUsbDataIn_callback() 417 new_buf->tail = 0; in zfLnxUsbDataIn_callback() 418 new_buf->len = 0; in zfLnxUsbDataIn_callback() 420 new_buf->tail = new_buf->data; in zfLnxUsbDataIn_callback() 421 new_buf->len = 0; in zfLnxUsbDataIn_callback() 424 skb_put(new_buf, pkt_len); in zfLnxUsbDataIn_callback() 427 memcpy(new_buf->data, &(buf->data[chk_idx+4]), check_len); in zfLnxUsbDataIn_callback() 430 macp->reamin_buf = new_buf; in zfLnxUsbDataIn_callback() 437 new_buf = skb_clone(buf, GFP_ATOMIC); in zfLnxUsbDataIn_callback() [all …]
|
/drivers/acpi/acpica/ |
D | exconvrt.c | 205 u8 *new_buf; in acpi_ex_convert_to_buffer() local 231 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_buffer() 232 ACPI_MEMCPY(new_buf, in acpi_ex_convert_to_buffer() 257 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_buffer() 258 ACPI_STRNCPY((char *)new_buf, (char *)obj_desc->string.pointer, in acpi_ex_convert_to_buffer() 404 u8 *new_buf; in acpi_ex_convert_to_string() local 449 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_string() 455 new_buf, in acpi_ex_convert_to_string() 461 new_buf[string_length] = 0; in acpi_ex_convert_to_string() 528 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_string() [all …]
|
D | exmisc.c | 166 u8 *new_buf; in acpi_ex_concat_template() local 213 new_buf = return_desc->buffer.pointer; in acpi_ex_concat_template() 214 ACPI_MEMCPY(new_buf, operand0->buffer.pointer, length0); in acpi_ex_concat_template() 215 ACPI_MEMCPY(new_buf + length0, operand1->buffer.pointer, length1); in acpi_ex_concat_template() 219 new_buf[new_length - 1] = 0; in acpi_ex_concat_template() 220 new_buf[new_length - 2] = ACPI_RESOURCE_NAME_END_TAG | 1; in acpi_ex_concat_template() 251 char *new_buf; in acpi_ex_do_concatenate() local 315 new_buf = (char *)return_desc->buffer.pointer; in acpi_ex_do_concatenate() 319 ACPI_MEMCPY(new_buf, &operand0->integer.value, in acpi_ex_do_concatenate() 324 ACPI_MEMCPY(new_buf + acpi_gbl_integer_byte_width, in acpi_ex_do_concatenate() [all …]
|
/drivers/infiniband/core/ |
D | mad_rmpp.c | 408 struct ib_mad_recv_buf *new_buf) in update_seg_num() argument 412 while (new_buf && (get_seg_num(new_buf) == rmpp_recv->seg_num + 1)) { in update_seg_num() 413 rmpp_recv->cur_seg_buf = new_buf; in update_seg_num() 415 new_buf = get_next_seg(rmpp_list, new_buf); in update_seg_num()
|
/drivers/staging/otus/hal/ |
D | hpusb.c | 906 zbuf_t *new_buf; in zfiUsbRecvPerPkt() 920 new_buf = zfwBufAllocate(dev, zfwBufGetSize(dev, buf)-8+12+4+EXTRA_INFO_LEN); in zfiUsbRecvPerPkt() 925 zmw_rx_buf_writeb(dev, new_buf, PLCP_Len+i, data); in zfiUsbRecvPerPkt() 928 zfwBufSetSize(dev, new_buf, zfwBufGetSize(dev, buf)-8+12+4+EXTRA_INFO_LEN); in zfiUsbRecvPerPkt()
|