Lines Matching defs:ret
50 int ret = -1;
62 ret = sscanf(line, "VmLck:\t%8lu kB", &lock_size);
63 if (ret <= 0) {
65 line, ret);
142 int ret = 0;
167 ret = mlock(p + start_offset, lock_size);
169 ret = mlock2_(p + start_offset, lock_size,
172 if (ret) {
177 return ret;
219 int ret = 0;
239 ret = mlock(p + start_offset, lock_size);
241 ret = mlock2_(p + start_offset, lock_size,
243 if (ret == 0) {
266 int ret = 0;
276 ret = test_mlock_within_limit(p, MLOCK_WITHIN_LIMIT_SIZE);
277 if (ret)
278 return ret;
288 ret = test_mlock_outof_limit(p, MLOCK_OUTOF_LIMIT_SIZE);
289 if (ret)
290 return ret;