Lines Matching refs:id1
826 str = mappings->mappings.mappings_val[iter->next].id1. in idmap_iter_next_mapping()
837 *rid = mappings->mappings.mappings_val[iter->next].id1. in idmap_iter_next_mapping()
866 *is_wuser = (mappings->mappings.mappings_val[iter->next].id1 in idmap_iter_next_mapping()
1019 mapping->id1.idtype = IDMAP_SID; in idmap_getext_uidbysid()
1020 mapping->id1.idmap_id_u.sid.rid = rid; in idmap_getext_uidbysid()
1021 if ((mapping->id1.idmap_id_u.sid.prefix = strdup(sidprefix)) == NULL) { in idmap_getext_uidbysid()
1114 mapping->id1.idtype = IDMAP_SID; in idmap_getext_gidbysid()
1115 mapping->id1.idmap_id_u.sid.rid = rid; in idmap_getext_gidbysid()
1116 if ((mapping->id1.idmap_id_u.sid.prefix = strdup(sidprefix)) == NULL) { in idmap_getext_gidbysid()
1214 mapping->id1.idtype = IDMAP_SID; in idmap_getext_pidbysid()
1215 mapping->id1.idmap_id_u.sid.rid = rid; in idmap_getext_pidbysid()
1216 if ((mapping->id1.idmap_id_u.sid.prefix = strdup(sidprefix)) == NULL) { in idmap_getext_pidbysid()
1310 mapping->id1.idtype = IDMAP_UID; in idmap_getext_sidbyuid()
1311 mapping->id1.idmap_id_u.uid = uid; in idmap_getext_sidbyuid()
1401 mapping->id1.idtype = IDMAP_GID; in idmap_getext_sidbygid()
1402 mapping->id1.idmap_id_u.gid = gid; in idmap_getext_sidbygid()
1466 req_id = &gh->batch.idmap_mapping_batch_val[i].id1; in idmap_get_mappings()
1618 request.id1.idtype = IDMAP_SID; in idmap_get_w2u_mapping()
1620 request.id1.idmap_id_u.sid.prefix = (char *)sidprefix; in idmap_get_w2u_mapping()
1621 request.id1.idmap_id_u.sid.rid = *rid; in idmap_get_w2u_mapping()
1631 request.id1.idmap_id_u.sid.prefix = NULL; in idmap_get_w2u_mapping()
1645 request.id1.idtype = IDMAP_USID; in idmap_get_w2u_mapping()
1647 request.id1.idtype = IDMAP_GSID; in idmap_get_w2u_mapping()
1649 request.id1.idtype = IDMAP_SID; in idmap_get_w2u_mapping()
1678 if (mapping->id1.idtype == IDMAP_USID) { in idmap_get_w2u_mapping()
1680 } else if (mapping->id1.idtype == IDMAP_GSID) { in idmap_get_w2u_mapping()
1737 request.id1.idtype = is_user?IDMAP_UID:IDMAP_GID; in idmap_get_u2w_mapping()
1740 request.id1.idmap_id_u.uid = *pid; in idmap_get_u2w_mapping()
1743 request.id1.idmap_id_u.uid = UINT32_MAX; in idmap_get_u2w_mapping()