Searched refs:mmapbuf (Results 1 – 2 of 2) sorted by relevance
127 u_char *mmapbuf; /* memory-mapped region pointer */ member303 handlep->mmapbuf = mmap(0, handlep->mmapbuflen, PROT_READ, in usb_mmap()305 if (handlep->mmapbuf == MAP_FAILED) { in usb_mmap()843 bp = &handlep->mmapbuf[vec[i]]; in usb_read_linux_mmap()956 if (handlep->mmapbuf != NULL) { in usb_cleanup_linux_mmap()957 munmap(handlep->mmapbuf, handlep->mmapbuflen); in usb_cleanup_linux_mmap()958 handlep->mmapbuf = NULL; in usb_cleanup_linux_mmap()
199 u_char *mmapbuf; /* memory-mapped region pointer */ member3285 handlep->mmapbuf = mmap(0, handlep->mmapbuflen, in create_ring()3287 if (handlep->mmapbuf == MAP_FAILED) { in create_ring()3310 u_char *base = &handlep->mmapbuf[i*req.tp_block_size]; in create_ring()3340 if (handlep->mmapbuf) { in destroy_ring()3342 (void)munmap(handlep->mmapbuf, handlep->mmapbuflen); in destroy_ring()3343 handlep->mmapbuf = NULL; in destroy_ring()