Searched refs:mappedAddress (Results 1 – 6 of 6) sorted by relevance
/hardware/qcom/display/msm8960/libgralloc/ |
D | mapper.cpp | 61 void *mappedAddress; in gralloc_map() local 66 int err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 68 if(err || mappedAddress == MAP_FAILED) { in gralloc_map() 75 hnd->base = intptr_t(mappedAddress) + hnd->offset; in gralloc_map() 76 mappedAddress = MAP_FAILED; in gralloc_map() 78 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 80 if(err || mappedAddress == MAP_FAILED) { in gralloc_map() 86 hnd->base_metadata = intptr_t(mappedAddress) + hnd->offset_metadata; in gralloc_map()
|
/hardware/qcom/display/msm8974/libgralloc/ |
D | mapper.cpp | 61 void *mappedAddress; in gralloc_map() local 66 int err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 68 if(err || mappedAddress == MAP_FAILED) { in gralloc_map() 75 hnd->base = intptr_t(mappedAddress) + hnd->offset; in gralloc_map() 76 mappedAddress = MAP_FAILED; in gralloc_map() 78 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 80 if(err || mappedAddress == MAP_FAILED) { in gralloc_map() 86 hnd->base_metadata = intptr_t(mappedAddress) + hnd->offset_metadata; in gralloc_map()
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | mapper.cpp | 62 void *mappedAddress; in gralloc_map() local 67 int err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 69 if(err || mappedAddress == MAP_FAILED) { in gralloc_map() 76 hnd->base = uint64_t(mappedAddress) + hnd->offset; in gralloc_map() 77 mappedAddress = MAP_FAILED; in gralloc_map() 79 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 81 if(err || mappedAddress == MAP_FAILED) { in gralloc_map() 87 hnd->base_metadata = uint64_t(mappedAddress) + hnd->offset_metadata; in gralloc_map()
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | mapper.cpp | 62 void *mappedAddress; in gralloc_map() local 67 int err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 69 if(err || mappedAddress == MAP_FAILED) { in gralloc_map() 76 hnd->base = intptr_t(mappedAddress) + hnd->offset; in gralloc_map() 77 mappedAddress = MAP_FAILED; in gralloc_map() 79 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 81 if(err || mappedAddress == MAP_FAILED) { in gralloc_map() 87 hnd->base_metadata = intptr_t(mappedAddress) + hnd->offset_metadata; in gralloc_map()
|
/hardware/libhardware/modules/gralloc/ |
D | mapper.cpp | 53 void* mappedAddress = mmap(0, size, in gralloc_map() local 55 if (mappedAddress == MAP_FAILED) { in gralloc_map() 59 hnd->base = uintptr_t(mappedAddress) + hnd->offset; in gralloc_map()
|
/hardware/samsung_slsi/exynos5/gralloc/ |
D | mapper.cpp | 44 void* mappedAddress = mmap(0, hnd->size, PROT_READ|PROT_WRITE, MAP_SHARED, in gralloc_map() local 46 if (mappedAddress == MAP_FAILED) { in gralloc_map() 50 ALOGV("%s: base %p %d %d %d %d\n", __func__, mappedAddress, hnd->size, in gralloc_map() 52 hnd->base = mappedAddress; in gralloc_map()
|