Lines Matching refs:ret
49 int ret = ioctl(fd, req, arg); in ion_ioctl() local
50 if (ret < 0) { in ion_ioctl()
52 ret, strerror(errno)); in ion_ioctl()
55 return ret; in ion_ioctl()
61 int ret; in ion_alloc() local
68 ret = ion_ioctl(fd, ION_IOC_ALLOC, &data); in ion_alloc()
69 if (ret < 0) in ion_alloc()
70 return ret; in ion_alloc()
72 return ret; in ion_alloc()
78 int ret; in ion_alloc_tiler() local
91 ret = ion_ioctl(fd, ION_IOC_CUSTOM, &custom_data); in ion_alloc_tiler()
92 if (ret < 0) in ion_alloc_tiler()
93 return ret; in ion_alloc_tiler()
96 return ret; in ion_alloc_tiler()
113 int ret = ion_ioctl(fd, ION_IOC_MAP, &data); in ion_map() local
114 if (ret < 0) in ion_map()
115 return ret; in ion_map()
126 return ret; in ion_map()
135 int ret = ion_ioctl(fd, ION_IOC_SHARE, &data); in ion_share() local
136 if (ret < 0) in ion_share()
137 return ret; in ion_share()
143 return ret; in ion_share()
151 int ret = ion_ioctl(fd, ION_IOC_IMPORT, &data); in ion_import() local
152 if (ret < 0) in ion_import()
153 return ret; in ion_import()
155 return ret; in ion_import()