Lines Matching refs:mappings
728 * Create iterator to get SID to UID/GID mappings
748 * Iterate through the SID to UID/GID mappings
768 idmap_mappings_res *mappings;
794 mappings = (idmap_mappings_res *)iter->retlist;
795 if (iter->retcode == IDMAP_NEXT && (mappings == NULL ||
796 iter->next >= mappings->mappings.mappings_len)) {
806 (uchar_t **)&mappings, sizeof (*mappings),
812 if (IDMAP_ERROR(mappings->retcode)) {
813 retcode = mappings->retcode;
814 xdr_free(xdr_idmap_mappings_res, (caddr_t)mappings);
815 free(mappings);
819 iter->retcode = mappings->retcode;
820 arg->lastrowid = mappings->lastrowid;
823 if (mappings == NULL || mappings->mappings.mappings_len == 0)
826 if (iter->next >= mappings->mappings.mappings_len) {
831 str = mappings->mappings.mappings_val[iter->next].id1.
842 *rid = mappings->mappings.mappings_val[iter->next].id1.
846 mappings->mappings.mappings_val[iter->next].id1domain);
851 mappings->mappings.mappings_val[iter->next].id1name);
856 mappings->mappings.mappings_val[iter->next].id2name);
862 *pid = mappings->mappings.mappings_val[iter->next].id2.
865 *direction = mappings->mappings.mappings_val[iter->next].
868 *is_user = (mappings->mappings.mappings_val[iter->next].id2
871 *is_wuser = (mappings->mappings.mappings_val[iter->next].id1
876 &mappings->mappings.mappings_val[iter->next].info);
880 if (iter->next == mappings->mappings.mappings_len)
1660 if ((mapping = result.mappings.mappings_val) == NULL) {
1763 if ((mapping = result.mappings.mappings_val) == NULL) {