Lines Matching refs:ret
217 int ret = 0;
222 ret = er;
224 return ret;
231 int ret;
255 ret = afslog_cells(data, cells, idx, uid, homedir);
259 return ret;
270 int ret = -1;
305 ret = 0;
311 return ret;
329 int ret;
331 ret = file_find_cell(data, cell, realm, 1);
332 if (ret == 0)
333 return ret;
346 int ret;
348 ret = (*data->get_cred)(data, user, cell, realm, uid, kt);
350 const char *estr = (*data->get_error)(data, ret);
354 cell ? cell : "", realm, estr ? estr : "unknown", ret);
361 return ret;
373 int ret = -1;
402 ret = _kafs_try_get_cred(data, AUTH_SUPERUSER,
404 if (ret == 0) return 0;
405 ret = _kafs_try_get_cred(data, AUTH_SUPERUSER,
407 if (ret == 0) return 0;
417 ret = _kafs_try_get_cred(data, AUTH_SUPERUSER,
419 if (ret == 0) return 0;
426 ret = _kafs_try_get_cred(data, AUTH_SUPERUSER,
428 if (ret == 0) return 0;
437 ret = _kafs_try_get_cred(data, AUTH_SUPERUSER,
439 if (ret == 0) return 0;
440 ret = _kafs_try_get_cred(data, AUTH_SUPERUSER,
442 if (ret == 0) return 0;
453 ret = _kafs_try_get_cred(data, AUTH_SUPERUSER,
455 if (ret)
456 ret = _kafs_try_get_cred(data, AUTH_SUPERUSER,
459 if (ret == 0) return 0;
462 return ret;