Searched refs:mmapbuf (Results 1 – 2 of 2) sorted by relevance
124 u_char *mmapbuf; /* memory-mapped region pointer */ member219 handlep->mmapbuf = mmap(0, handlep->mmapbuflen, PROT_READ, in usb_mmap()221 return handlep->mmapbuf != MAP_FAILED; in usb_mmap()889 hdr = (pcap_usb_header*) &handlep->mmapbuf[vec[i]]; in usb_read_linux_mmap()934 if (handlep->mmapbuf != NULL) { in usb_cleanup_linux_mmap()935 munmap(handlep->mmapbuf, handlep->mmapbuflen); in usb_cleanup_linux_mmap()936 handlep->mmapbuf = NULL; in usb_cleanup_linux_mmap()
307 u_char *mmapbuf; /* memory-mapped region pointer */ member4159 handlep->mmapbuf = mmap(0, handlep->mmapbuflen,4161 if (handlep->mmapbuf == MAP_FAILED) {4187 void *base = &handlep->mmapbuf[i*req.tp_block_size];4213 if (handlep->mmapbuf) {4215 (void)munmap(handlep->mmapbuf, handlep->mmapbuflen);4216 handlep->mmapbuf = NULL;