Lines Matching refs:mappings
723 * Create iterator to get SID to UID/GID mappings
743 * Iterate through the SID to UID/GID mappings
763 idmap_mappings_res *mappings;
789 mappings = (idmap_mappings_res *)iter->retlist;
790 if (iter->retcode == IDMAP_NEXT && (mappings == NULL ||
791 iter->next >= mappings->mappings.mappings_len)) {
801 (uchar_t **)&mappings, sizeof (*mappings),
807 if (IDMAP_ERROR(mappings->retcode)) {
808 retcode = mappings->retcode;
809 xdr_free(xdr_idmap_mappings_res, (caddr_t)mappings);
810 free(mappings);
814 iter->retcode = mappings->retcode;
815 arg->lastrowid = mappings->lastrowid;
818 if (mappings == NULL || mappings->mappings.mappings_len == 0)
821 if (iter->next >= mappings->mappings.mappings_len) {
826 str = mappings->mappings.mappings_val[iter->next].id1.
837 *rid = mappings->mappings.mappings_val[iter->next].id1.
841 mappings->mappings.mappings_val[iter->next].id1domain);
846 mappings->mappings.mappings_val[iter->next].id1name);
851 mappings->mappings.mappings_val[iter->next].id2name);
857 *pid = mappings->mappings.mappings_val[iter->next].id2.
860 *direction = mappings->mappings.mappings_val[iter->next].
863 *is_user = (mappings->mappings.mappings_val[iter->next].id2
866 *is_wuser = (mappings->mappings.mappings_val[iter->next].id1
871 &mappings->mappings.mappings_val[iter->next].info);
875 if (iter->next == mappings->mappings.mappings_len)
1661 if ((mapping = result.mappings.mappings_val) == NULL) {
1768 if ((mapping = result.mappings.mappings_val) == NULL) {