Searched refs:new_buf (Results 1 - 20 of 20) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/otus/
H A Dwrap_pkt.c84 zbuf_t *new_buf; local
86 /* new_buf = dev_alloc_skb(2048); */
87 new_buf = dev_alloc_skb(buf->len);
89 skb_reset_tail_pointer(new_buf);
91 skb_put(new_buf, buf->len);
92 memcpy(new_buf->data, buf->data, buf->len);
98 new_buf->dev = dev;
99 new_buf->protocol = eth_type_trans(new_buf, dev);
103 new_buf
[all...]
H A Dwwrap.c266 zbuf_t *new_buf; local
363 /*new_buf = zfwBufAllocate(dev, ZM_MAX_RX_BUFFER_SIZE);*/
364 new_buf = dev_alloc_skb(ZM_MAX_RX_BUFFER_SIZE);
368 new_buf->tail = 0;
369 new_buf->len = 0;
371 new_buf->tail = new_buf->data;
372 new_buf->len = 0;
375 skb_put(new_buf, pkt_len);
378 memcpy(new_buf
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/acpi/acpica/
H A Dexconvrt.c203 u8 *new_buf; local
229 new_buf = return_desc->buffer.pointer;
230 ACPI_MEMCPY(new_buf,
255 new_buf = return_desc->buffer.pointer;
256 ACPI_STRNCPY((char *)new_buf, (char *)obj_desc->string.pointer,
401 u8 *new_buf; local
446 new_buf = return_desc->buffer.pointer;
452 new_buf,
458 new_buf[string_length] = 0;
525 new_buf
[all...]
H A Dexmisc.c166 u8 *new_buf; local
213 new_buf = return_desc->buffer.pointer;
214 ACPI_MEMCPY(new_buf, operand0->buffer.pointer, length0);
215 ACPI_MEMCPY(new_buf + length0, operand1->buffer.pointer, length1);
219 new_buf[new_length - 1] = 0;
220 new_buf[new_length - 2] = ACPI_RESOURCE_NAME_END_TAG | 1;
251 char *new_buf; local
315 new_buf = (char *)return_desc->buffer.pointer;
319 ACPI_MEMCPY(new_buf, &operand0->integer.value,
324 ACPI_MEMCPY(new_buf
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/sfc/
H A Drx.c281 struct efx_rx_buffer *new_buf; local
298 new_buf = efx_rx_buffer(rx_queue, index);
299 new_buf->dma_addr = rx_buf->dma_addr ^ (PAGE_SIZE >> 1);
300 new_buf->skb = NULL;
301 new_buf->page = rx_buf->page;
302 new_buf->data = (void *)
304 new_buf->len = rx_buf->len;
315 struct efx_rx_buffer *new_buf; local
323 new_buf = efx_rx_buffer(rx_queue, index);
325 memcpy(new_buf, rx_bu
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/l2tpd-0.69/
H A Dmisc.h68 extern struct buffer *new_buf (int);
H A Dmisc.c61 struct buffer *new_buf (int size) function
H A Dnetwork.c281 buf = new_buf (MAX_RECV_SIZE);
H A Dcall.c34 struct buffer *tmp = new_buf (MAX_RECV_SIZE);
H A Dcontrol.c97 struct buffer *tmp = new_buf (MAX_RECV_SIZE);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/libaddns/
H A Ddnsmarshall.c200 struct dns_buffer new_buf; local
206 new_buf = *buf;
207 new_buf.offset = len & 0x3f;
208 new_buf.offset <<= 8;
209 new_buf.offset |= low;
211 dns_unmarshall_label(mem_ctx, level+1, &new_buf, plabel);
212 buf->error = new_buf.error;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/seq/
H A Dseq_midi_event.c282 unsigned char *new_buf, *old_buf; local
286 new_buf = malloc(bufsize);
287 if (new_buf == NULL)
290 dev->buf = new_buf;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hppfs/
H A Dhppfs.c216 char *new_buf; local
219 new_buf = kmalloc(PAGE_SIZE, GFP_KERNEL);
220 if (new_buf == NULL) {
227 err = os_read_file(fd, new_buf, cur);
236 if (copy_to_user(buf, new_buf, err)) {
244 kfree(new_buf);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/core/
H A Dmad_rmpp.c419 struct ib_mad_recv_buf *new_buf)
423 while (new_buf && (get_seg_num(new_buf) == rmpp_recv->seg_num + 1)) {
424 rmpp_recv->cur_seg_buf = new_buf;
426 new_buf = get_next_seg(rmpp_list, new_buf);
418 update_seg_num(struct mad_rmpp_recv *rmpp_recv, struct ib_mad_recv_buf *new_buf) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/otus/hal/
H A Dhpusb.c862 zbuf_t *new_buf;
876 new_buf = zfwBufAllocate(dev, zfwBufGetSize(dev, buf)-8+12+4+EXTRA_INFO_LEN);
881 zmw_rx_buf_writeb(dev, new_buf, PLCP_Len+i, data);
884 zfwBufSetSize(dev, new_buf, zfwBufGetSize(dev, buf)-8+12+4+EXTRA_INFO_LEN);
888 /* receive the new_buf */
889 //zfCoreRecv(dev, new_buf);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/
H A Dutils.c666 uint8_t *new_buf = av_realloc(pd->buf, pd->buf_size+pkt->size+AVPROBE_PADDING_SIZE); local
667 if (!new_buf) {
673 pd->buf = new_buf;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libxml/
H A Dparser.c3829 xmlChar *new_buf; local
3831 new_buf = (xmlChar *) xmlRealloc(buf, size * sizeof(xmlChar));
3832 if (new_buf == NULL) {
3837 buf = new_buf;
3959 xmlChar *new_buf; local
3961 new_buf = (xmlChar *) xmlRealloc(buf,
3963 if (new_buf == NULL) {
3969 buf = new_buf;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libxml2-2.7.2/
H A Dparser.c4410 xmlChar *new_buf; local
4412 new_buf = (xmlChar *) xmlRealloc(buf, size * sizeof(xmlChar));
4413 if (new_buf == NULL) {
4418 buf = new_buf;
4546 xmlChar *new_buf; local
4548 new_buf = (xmlChar *) xmlRealloc(buf,
4550 if (new_buf == NULL) {
4556 buf = new_buf;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libxml2-2.7.2/source/
H A Dparser.c4410 xmlChar *new_buf; local
4412 new_buf = (xmlChar *) xmlRealloc(buf, size * sizeof(xmlChar));
4413 if (new_buf == NULL) {
4418 buf = new_buf;
4546 xmlChar *new_buf; local
4548 new_buf = (xmlChar *) xmlRealloc(buf,
4550 if (new_buf == NULL) {
4556 buf = new_buf;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/libxml/
H A Dparser.c3829 xmlChar *new_buf; local
3831 new_buf = (xmlChar *) xmlRealloc(buf, size * sizeof(xmlChar));
3832 if (new_buf == NULL) {
3837 buf = new_buf;
3959 xmlChar *new_buf; local
3961 new_buf = (xmlChar *) xmlRealloc(buf,
3963 if (new_buf == NULL) {
3969 buf = new_buf;

Completed in 448 milliseconds