Lines Matching refs:retlist

650 	namerules = (idmap_namerules_res *)iter->retlist;
672 iter->retlist = NULL;
794 mappings = (idmap_mappings_res *)iter->retlist;
816 iter->retlist = NULL;
927 if (iter->retlist) {
928 xdr_free(_xdr_result, (caddr_t)iter->retlist);
929 free(iter->retlist);
1033 gh->retlist[gh->next].idtype = IDMAP_UID;
1034 gh->retlist[gh->next].uid = uid;
1035 gh->retlist[gh->next].stat = stat;
1036 gh->retlist[gh->next].info = info;
1037 gh->retlist[gh->next].cache_res = flag & IDMAP_REQ_FLG_USE_CACHE;
1128 gh->retlist[gh->next].idtype = IDMAP_GID;
1129 gh->retlist[gh->next].gid = gid;
1130 gh->retlist[gh->next].stat = stat;
1131 gh->retlist[gh->next].info = info;
1132 gh->retlist[gh->next].cache_res = flag & IDMAP_REQ_FLG_USE_CACHE;
1228 gh->retlist[gh->next].idtype = IDMAP_POSIXID;
1229 gh->retlist[gh->next].uid = pid;
1230 gh->retlist[gh->next].gid = pid;
1231 gh->retlist[gh->next].is_user = is_user;
1232 gh->retlist[gh->next].stat = stat;
1233 gh->retlist[gh->next].info = info;
1234 gh->retlist[gh->next].cache_res = flag & IDMAP_REQ_FLG_USE_CACHE;
1320 gh->retlist[gh->next].idtype = IDMAP_SID;
1321 gh->retlist[gh->next].sidprefix = sidprefix;
1322 gh->retlist[gh->next].rid = rid;
1323 gh->retlist[gh->next].stat = stat;
1324 gh->retlist[gh->next].info = info;
1325 gh->retlist[gh->next].cache_res = flag & IDMAP_REQ_FLG_USE_CACHE;
1411 gh->retlist[gh->next].idtype = IDMAP_SID;
1412 gh->retlist[gh->next].sidprefix = sidprefix;
1413 gh->retlist[gh->next].rid = rid;
1414 gh->retlist[gh->next].stat = stat;
1415 gh->retlist[gh->next].info = info;
1416 gh->retlist[gh->next].cache_res = flag & IDMAP_REQ_FLG_USE_CACHE;
1465 *gh->retlist[i].stat = IDMAP_ERR_NORESULT;
1468 *gh->retlist[i].stat = res.ids.ids_val[i].retcode;
1474 if (gh->retlist[i].uid)
1475 *gh->retlist[i].uid = res_id->idmap_id_u.uid;
1476 if (gh->retlist[i].is_user)
1477 *gh->retlist[i].is_user = 1;
1480 gh->retlist[i].cache_res) {
1481 if (gh->retlist[i].is_user != NULL)
1497 if (gh->retlist[i].gid)
1498 *gh->retlist[i].gid = res_id->idmap_id_u.gid;
1499 if (gh->retlist[i].is_user)
1500 *gh->retlist[i].is_user = 0;
1503 gh->retlist[i].cache_res) {
1504 if (gh->retlist[i].is_user != NULL)
1520 if (gh->retlist[i].uid)
1521 *gh->retlist[i].uid = 60001;
1522 if (gh->retlist[i].is_user)
1523 *gh->retlist[i].is_user = -1;
1529 if (gh->retlist[i].rid)
1530 *gh->retlist[i].rid =
1532 if (gh->retlist[i].sidprefix) {
1535 *gh->retlist[i].sidprefix = NULL;
1538 *gh->retlist[i].sidprefix =
1540 if (*gh->retlist[i].sidprefix == NULL)
1541 *gh->retlist[i].stat =
1545 gh->retlist[i].cache_res) {
1565 *gh->retlist[i].stat = IDMAP_ERR_NORESULT;
1568 if (gh->retlist[i].info != NULL) {
1569 idmap_info_mov(gh->retlist[i].info,
1592 if (gh->retlist)
1593 free(gh->retlist);