Searched refs:pbuf (Results 1 - 25 of 27) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/router/samba/source/python/
H A Dpy_tdbpack.c52 static PyObject *pytdbunpack_item(char, char **pbuf, int *plen, PyObject *);
59 pytdbunpack_string(char **pbuf, int *plen, const char *encoding);
61 static void pack_le_uint32(unsigned long val_long, unsigned char *pbuf);
435 static void pack_le_uint32(unsigned long val_long, unsigned char *pbuf) argument
437 pbuf[0] = val_long & 0xff;
438 pbuf[1] = (val_long >> 8) & 0xff;
439 pbuf[2] = (val_long >> 16) & 0xff;
440 pbuf[3] = (val_long >> 24) & 0xff;
445 unsigned char **pbuf)
447 memcpy(*pbuf, fro
444 pack_bytes(long len, const char *from, unsigned char **pbuf) argument
531 pytdbunpack_uint32(char **pbuf, int *plen) argument
551 pytdbunpack_int16(char **pbuf, int *plen) argument
572 pytdbunpack_string(char **pbuf, int *plen, const char *encoding) argument
595 pytdbunpack_buffer(char **pbuf, int *plen, PyObject *val_list) argument
664 pytdbunpack_item(char ch, char **pbuf, int *plen, PyObject *val_list) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Dcmdedit.c342 char *pbuf; local
349 pbuf = buf;
350 pbuf[1] = 0;
364 pbuf = user_buf;
368 pbuf = hostname_buf;
369 if (*pbuf == 0) {
370 pbuf = xcalloc(256, 1);
371 if (gethostname(pbuf, 255) < 0) {
372 strcpy(pbuf, "?");
374 char *s = strchr(pbuf, '
[all...]
/asus-wl-520gu-7.0.1.45/src/router/u2ec/
H A Dusbsock.c112 unsigned char* pbuf; local
147 pbuf = pirp_saverw->Buffer + UrbLength;
168 purb->UrbControlDescriptorRequest.TransferBuffer = pbuf;
180 (char*)pbuf,
197 pbuf = pirp_saverw->Buffer + UrbLength;
215 purb->UrbControlDescriptorRequest.TransferBuffer = pbuf;
218 bzero(pbuf, size);
223 pbuf, purb->UrbControlDescriptorRequest.TransferBufferLength);
239 bzero(pbuf, size);
244 pbuf, pur
980 unsigned char* pbuf; local
1819 unsigned char* pbuf; local
1851 unsigned char* pbuf; local
1881 char pbuf[256]; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/LPRng/src/common/
H A Dlpd.c384 struct print_buffer pbuf; local
755 pbuf.len = len;
756 pbuf.buf = pReadbuf;
758 res_fread = ioctl(fdPRN,LPREADDATA,&pbuf);
850 pbuf.len = pHdrData->DataLength;
851 pbuf.buf = para_buf;
865 pbuf.len = 4096;
866 pbuf.buf = write_buf;
867 res_fwrite = ioctl(fdPRN,LPWRITEDATA,&pbuf);
880 pbuf
[all...]
H A Dlpd_lisa.c353 struct print_buffer pbuf; local
724 pbuf.len = len;
725 pbuf.buf = pReadbuf;
727 res_fread = ioctl(fdPRN,LPREADDATA,&pbuf);
819 pbuf.len = pHdrData->DataLength;
820 pbuf.buf = para_buf;
834 pbuf.len = 4096;
835 pbuf.buf = write_buf;
836 res_fwrite = ioctl(fdPRN,LPWRITEDATA,&pbuf);
849 pbuf
[all...]
/asus-wl-520gu-7.0.1.45/src/router/shared/bcmcrypto/
H A Ddh.h118 DH *DH_init(unsigned char *pbuf, int plen, int g);
/asus-wl-520gu-7.0.1.45/src/router/shared.asus/bcmcrypto/
H A Ddh.h118 DH *DH_init(unsigned char *pbuf, int plen, int g);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/
H A Dsgiseeq.c168 if(!ib->tx_desc[i].tdma.pbuf) {
175 ib->tx_desc[i].tdma.pbuf = PHYSADDR(buffer);
183 if (!ib->rx_desc[i].rdma.pbuf) {
190 ib->rx_desc[i].rdma.pbuf = PHYSADDR(buffer);
217 i, (&r[i]), r[i].rdma.pbuf, r[i].rdma.cntinfo,
221 i, (&r[i]), r[i].rdma.pbuf, r[i].rdma.cntinfo,
226 i, (&t[i]), t[i].tdma.pbuf, t[i].tdma.cntinfo,
230 i, (&t[i]), t[i].tdma.pbuf, t[i].tdma.cntinfo,
586 buf[i].tdma.pbuf = 0;
598 buf[i].rdma.pbuf
[all...]
H A Deexpress.c883 unsigned short rfd_cmd, rx_next, pbuf, pkt_len; local
892 pbuf = inw(ioaddr + DATAPORT);
894 outw(pbuf, ioaddr + READ_PTR);
903 else if (pbuf!=rx_block+0x16)
906 dev->name, rx_block+0x16, pbuf);
942 outw(pbuf+10, ioaddr+READ_PTR);
H A Dsunlance.c654 unsigned long pbuf = (unsigned long) piobuf; local
657 *p16++ = sbus_readw(pbuf);
659 pbuf += 2;
663 *p32++ = sbus_readl(pbuf);
664 pbuf += 4;
670 *p16++ = sbus_readw(pbuf);
671 pbuf += 2;
676 *p8 = sbus_readb(pbuf);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/
H A Dauermain.c588 char *pbuf; local
687 pbuf = (char *) kmalloc(2, GFP_KERNEL); /* use an allocated buffer because of urb target */
688 if (!pbuf) {
698 pbuf, /* pointer to the receive buffer */
702 cp->maxControlLength = le16_to_cpup(pbuf);
703 kfree(pbuf);
707 kfree(pbuf);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/
H A Dsgiwd93.c97 (*hcp)->desc.pbuf = physaddr;
134 hcp->desc.pbuf = 0;
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dintermezzo_fs.h811 izo_ioctl_pack(struct izo_ioctl_data *data, char **pbuf, int max) argument
818 if (*pbuf && izo_ioctl_packlen(data) > max)
820 if (*pbuf == NULL)
821 *pbuf = malloc(data->ioc_len);
822 if (*pbuf == NULL)
824 overlay = (struct izo_ioctl_data *)*pbuf;
825 memcpy(*pbuf, data, sizeof(*data));
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dintermezzo_fs.h811 izo_ioctl_pack(struct izo_ioctl_data *data, char **pbuf, int max) argument
818 if (*pbuf && izo_ioctl_packlen(data) > max)
820 if (*pbuf == NULL)
821 *pbuf = malloc(data->ioc_len);
822 if (*pbuf == NULL)
824 overlay = (struct izo_ioctl_data *)*pbuf;
825 memcpy(*pbuf, data, sizeof(*data));
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/wan/
H A Dsdla.c652 struct buf_entry *pbuf; local
698 pbuf = (void *)(((unsigned long) dev->mem_start) + (addr & SDLA_ADDR_MASK));
699 sdla_write(dev, pbuf->buf_addr, skb->data, skb->len);
701 pbuf->opp_flag = 1;
744 struct buf_entry *pbuf; local
758 pbuf = NULL;
780 pbuf = (void *) (dev->mem_start + ((pbufi->rse_base + flp->buffer * sizeof(struct buf_entry)) & SDLA_ADDR_MASK));
781 success = pbuf->opp_flag;
787 dlci = pbuf->dlci;
788 len = pbuf
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/message/fusion/
H A Dmptctl.c2452 u8 *pbuf = NULL; local
2506 pbuf = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, &buf_dma);
2507 if (pbuf) {
2510 ManufacturingPage0_t *pdata = (ManufacturingPage0_t *) pbuf;
2514 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, pbuf, buf_dma);
2515 pbuf = NULL;
2671 u8 *pbuf = NULL; local
2713 pbuf = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, &buf_dma);
2714 if (pbuf) {
2717 ppp0 = (FCPortPage0_t *) pbuf;
[all...]
H A Dmptbase.c4140 u8 *pbuf = NULL; local
4185 pbuf = pci_alloc_consistent(ioc->pcidev, header.PageLength * 4, &buf_dma);
4186 if (pbuf) {
4198 SCSIPortPage0_t *pPP0 = (SCSIPortPage0_t *) pbuf;
4224 if (pbuf) {
4225 pci_free_consistent(ioc->pcidev, header.PageLength * 4, pbuf, buf_dma);
4226 pbuf = NULL;
4248 pbuf = pci_alloc_consistent(ioc->pcidev, header.PageLength * 4, &buf_dma);
4249 if (pbuf) {
4257 SCSIPortPage2_t *pPP2 = (SCSIPortPage2_t *) pbuf;
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips/sgi/
H A Dsgihpc.h21 u32 pbuf; /* physical address of data buffer */ member in struct:hpc_dma_desc
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips64/sgi/
H A Dsgihpc.h21 u32 pbuf; /* physical address of data buffer */ member in struct:hpc_dma_desc
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-mips/sgi/
H A Dsgihpc.h21 u32 pbuf; /* physical address of data buffer */ member in struct:hpc_dma_desc
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-mips64/sgi/
H A Dsgihpc.h21 u32 pbuf; /* physical address of data buffer */ member in struct:hpc_dma_desc
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm/sgi/
H A Dsgihpc.h21 u32 pbuf; /* physical address of data buffer */ member in struct:hpc_dma_desc
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm/sgi/
H A Dsgihpc.h21 u32 pbuf; /* physical address of data buffer */ member in struct:hpc_dma_desc
/asus-wl-520gu-7.0.1.45/src/router/samba/source/lib/
H A Dutil_str.c41 char *pbuf; local
63 pbuf = buff;
69 *pbuf++ = *s;
74 *pbuf = 0;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/
H A Dcs46xx.c260 void *pbuf; /* 4K hardware DMA buffer */ member in struct:cs_state::dmabuf
918 cs461x_poke(card, BA1_PBA, virt_to_bus(dmabuf->pbuf));
1276 unsigned long *ptmp = (unsigned long *) dmabuf->pbuf;
1372 /* Use 'pbuf' for S/G page map table. */
1396 SGarray[8] = (virt_to_bus(dmabuf->pbuf) & 0xffff000) | 0x10;
3232 dmabuf->pbuf = (void *)get_free_page(GFP_KERNEL | GFP_DMA);
3233 if(dmabuf->pbuf==NULL)
3303 dmabuf->pbuf = (void *)get_free_page(GFP_KERNEL | GFP_DMA);
3304 if(dmabuf->pbuf==NULL)
3398 free_page((unsigned long)state->dmabuf.pbuf);
[all...]

Completed in 217 milliseconds

12