Home
last modified time | relevance | path

Searched refs:mappedAddress (Results 1 – 8 of 8) sorted by relevance

/hardware/libhardware/modules/gralloc/
Dmapper.cpp44 void* mappedAddress = mmap(0, size, in gralloc_map() local
46 if (mappedAddress == MAP_FAILED) { in gralloc_map()
50 hnd->base = uintptr_t(mappedAddress) + hnd->offset; in gralloc_map()
/hardware/qcom/display/msm8084/libgralloc/
Dmapper.cpp62 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/qcom/display/msm8226/libgralloc/
Dmapper.cpp62 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/msm8960/libgralloc/
Dmapper.cpp61 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/msm8909/libgralloc/
Dmapper.cpp62 void *mappedAddress = MAP_FAILED; in gralloc_map_metadata() local
65 mappedAddress = MAP_FAILED; in gralloc_map_metadata()
67 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata()
69 if(ret || mappedAddress == MAP_FAILED) { in gralloc_map_metadata()
74 hnd->base_metadata = uint64_t(mappedAddress); in gralloc_map_metadata()
90 void *mappedAddress = MAP_FAILED; in gralloc_map() local
97 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
99 if(err || mappedAddress == MAP_FAILED) { in gralloc_map()
105 hnd->base = uint64_t(mappedAddress); in gralloc_map()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dmapper.cpp62 void *mappedAddress = MAP_FAILED; in gralloc_map_metadata() local
65 mappedAddress = MAP_FAILED; in gralloc_map_metadata()
67 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata()
69 if(ret || mappedAddress == MAP_FAILED) { in gralloc_map_metadata()
74 hnd->base_metadata = uint64_t(mappedAddress); in gralloc_map_metadata()
90 void *mappedAddress = MAP_FAILED; in gralloc_map() local
97 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
99 if(err || mappedAddress == MAP_FAILED) { in gralloc_map()
105 hnd->base = uint64_t(mappedAddress); in gralloc_map()
/hardware/qcom/display/msm8994/libgralloc/
Dmapper.cpp64 void *mappedAddress = MAP_FAILED; in gralloc_map_metadata() local
67 mappedAddress = MAP_FAILED; in gralloc_map_metadata()
69 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata()
71 if(ret || mappedAddress == MAP_FAILED) { in gralloc_map_metadata()
76 hnd->base_metadata = uint64_t(mappedAddress); in gralloc_map_metadata()
92 void *mappedAddress = MAP_FAILED; in gralloc_map() local
99 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
101 if(err || mappedAddress == MAP_FAILED) { in gralloc_map()
107 hnd->base = uint64_t(mappedAddress); in gralloc_map()
/hardware/qcom/display/msm8996/libgralloc/
Dmapper.cpp63 void *mappedAddress = MAP_FAILED; in gralloc_map_metadata() local
66 mappedAddress = MAP_FAILED; in gralloc_map_metadata()
68 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata()
70 if(ret || mappedAddress == MAP_FAILED) { in gralloc_map_metadata()
75 hnd->base_metadata = uint64_t(mappedAddress); in gralloc_map_metadata()
91 void *mappedAddress = MAP_FAILED; in gralloc_map() local
98 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
100 if(err || mappedAddress == MAP_FAILED) { in gralloc_map()
106 hnd->base = uint64_t(mappedAddress); in gralloc_map()