Searched refs:mmapbuf (Results 1 – 2 of 2) sorted by relevance
128 u_char *mmapbuf; /* memory-mapped region pointer */ member223 handlep->mmapbuf = mmap(0, handlep->mmapbuflen, PROT_READ, in usb_mmap()225 return handlep->mmapbuf != MAP_FAILED; in usb_mmap()886 hdr = (pcap_usb_header*) &handlep->mmapbuf[vec[i]]; in usb_read_linux_mmap()927 if (handlep->mmapbuf != NULL) { in usb_cleanup_linux_mmap()928 munmap(handlep->mmapbuf, handlep->mmapbuflen); in usb_cleanup_linux_mmap()929 handlep->mmapbuf = NULL; in usb_cleanup_linux_mmap()
302 u_char *mmapbuf; /* memory-mapped region pointer */ member3887 handlep->mmapbuf = mmap(0, handlep->mmapbuflen,3889 if (handlep->mmapbuf == MAP_FAILED) {3915 void *base = &handlep->mmapbuf[i*req.tp_block_size];3940 if (handlep->mmapbuf) {3942 munmap(handlep->mmapbuf, handlep->mmapbuflen);3943 handlep->mmapbuf = NULL;