Lines Matching defs:rc

126 	idmap_stat rc = IDMAP_SUCCESS;
128 rc = idmap_get_prop(pr, &res);
129 if (rc < 0)
130 return (rc);
139 return (rc);
151 idmap_stat rc = IDMAP_SUCCESS;
153 rc = idmap_get_prop(pr, &res);
154 if (rc < 0)
155 return (rc);
157 rc = idmap_strdupnull(str, res.value.idmap_prop_val_u.utf8val);
158 return (rc);
1610 idmap_retcode retcode, rc;
1690 rc = idmap_strdupnull(unixname, mapping->id2name);
1691 if (rc != IDMAP_SUCCESS)
1692 retcode = rc;
1715 idmap_retcode retcode, rc;
1795 rc = idmap_strdupnull(winname, mapping->id2name);
1796 if (rc != IDMAP_SUCCESS)
1797 retcode = rc;
1799 rc = idmap_strdupnull(windomain, mapping->id2domain);
1800 if (rc != IDMAP_SUCCESS)
1801 retcode = rc;
2105 idmap_retcode rc;
2114 rc = idmap_cache_lookup_uidbywinname(name, domain, uid);
2115 if (rc == IDMAP_SUCCESS || rc == IDMAP_ERR_MEMORY)
2116 return (rc);
2119 rc = idmap_get_w2u_mapping(NULL, NULL, name, domain, flag,
2122 if (rc == IDMAP_SUCCESS && (flag & IDMAP_REQ_FLG_USE_CACHE)) {
2129 return (rc);
2140 idmap_retcode rc;
2149 rc = idmap_cache_lookup_gidbywinname(name, domain, gid);
2150 if (rc == IDMAP_SUCCESS || rc == IDMAP_ERR_MEMORY)
2151 return (rc);
2155 rc = idmap_get_w2u_mapping(NULL, NULL, name, domain, flag,
2158 if (rc == IDMAP_SUCCESS && (flag & IDMAP_REQ_FLG_USE_CACHE)) {
2165 return (rc);
2176 idmap_retcode rc;
2186 rc = idmap_cache_lookup_winnamebyuid(&winname,
2189 rc = idmap_cache_lookup_winnamebygid(&winname,
2191 if (rc == IDMAP_SUCCESS)
2193 if (rc == IDMAP_ERR_MEMORY)
2194 return (rc);
2198 rc = idmap_get_u2w_mapping(&pid, NULL, flag, is_user, NULL,
2202 if (rc != IDMAP_SUCCESS)
2203 return (rc);
2235 rc = IDMAP_ERR_MEMORY;
2240 return (rc);