Lines Matching refs:ret
33 int ret = -1; in set_affinity() local
37 return ret; in set_affinity()
51 int ret = -1; in ion_alloc() local
56 return ret; in ion_alloc()
62 ret = ioctl(ion_fd, ION_IOC_ALLOC, &alloc_data); in ion_alloc()
63 if (ret < 0) { in ion_alloc()
65 return ret; in ion_alloc()
110 int ret = -1; in trigger() local
120 return ret; in trigger()
123 ret = ioctl(dev_fd, FASTRPC_IOCTL_GETINFO, &cid); in trigger()
124 if (ret < 0) { in trigger()
131 ret = ioctl(dev_fd, FASTRPC_IOCTL_INIT_ATTRS, &init); in trigger()
132 if (ret < 0) { in trigger()
138 ret = -1; in trigger()
146 ret = pthread_create(unmap_th + i, NULL, unmap_thread, in trigger()
148 if (ret < 0) { in trigger()
157 ret = pthread_create(unmap_th + i, NULL, unmap_thread, in trigger()
159 if (ret < 0) { in trigger()
178 return ret; in trigger()
182 int ret = -1; in main() local
185 ret = trigger(); in main()
186 if (ret < 0) { in main()
189 if (ret) { in main()