/hardware/qcom/display/msm8996/libgralloc/ |
D | ionalloc.cpp | 54 if(mIonFd == FD_INIT) in open_device() 55 mIonFd = open(ION_DEVICE, O_RDONLY); in open_device() 57 if(mIonFd < 0 ) { in open_device() 60 mIonFd = FD_INIT; in open_device() 68 if(mIonFd >= 0) in close_device() 69 close(mIonFd); in close_device() 70 mIonFd = FD_INIT; in close_device() 91 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 99 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer() 103 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() [all …]
|
D | ionalloc.h | 56 IonAlloc() { mIonFd = FD_INIT; } in IonAlloc() 61 int mIonFd;
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | ionalloc.cpp | 49 if(mIonFd == FD_INIT) in open_device() 50 mIonFd = open(ION_DEVICE, O_RDONLY); in open_device() 52 if(mIonFd < 0 ) { in open_device() 55 mIonFd = FD_INIT; in open_device() 63 if(mIonFd >= 0) in close_device() 64 close(mIonFd); in close_device() 65 mIonFd = FD_INIT; in close_device() 86 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 94 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer() 98 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() [all …]
|
D | ionalloc.h | 56 IonAlloc() { mIonFd = FD_INIT; } in IonAlloc() 61 int mIonFd;
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | ionalloc.cpp | 46 if(mIonFd == FD_INIT) in open_device() 47 mIonFd = open(ION_DEVICE, O_RDONLY); in open_device() 49 if(mIonFd < 0 ) { in open_device() 52 mIonFd = FD_INIT; in open_device() 60 if(mIonFd >= 0) in close_device() 61 close(mIonFd); in close_device() 62 mIonFd = FD_INIT; in close_device() 86 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 94 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer() 98 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() [all …]
|
D | ionalloc.h | 56 IonAlloc() { mIonFd = FD_INIT; } in IonAlloc() 61 int mIonFd;
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | ionalloc.cpp | 46 if(mIonFd == FD_INIT) in open_device() 47 mIonFd = open(ION_DEVICE, O_RDONLY); in open_device() 49 if(mIonFd < 0 ) { in open_device() 52 mIonFd = FD_INIT; in open_device() 60 if(mIonFd >= 0) in close_device() 61 close(mIonFd); in close_device() 62 mIonFd = FD_INIT; in close_device() 86 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 94 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer() 98 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() [all …]
|
D | ionalloc.h | 56 IonAlloc() { mIonFd = FD_INIT; } in IonAlloc() 61 int mIonFd;
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | ionalloc.cpp | 46 if(mIonFd == FD_INIT) in open_device() 47 mIonFd = open(ION_DEVICE, O_RDONLY); in open_device() 49 if(mIonFd < 0 ) { in open_device() 52 mIonFd = FD_INIT; in open_device() 60 if(mIonFd >= 0) in close_device() 61 close(mIonFd); in close_device() 62 mIonFd = FD_INIT; in close_device() 86 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 94 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer() 98 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() [all …]
|
D | ionalloc.h | 56 IonAlloc() { mIonFd = FD_INIT; } in IonAlloc() 61 int mIonFd;
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | ionalloc.cpp | 49 if(mIonFd == FD_INIT) in open_device() 50 mIonFd = open(ION_DEVICE, O_RDONLY); in open_device() 52 if(mIonFd < 0 ) { in open_device() 55 mIonFd = FD_INIT; in open_device() 63 if(mIonFd >= 0) in close_device() 64 close(mIonFd); in close_device() 65 mIonFd = FD_INIT; in close_device() 86 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 94 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer() 98 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() [all …]
|
D | ionalloc.h | 56 IonAlloc() { mIonFd = FD_INIT; } in IonAlloc() 61 int mIonFd;
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | ionalloc.cpp | 50 if(mIonFd == FD_INIT) in open_device() 51 mIonFd = open(ION_DEVICE, O_RDONLY); in open_device() 53 if(mIonFd < 0 ) { in open_device() 56 mIonFd = FD_INIT; in open_device() 64 if(mIonFd >= 0) in close_device() 65 close(mIonFd); in close_device() 66 mIonFd = FD_INIT; in close_device() 97 if(ioctl(mIonFd, ION_IOC_ALLOC, &ionAllocData)) { in alloc_buffer() 105 if(ioctl(mIonFd, ION_IOC_MAP, &fd_data)) { in alloc_buffer() 109 ioctl(mIonFd, ION_IOC_FREE, &handle_data); in alloc_buffer() [all …]
|
D | ionalloc.h | 56 IonAlloc() { mIonFd = FD_INIT; } in IonAlloc() 61 int mIonFd;
|
/hardware/google/av/codec2/vndk/ |
D | C2AllocatorIon.cpp | 166 : mIonFd(ionFd), in Impl() 174 if (mIonFd >= 0) { in Impl() 175 close(mIonFd); in Impl() 176 mIonFd = -1; in Impl() 261 int ret = ion_map(mIonFd, mBuffer, mapSize, prot, in map() 265 mIonFd, mBuffer, mapSize, prot, flags, mapOffset, ret); in map() 329 (void)ion_free(mIonFd, mBuffer); in ~Impl() 332 if (mIonFd >= 0) { in ~Impl() 333 close(mIonFd); in ~Impl() 354 int mIonFd; member in android::C2AllocationIon::Impl [all …]
|
/hardware/google/av/codec2/vndk/include/ |
D | C2AllocatorIon.h | 83 int mIonFd; variable
|