Lines Matching defs:res
106 idmap_get_prop(idmap_prop_type pr, idmap_prop_res *res)
110 (void) memset(res, 0, sizeof (*res));
114 (xdrproc_t)xdr_idmap_prop_res, (caddr_t)res, TIMEOUT);
118 return (res->retcode); /* This might not be IDMAP_SUCCESS! */
125 idmap_prop_res res;
128 rc = idmap_get_prop(pr, &res);
132 dc->port = res.value.idmap_prop_val_u.dsval.port;
133 (void) strlcpy(dc->host, res.value.idmap_prop_val_u.dsval.host,
150 idmap_prop_res res;
153 rc = idmap_get_prop(pr, &res);
157 rc = idmap_strdupnull(str, res.value.idmap_prop_val_u.utf8val);
199 idmap_update_res res;
207 (void) memset(&res, 0, sizeof (res));
211 (xdrproc_t)xdr_idmap_update_res, (caddr_t)&res,
216 retcode = udthandle->commit_stat = res.retcode;
217 udthandle->error_index = res.error_index;
225 &res.error_rule);
232 &res.conflict_rule);
239 retcode = res.retcode;
248 (void) xdr_free(xdr_idmap_update_res, (caddr_t)&res);
1438 idmap_ids_res res;
1449 (void) memset(&res, 0, sizeof (idmap_ids_res));
1454 (caddr_t)&res,
1459 if (res.retcode != IDMAP_SUCCESS) {
1460 retcode = res.retcode;
1464 if (i >= res.ids.ids_len) {
1468 *gh->retlist[i].stat = res.ids.ids_val[i].retcode;
1469 res_id = &res.ids.ids_val[i].id;
1470 direction = res.ids.ids_val[i].direction;
1479 if (res.ids.ids_val[i].retcode == IDMAP_SUCCESS &&
1502 if (res.ids.ids_val[i].retcode == IDMAP_SUCCESS &&
1544 if (res.ids.ids_val[i].retcode == IDMAP_SUCCESS &&
1570 &res.ids.ids_val[i].info);
1577 (void) xdr_free(xdr_idmap_ids_res, (caddr_t)&res);