Lines Matching defs:ret
41 int ret = 0, r;
83 if (errno > 0 && ret == 0)
84 ret = -errno;
85 return ret;
94 if (ret == 0 && errno != ENOENT)
95 ret = -errno;
112 if (ret == 0 && errno != ENOENT)
113 ret = -errno;
120 if (ret == 0 && r != -ENOENT)
121 ret = r;
138 if (ret == 0)
139 ret = r;
159 if (r < 0 && ret == 0)
160 ret = r;
163 if (ret == 0 && errno != ENOENT)
164 ret = -errno;
170 if (ret == 0 && errno != ENOENT)
171 ret = -errno;