Lines Matching refs:flag

729 idmap_iter_mappings(idmap_iter_t **iter, int flag)
736 arg->flag = flag;
958 * flag - flag
968 int flag, uid_t *uid, idmap_stat *stat)
970 return (idmap_getext_uidbysid(gh, sidprefix, rid, flag, uid,
980 * flag - flag
992 int flag, uid_t *uid, idmap_info *info, idmap_stat *stat)
1003 if ((flag & IDMAP_REQ_FLG_USE_CACHE) &&
1004 !(flag & IDMAP_REQ_FLG_MAPPING_INFO)) {
1018 mapping->flag = flag;
1032 gh->retlist[gh->next].cache_res = flag & IDMAP_REQ_FLG_USE_CACHE;
1052 * flag - flag
1062 int flag, gid_t *gid, idmap_stat *stat)
1064 return (idmap_getext_gidbysid(gh, sidprefix, rid, flag, gid,
1075 * flag - flag
1086 int flag, gid_t *gid, idmap_info *info, idmap_stat *stat)
1098 if ((flag & IDMAP_REQ_FLG_USE_CACHE) &&
1099 !(flag & IDMAP_REQ_FLG_MAPPING_INFO)) {
1113 mapping->flag = flag;
1127 gh->retlist[gh->next].cache_res = flag & IDMAP_REQ_FLG_USE_CACHE;
1147 * flag - flag
1159 int flag, uid_t *pid, int *is_user, idmap_stat *stat)
1161 return (idmap_getext_pidbysid(gh, sidprefix, rid, flag, pid, is_user,
1173 * flag - flag
1186 int flag, uid_t *pid, int *is_user, idmap_info *info, idmap_stat *stat)
1197 if ((flag & IDMAP_REQ_FLG_USE_CACHE) &&
1198 !(flag & IDMAP_REQ_FLG_MAPPING_INFO)) {
1213 mapping->flag = flag;
1229 gh->retlist[gh->next].cache_res = flag & IDMAP_REQ_FLG_USE_CACHE;
1247 * flag - flag
1257 idmap_get_sidbyuid(idmap_get_handle_t *gh, uid_t uid, int flag,
1260 return (idmap_getext_sidbyuid(gh, uid, flag, sidprefix, rid,
1270 * flag - flag
1281 idmap_getext_sidbyuid(idmap_get_handle_t *gh, uid_t uid, int flag,
1294 if ((flag & IDMAP_REQ_FLG_USE_CACHE) &&
1295 !(flag & IDMAP_REQ_FLG_MAPPING_INFO)) {
1309 mapping->flag = flag;
1320 gh->retlist[gh->next].cache_res = flag & IDMAP_REQ_FLG_USE_CACHE;
1338 * flag - flag
1348 idmap_get_sidbygid(idmap_get_handle_t *gh, gid_t gid, int flag,
1351 return (idmap_getext_sidbygid(gh, gid, flag, sidprefix, rid,
1361 * flag - flag
1372 idmap_getext_sidbygid(idmap_get_handle_t *gh, gid_t gid, int flag,
1385 if ((flag & IDMAP_REQ_FLG_USE_CACHE) &&
1386 !(flag & IDMAP_REQ_FLG_MAPPING_INFO)) {
1400 mapping->flag = flag;
1411 gh->retlist[gh->next].cache_res = flag & IDMAP_REQ_FLG_USE_CACHE;
1600 int flag, int *is_user, int *is_wuser,
1617 request.flag = flag;
1713 int flag, int is_user, int *is_wuser,
1736 request.flag = flag;
2107 idmap_getuidbywinname(const char *name, const char *domain, int flag,
2118 if (flag & IDMAP_REQ_FLG_USE_CACHE) {
2124 rc = idmap_get_w2u_mapping(NULL, NULL, name, domain, flag,
2127 if (rc == IDMAP_SUCCESS && (flag & IDMAP_REQ_FLG_USE_CACHE)) {
2142 idmap_getgidbywinname(const char *name, const char *domain, int flag,
2153 if (flag & IDMAP_REQ_FLG_USE_CACHE) {
2160 rc = idmap_get_w2u_mapping(NULL, NULL, name, domain, flag,
2163 if (rc == IDMAP_SUCCESS && (flag & IDMAP_REQ_FLG_USE_CACHE)) {
2178 idmap_getwinnamebypid(uid_t pid, int is_user, int flag, char **name,
2189 if (flag & IDMAP_REQ_FLG_USE_CACHE) {
2203 rc = idmap_get_u2w_mapping(&pid, NULL, flag, is_user, NULL,
2220 if (flag & IDMAP_REQ_FLG_USE_CACHE) {
2252 idmap_getwinnamebyuid(uid_t uid, int flag, char **name, char **domain)
2254 return (idmap_getwinnamebypid(uid, 1, flag, name, domain));
2262 idmap_getwinnamebygid(gid_t gid, int flag, char **name, char **domain)
2264 return (idmap_getwinnamebypid(gid, 0, flag, name, domain));