| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| H A D | libdrm_macros.h | 33 # define drm_mmap(addr, length, prot, flags, fd, offset) \ 34 mmap64(addr, length, prot, flags, fd, offset) 42 # define drm_mmap(addr, length, prot, flags, fd, offset) \ 43 mmap(addr, length, prot, flags, fd, offset)
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| H A D | libdrm_macros.h | 33 # define drm_mmap(addr, length, prot, flags, fd, offset) \ 34 mmap64(addr, length, prot, flags, fd, offset) 42 # define drm_mmap(addr, length, prot, flags, fd, offset) \ 43 mmap(addr, length, prot, flags, fd, offset)
|
| /xsrc/external/mit/libdrm/dist/ |
| H A D | libdrm_macros.h | 51 static inline void *drm_mmap(void *addr, size_t length, int prot, int flags, argument 60 return mmap64(addr, length, prot, flags, fd, offset); 70 # define drm_mmap(addr, length, prot, flags, fd, offset) \ 71 mmap(addr, length, prot, flags, fd, offset)
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/os/ |
| H A D | os_mman.h | 55 # define os_mmap(addr, length, prot, flags, fd, offset) \ 56 mmap64(addr, length, prot, flags, fd, offset) 63 # define os_mmap(addr, length, prot, flags, fd, offset) \ 64 mmap(addr, length, prot, flags, fd, offset)
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/os/ |
| H A D | os_mman.h | 55 # define os_mmap(addr, length, prot, flags, fd, offset) \ 56 mmap64(addr, length, prot, flags, fd, offset) 63 # define os_mmap(addr, length, prot, flags, fd, offset) \ 64 mmap(addr, length, prot, flags, fd, offset)
|
| /xsrc/external/mit/xorg-server.old/dist/hw/kdrive/linux/ |
| H A D | mouse.c | 228 const KmouseProt *prot; member in struct:_kmouse 235 unsigned long state; /* private per protocol, init to prot->state */ 241 const KmouseProt *prot = km->prot; local in function:mouseValid 245 if ((ev[i] & prot->headerMask) == prot->headerValid) 250 if ((ev[i] & prot->dataMask) != prot->dataValid) 504 km->prot = &imps2Prot; 509 km->prot 614 const KmouseProt *prot = km->prot; local in function:logiValid 757 MouseFirstProtocol(Kmouse * km,char * prot) argument [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/solaris/ |
| H A D | sun_vid.c | 120 int prot; local in function:solMapVidMem 125 prot = PROT_READ; 130 prot = PROT_READ | PROT_WRITE; 141 base = mmap(NULL, Size, prot, MAP_SHARED, fd, (off_t)Base);
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/bus/ |
| H A D | linuxPci.c | 297 int fd, mmapflags, prot; local in function:linuxMapPci 304 prot = ((Flags & VIDMEM_READONLY) == 0); 305 if (((fd = linuxPciOpenFile(dev, prot)) < 0) || 337 prot = PROT_READ; 339 prot = PROT_READ | PROT_WRITE; 341 result = mmap(NULL, Size + Offset, prot, mmapflags, fd, realBase);
|
| /xsrc/external/mit/MesaLib/dist/src/drm-shim/ |
| H A D | drm_shim.h | 85 void *drm_shim_mmap(struct shim_fd *shim_fd, size_t length, int prot, int flags,
|
| H A D | device.c | 375 drm_shim_mmap(struct shim_fd *shim_fd, size_t length, int prot, int flags, argument 383 return mmap(NULL, length, prot, flags, shim_device.mem_fd, bo->mem_addr);
|
| H A D | drm_shim.c | 698 mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset) argument 704 return drm_shim_mmap(shim_fd, length, prot, flags, fd, offset); 706 return real_mmap(addr, length, prot, flags, fd, offset);
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/linux/ |
| H A D | lnx_video.c | 416 int prot; local in function:mapVidMem 451 prot = PROT_READ; 453 prot = PROT_READ | PROT_WRITE; 456 base = mmap((caddr_t)0, Size + alignOff, prot, mapflags, fd, 605 int fd, prot; local in function:mapVidMemSparse 636 prot = PROT_READ; 638 prot = PROT_READ | PROT_WRITE; 646 prot, MAP_SHARED, fd, 660 Size << 5, prot, MAP_SHARED, fd,
|
| /xsrc/external/mit/xf86-input-keyboard/dist/src/ |
| H A D | bsd_kbd.c | 380 KbdProtocolId prot = PROT_UNKNOWN_KBD; local in function:OpenKeyboard 386 prot = protocols[i].id; 391 switch (prot) { 407 if (prot == PROT_WSCONS) 431 if( prot == PROT_WSCONS) {
|
| /xsrc/external/mit/libpciaccess/dist/src/ |
| H A D | linux_sysfs.c | 556 const int prot = ((map->flags & PCI_DEV_MAP_FLAG_WRITABLE) != 0) local in function:pci_device_linux_sysfs_map_range_wc 573 map->memory = mmap(NULL, map->size, prot, MAP_SHARED, fd, offset); 608 const int prot = ((map->flags & PCI_DEV_MAP_FLAG_WRITABLE) != 0) local in function:pci_device_linux_sysfs_map_range 640 map->memory = mmap(NULL, map->size, prot, MAP_SHARED, fd, offset); 674 map->memory = mmap(NULL, map->size, prot, MAP_SHARED, fd, offset); 989 int prot = PROT_READ; local in function:pci_device_linux_sysfs_map_legacy 995 prot |= PROT_WRITE; 1017 *addr = mmap(NULL, size, prot, MAP_SHARED, fd, base);
|
| H A D | x86_pci.c | 252 vm_prot_t prot = VM_PROT_READ; local in function:pci_system_x86_map_dev_mem 262 prot |= VM_PROT_WRITE; 274 err = device_map (devmem, prot, mem_offset, mem_size, &pager, 0); 285 prot, VM_PROT_ALL, VM_INHERIT_SHARE); 292 int prot = PROT_READ; 297 prot |= PROT_WRITE; 304 *dest = mmap(NULL, mem_size, prot, MAP_SHARED, memfd, mem_offset);
|
| H A D | hurd_pci.c | 177 vm_prot_t prot = VM_PROT_READ; local in function:pci_device_hurd_map_range 194 prot |= VM_PROT_WRITE; 223 switch (prot & (VM_PROT_READ|VM_PROT_WRITE)) { 256 0, prot, VM_PROT_ALL, VM_INHERIT_SHARE);
|
| H A D | netbsd_pci.c | 148 int prot, ret = 0; local in function:pci_device_netbsd_map_range 150 prot = PROT_READ; 153 prot |= PROT_WRITE; 154 map->memory = mmap(NULL, (size_t)map->size, prot, MAP_SHARED,
|
| H A D | freebsd_pci.c | 114 const int prot = ((map->flags & PCI_DEV_MAP_FLAG_WRITABLE) != 0) local in function:pci_device_freebsd_map_range 125 map->memory = mmap(NULL, map->size, prot, MAP_SHARED, fd, map->base);
|
| H A D | openbsd_pci.c | 195 int prot = PROT_READ; local in function:pci_device_openbsd_map_range 198 prot |= PROT_WRITE; 200 map->memory = mmap(NULL, map->size, prot, MAP_SHARED, aperturefd,
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/sw/kms-dri/ |
| H A D | kms_dri_sw_winsys.c | 258 int prot, ret; local in function:kms_sw_displaytarget_map 266 prot = (flags == PIPE_TRANSFER_READ) ? PROT_READ : (PROT_READ | PROT_WRITE); 269 void *tmp = mmap(0, kms_sw_dt->size, prot, MAP_SHARED,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/sw/kms-dri/ |
| H A D | kms_dri_sw_winsys.c | 258 int prot, ret; local in function:kms_sw_displaytarget_map 266 prot = (flags == PIPE_MAP_READ) ? PROT_READ : (PROT_READ | PROT_WRITE); 269 void *tmp = mmap(0, kms_sw_dt->size, prot, MAP_SHARED,
|
| /xsrc/external/mit/xedit/dist/lisp/ |
| H A D | lisp.c | 888 entry->prot = 0; 975 if (entry->prot) 2403 object->data.lambda.name->prot = 1; 2404 object->prot = 1; 2411 object->prot = 1; 2415 object->prot = 1; 2419 object->prot = 1; 2424 object->data.complex.real->prot = 1; 2426 object->data.complex.imag->prot = 1; 2430 for (; CONSP(object) && !object->prot; objec [all...] |
| /xsrc/external/mit/xf86-input-mouse/dist/src/ |
| H A D | mouse.c | 3296 MouseProtocolID prot; local in function:createProtoList 3325 for (i = 0; ((prot = protoList[i]) != PROT_UNKNOWN 3333 if (!GetProtocol(prot)) 3335 para = proto[prot]; 3337 AP_DBG(("Protocol: %s ", ProtocolIDToName(prot))); 3405 mPriv->protoList[k++] = prot; 3407 ProtocolIDToName(prot),k-1)); 3684 MouseProtocolID prot; local in function:autoProbeMouse 3688 prot = mPriv->protoList[mPriv->protocolID++]; 3689 if (prot [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/test/ |
| H A D | dri3-test.c | 217 static void *gem_mmap(int fd, uint32_t handle, int size, unsigned prot, int domain) argument 239 ptr = mmap(0, size, prot, MAP_SHARED, fd, mmap_arg.offset); 246 set_domain.write_domain = prot & PROT_WRITE ? set_domain.read_domains : 0;
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/test/ |
| H A D | dri3-test.c | 222 static void *gem_mmap(int fd, uint32_t handle, int size, unsigned prot, int domain) argument 244 ptr = mmap(0, size, prot, MAP_SHARED, fd, mmap_arg.offset); 251 set_domain.write_domain = prot & PROT_WRITE ? set_domain.read_domains : 0;
|