Lines Matching defs:rid

1235 		    req->id1.idmap_id_u.sid.rid, res->id.idtype);
1265 req->id1.idmap_id_u.sid.rid = wksid->rid;
1351 res->id.idmap_id_u.sid.rid = wksid->rid;
1409 * *rid RID (if rid non-NULL) [2]
1422 idmap_rid_t *rid,
1451 if (rid != NULL)
1452 *rid = wksid->rid;
1546 "sidprefix = %Q AND rid = %u AND w2u = 1 AND "
1551 req->id1.idmap_id_u.sid.rid, curtime);
1741 lookup_cache_sid2name(sqlite *cache, const char *sidprefix, idmap_rid_t rid,
1764 "sidprefix = %Q AND rid = %u AND "
1767 sidprefix, rid, curtime);
1825 idmap_rid_t rid;
1838 req->id1.idmap_id_u.sid.rid, &name, &domain, &type);
1842 req->id1domain, &name, &sidprefix, &rid, &type);
1876 req->id1.idmap_id_u.sid.rid = rid;
2028 &req->id1.idmap_id_u.sid.rid, esidtype,
2048 &req->id1.idmap_id_u.sid.rid,
2078 &res->id.idmap_id_u.sid.rid,
2099 &res->id.idmap_id_u.sid.rid,
2131 &res->id.idmap_id_u.sid.rid,
2158 &res->id.idmap_id_u.sid.rid,
2484 * req->id1..sid.[prefix, rid] =
2680 req->id1.idmap_id_u.sid.rid,
2699 &req->id1.idmap_id_u.sid.rid,
2797 res->id.idmap_id_u.sid.rid =
2822 uint32_t rid;
2832 rid = req->id1.idmap_id_u.sid.rid;
2848 if (rid < LOCALRID_UID_MIN || rid > LOCALRID_UID_MAX)
2850 res->id.idmap_id_u.uid = rid - LOCALRID_UID_MIN;
2853 if (rid < LOCALRID_GID_MIN)
2855 res->id.idmap_id_u.gid = rid - LOCALRID_GID_MIN;
2858 if (rid >= LOCALRID_GID_MIN) {
2859 res->id.idmap_id_u.gid = rid - LOCALRID_GID_MIN;
2861 } else if (rid >= LOCALRID_UID_MIN) {
2862 res->id.idmap_id_u.uid = rid - LOCALRID_UID_MIN;
3281 get_from_sid_history(lookup_state_t *state, const char *prefix, uint32_t rid,
3288 next = gethash(prefix, rid, htsize);
3295 if (sid->rid == rid && strcmp(sid->prefix, prefix) == 0) {
3307 add_to_sid_history(lookup_state_t *state, const char *prefix, uint32_t rid)
3312 hash = next = gethash(prefix, rid, htsize);
3353 req->id1.idmap_id_u.sid.rid, &next_pid)) {
3374 req->id1.idmap_id_u.sid.rid);
3668 "(sidprefix, rid, windomain, canon_winname, pid, unixname, "
3675 res->id.idmap_id_u.sid.prefix, res->id.idmap_id_u.sid.rid,
3706 "(sidprefix, rid, canon_name, domain, type, expiration) "
3708 res->id.idmap_id_u.sid.prefix, res->id.idmap_id_u.sid.rid,
3760 "sidprefix = %Q AND rid = %u AND w2u = 1 AND "
3763 req->id1.idmap_id_u.sid.rid,
3817 "(sidprefix, rid, windomain, canon_winname, pid, unixname, "
3824 req->id1.idmap_id_u.sid.prefix, req->id1.idmap_id_u.sid.rid,
3856 "(sidprefix, rid, canon_name, domain, type, expiration) "
3858 req->id1.idmap_id_u.sid.prefix, req->id1.idmap_id_u.sid.rid,
3901 sql = sqlite_mprintf("SELECT sidprefix, rid, "
3912 sql = sqlite_mprintf("SELECT sidprefix, rid, "
3963 res->id.idmap_id_u.sid.rid =
4080 * *rid RID
4093 idmap_rid_t *rid,
4120 sql = sqlite_mprintf("SELECT sidprefix, rid, type, canon_name "
4167 *rid = strtoul(values[1], &end, 10);
4191 char **sidprefix, idmap_rid_t *rid, idmap_id_type *wintype,
4239 rid, wintype, unixname, NULL, &rc);
4286 * *rid RID
4300 idmap_rid_t *rid,
4315 sidprefix, rid, type);
4325 sidprefix, rid, type);
4346 sidprefix, rid,
4357 NULL, NULL, NULL, canonname, sidprefix, rid, type, NULL);
4515 &res->id.idmap_id_u.sid.rid,
4614 * req->id..sid.[prefix, rid] =